GeoModel - GeoModelCore
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
GeoPrintGraphAction Class Reference

This action prints the node tree. It can be configured to print a message on the following types of nodes: More...

#include <GeoPrintGraphAction.h>

Inheritance diagram for GeoPrintGraphAction:
GeoNodeAction

Public Member Functions

 GeoPrintGraphAction (std::ostream &o)
 
virtual void handleTransform (const GeoTransform *xform)
 
virtual void handlePhysVol (const GeoPhysVol *vol)
 
virtual void handleFullPhysVol (const GeoFullPhysVol *vol)
 
virtual void handleNameTag (const GeoNameTag *nameTag)
 
virtual void handleSerialDenominator (const GeoSerialDenominator *sD)
 
virtual void handleSerialTransformer (const GeoSerialTransformer *sT)
 
virtual void handleIdentifierTag (const GeoIdentifierTag *idTag)
 
void setNotification (Type type, bool state)
 
- Public Member Functions inherited from GeoNodeAction
virtual void handleNode (const GeoGraphNode *)
 
GeoNodePath * getPath ()
 
Query< unsigned int > getDepthLimit ()
 
void terminate ()
 
bool shouldTerminate () const
 
void setDepthLimit (unsigned int limit)
 
void clearDepthLimit ()
 
virtual void handleSerialIdentifier (const GeoSerialIdentifier *)
 

Private Types

enum  Type { TRANSFORM, VOLUME, NAMETAG, IDENTIFIERTAG }
 

Private Member Functions

 GeoPrintGraphAction (const GeoPrintGraphAction &right)
 
GeoPrintGraphAction & operator= (const GeoPrintGraphAction &right)
 
void indent ()
 

Private Attributes

const GeoNameTag * m_nameTag
 
const GeoSerialDenominator * m_serialDenominator
 
const GeoIdentifierTag * m_idTag
 
std::vector< const GeoTransform * > m_pendingTransformList
 
bool m_transformState
 
bool m_volumeState
 
bool m_nametagState
 
bool m_serialDenominatorState
 
bool m_serialTransformerState
 
bool m_identifierState
 
std::ostream & m_o
 
bool m_indented
 

Additional Inherited Members

- Public Types inherited from GeoNodeAction
enum  Depth { ALL_ANCESTORS = -1, SELF = 0, SELF_AND_CHILDREN = 1 }
 
- Protected Attributes inherited from GeoNodeAction
bool m_terminate
 

Detailed Description

This action prints the node tree. It can be configured to print a message on the following types of nodes:

Definition at line 23 of file GeoPrintGraphAction.h.


The documentation for this class was generated from the following files: