CMS 3D CMS Logo

Public Member Functions | Public Attributes

FWGeometryTableManager::NodeInfo Struct Reference

#include <FWGeometryTableManager.h>

List of all members.

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]

Definition at line 63 of file FWGeometryTableManager.h.


Member Function Documentation

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

Definition at line 46 of file FWGeometryTableManager.cc.

References m_node.

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

Definition at line 51 of file FWGeometryTableManager.cc.

References x.

{
   std::string x(m_level*3 , ' ');
   x += m_node->GetName();
   return x.c_str();
}
void FWGeometryTableManager::NodeInfo::resetBit ( UChar_t  f) [inline]

Definition at line 77 of file FWGeometryTableManager.h.

References m_flags.

Referenced by setBitVal(), and switchBit().

{ m_flags &= ~f; }
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().

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

Member Data Documentation

Definition at line 71 of file FWGeometryTableManager.h.

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