CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
FWGeometryTableManager::NodeInfo Struct Reference

#include <FWGeometryTableManager.h>

Public Member Functions

const char * name () const
 
const char * nameIndent () const
 
 NodeInfo ()
 
void resetBit (UChar_t f)
 
void setBit (UChar_t f)
 
void setBitVal (UChar_t f, bool x)
 
void switchBit (UChar_t f)
 
bool testBit (UChar_t f) const
 
bool testBitAny (UChar_t f) const
 

Public Attributes

Color_t m_color
 
UChar_t m_flags
 
UChar_t m_level
 
TGeoNode * m_node
 
Int_t m_parent
 

Detailed Description

Definition at line 61 of file FWGeometryTableManager.h.

Constructor & Destructor Documentation

FWGeometryTableManager::NodeInfo::NodeInfo ( )
inline

Member Function Documentation

const char * FWGeometryTableManager::NodeInfo::name ( void  ) const

Definition at line 46 of file FWGeometryTableManager.cc.

References m_node.

Referenced by python.Vispa.Views.PropertyView.Property::valueChanged().

47 {
48  return m_node->GetName();
49 }
const char * FWGeometryTableManager::NodeInfo::nameIndent ( ) const

Definition at line 51 of file FWGeometryTableManager.cc.

References x.

52 {
53  std::string x(m_level*3 , ' ');
54  x += m_node->GetName();
55  return x.c_str();
56 }
Definition: DDAxes.h:10
void FWGeometryTableManager::NodeInfo::resetBit ( UChar_t  f)
inline

Definition at line 77 of file FWGeometryTableManager.h.

References m_flags.

Referenced by setBitVal(), and switchBit().

77 { m_flags &= ~f; }
double f[11][100]
void FWGeometryTableManager::NodeInfo::setBit ( UChar_t  f)
inline
void FWGeometryTableManager::NodeInfo::setBitVal ( UChar_t  f,
bool  x 
)
inline
void FWGeometryTableManager::NodeInfo::switchBit ( UChar_t  f)
inline

Definition at line 83 of file FWGeometryTableManager.h.

References resetBit(), setBit(), and testBit().

83 { testBit(f) ? resetBit(f) : setBit(f); }
double f[11][100]
bool FWGeometryTableManager::NodeInfo::testBit ( UChar_t  f) const
inline
bool FWGeometryTableManager::NodeInfo::testBitAny ( UChar_t  f) const
inline

Member Data Documentation

Color_t FWGeometryTableManager::NodeInfo::m_color
UChar_t FWGeometryTableManager::NodeInfo::m_flags

Definition at line 71 of file FWGeometryTableManager.h.

Referenced by resetBit(), setBit(), testBit(), and testBitAny().

UChar_t FWGeometryTableManager::NodeInfo::m_level
TGeoNode* FWGeometryTableManager::NodeInfo::m_node
Int_t FWGeometryTableManager::NodeInfo::m_parent