CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
FWRepresentationInfo Class Reference

#include <Fireworks/Core/interface/FWRepresentationInfo.h>

Public Member Functions

unsigned int bitPackedViews () const
 
 FWRepresentationInfo ()
 
 FWRepresentationInfo (const std::string &iPurpose, unsigned int iProximity, unsigned int iBitPackedViews, bool iRepresentsSubPart, bool iRequiresFF)
 
bool isValid () const
 
unsigned int proximity () const
 measures how 'close' this representation is to the type in question, the large the number the farther away More...
 
const std::string & purpose () const
 
bool representsSubPart () const
 
bool requiresFF () const
 

Private Attributes

unsigned int m_bitPackedViews
 
unsigned int m_proximity
 
std::string m_purpose
 
bool m_representsSubPart
 
bool m_requiresFF
 

Detailed Description

Description: Collection of information about how a particular representation matches a data type

Usage: <usage>

Definition at line 28 of file FWRepresentationInfo.h.

Constructor & Destructor Documentation

◆ FWRepresentationInfo() [1/2]

FWRepresentationInfo::FWRepresentationInfo ( const std::string &  iPurpose,
unsigned int  iProximity,
unsigned int  iBitPackedViews,
bool  iRepresentsSubPart,
bool  iRequiresFF 
)
inline

Definition at line 30 of file FWRepresentationInfo.h.

35  : m_purpose(iPurpose),
36  m_proximity(iProximity),
37  m_bitPackedViews(iBitPackedViews),
38  m_representsSubPart(iRepresentsSubPart),
39  m_requiresFF(iRequiresFF) {}

◆ FWRepresentationInfo() [2/2]

FWRepresentationInfo::FWRepresentationInfo ( )
inline

Definition at line 41 of file FWRepresentationInfo.h.

42  : m_purpose(), m_proximity(0xFFFFFFFF), m_bitPackedViews(0), m_representsSubPart(false), m_requiresFF(false) {}

Member Function Documentation

◆ bitPackedViews()

unsigned int FWRepresentationInfo::bitPackedViews ( ) const
inline

Definition at line 57 of file FWRepresentationInfo.h.

57 { return m_bitPackedViews; }

References m_bitPackedViews.

◆ isValid()

bool FWRepresentationInfo::isValid ( void  ) const
inline

Definition at line 51 of file FWRepresentationInfo.h.

51 { return !m_purpose.empty(); }

References m_purpose.

Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().

◆ proximity()

unsigned int FWRepresentationInfo::proximity ( ) const
inline

measures how 'close' this representation is to the type in question, the large the number the farther away

Definition at line 49 of file FWRepresentationInfo.h.

49 { return m_proximity; }

References m_proximity.

◆ purpose()

const std::string& FWRepresentationInfo::purpose ( ) const
inline

Definition at line 46 of file FWRepresentationInfo.h.

46 { return m_purpose; }

References m_purpose.

◆ representsSubPart()

bool FWRepresentationInfo::representsSubPart ( void  ) const
inline

Definition at line 53 of file FWRepresentationInfo.h.

53 { return m_representsSubPart; }

References m_representsSubPart.

◆ requiresFF()

bool FWRepresentationInfo::requiresFF ( ) const
inline

Definition at line 55 of file FWRepresentationInfo.h.

55 { return m_requiresFF; }

References m_requiresFF.

Member Data Documentation

◆ m_bitPackedViews

unsigned int FWRepresentationInfo::m_bitPackedViews
private

Definition at line 71 of file FWRepresentationInfo.h.

Referenced by bitPackedViews().

◆ m_proximity

unsigned int FWRepresentationInfo::m_proximity
private

Definition at line 70 of file FWRepresentationInfo.h.

Referenced by proximity().

◆ m_purpose

std::string FWRepresentationInfo::m_purpose
private

Definition at line 69 of file FWRepresentationInfo.h.

Referenced by isValid(), and purpose().

◆ m_representsSubPart

bool FWRepresentationInfo::m_representsSubPart
private

Definition at line 73 of file FWRepresentationInfo.h.

Referenced by representsSubPart().

◆ m_requiresFF

bool FWRepresentationInfo::m_requiresFF
private

Definition at line 74 of file FWRepresentationInfo.h.

Referenced by requiresFF().

FWRepresentationInfo::m_purpose
std::string m_purpose
Definition: FWRepresentationInfo.h:69
FWRepresentationInfo::m_proximity
unsigned int m_proximity
Definition: FWRepresentationInfo.h:70
FWRepresentationInfo::m_representsSubPart
bool m_representsSubPart
Definition: FWRepresentationInfo.h:73
FWRepresentationInfo::m_bitPackedViews
unsigned int m_bitPackedViews
Definition: FWRepresentationInfo.h:71
FWRepresentationInfo::m_requiresFF
bool m_requiresFF
Definition: FWRepresentationInfo.h:74