Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
G4GeoNav Class Reference

#include <G4GeoNav.hh>

Collaboration diagram for G4GeoNav:
Collaboration graph
[legend]

Public Member Functions

 G4GeoNav (G4LogicalVolume *root)
 
 ~G4GeoNav ()
 
G4LogicalVolumeGetLV ()
 
G4int FilterLV (const G4String &aRegExp, std::vector< G4LogicalVolume * > &result, G4bool stopAtFirst=false)
 
G4int PathLV (std::vector< G4LogicalVolume * > &result)
 
G4LogicalVolumeChangeLV (const G4String &aRegExp)
 
G4LogicalVolumeNextLV ()
 
G4int PwdLV (std::vector< G4LogicalVolume * > &)
 
G4int LsLV (std::vector< G4LogicalVolume * > &)
 
const LVTree::node_troot () const
 

Protected Member Functions

void RecursiveFill (LVTree::node_t *)
 
void CountSubtreeNodes (LVTree::node_t *, G4int &)
 
G4int Tokenize (const G4String &, std::vector< G4String > &)
 
void FindLV (regex_t *, LVTree::node_t *, std::vector< G4LogicalVolume * > &, G4bool stopAtFirst=false)
 
void populateLVTree (LVTree::node_t *)
 

Protected Attributes

LVTreetheLVTree
 
LVTree::node_ttheCurLV
 
LVTree::node_ttheRootLV
 
LVTree::node_ttheSubtreeEndLVItem
 

Detailed Description

Definition at line 61 of file G4GeoNav.hh.

Constructor & Destructor Documentation

G4GeoNav::G4GeoNav ( G4LogicalVolume root)

Definition at line 42 of file G4GeoNav.cc.

Here is the call graph for this function:

G4GeoNav::~G4GeoNav ( )

Definition at line 50 of file G4GeoNav.cc.

Member Function Documentation

G4LogicalVolume * G4GeoNav::ChangeLV ( const G4String aRegExp)

Definition at line 194 of file G4GeoNav.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4GeoNav::CountSubtreeNodes ( LVTree::node_t ,
G4int  
)
protected
G4int G4GeoNav::FilterLV ( const G4String aRegExp,
std::vector< G4LogicalVolume * > &  result,
G4bool  stopAtFirst = false 
)

Definition at line 74 of file G4GeoNav.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4GeoNav::FindLV ( regex_t *  aRegex,
LVTree::node_t node,
std::vector< G4LogicalVolume * > &  result,
G4bool  stopAtFirst = false 
)
protected

Definition at line 92 of file G4GeoNav.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4LogicalVolume* G4GeoNav::GetLV ( )
inline

Definition at line 67 of file G4GeoNav.hh.

Here is the call graph for this function:

G4int G4GeoNav::LsLV ( std::vector< G4LogicalVolume * > &  result)

Definition at line 312 of file G4GeoNav.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4LogicalVolume * G4GeoNav::NextLV ( )

Definition at line 54 of file G4GeoNav.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4int G4GeoNav::PathLV ( std::vector< G4LogicalVolume * > &  result)

Definition at line 114 of file G4GeoNav.cc.

Here is the call graph for this function:

void G4GeoNav::populateLVTree ( LVTree::node_t )
protected
G4int G4GeoNav::PwdLV ( std::vector< G4LogicalVolume * > &  result)

Definition at line 278 of file G4GeoNav.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4GeoNav::RecursiveFill ( LVTree::node_t node)
protected

Definition at line 291 of file G4GeoNav.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

const LVTree::node_t& G4GeoNav::root ( ) const
inline

Definition at line 89 of file G4GeoNav.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

G4int G4GeoNav::Tokenize ( const G4String aStr,
std::vector< G4String > &  tokens 
)
protected

Definition at line 130 of file G4GeoNav.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

LVTree::node_t* G4GeoNav::theCurLV
protected

Definition at line 106 of file G4GeoNav.hh.

LVTree* G4GeoNav::theLVTree
protected

Definition at line 105 of file G4GeoNav.hh.

LVTree::node_t* G4GeoNav::theRootLV
protected

Definition at line 107 of file G4GeoNav.hh.

LVTree::node_t* G4GeoNav::theSubtreeEndLVItem
protected

Definition at line 108 of file G4GeoNav.hh.


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