Geant4  10.00.p02
__1DSortOut Class Reference

#include <G4KDMap.hh>

+ Collaboration diagram for __1DSortOut:

Classes

struct  sortOutNDim
 

Public Member Functions

 __1DSortOut (int dimension)
 
int GetDimension ()
 
G4KDNodeGetMidle (int &G4KDNode_deque)
 
std::deque< G4KDNode * >::iterator Insert (G4KDNode *)
 
G4KDNodePopOutMiddle ()
 
void Sort ()
 
void Erase (std::deque< G4KDNode * >::iterator &)
 

Protected Attributes

std::deque< G4KDNode * > fContainer
 
sortOutNDim fSortOutNDim
 

Detailed Description

Definition at line 38 of file G4KDMap.hh.

Constructor & Destructor Documentation

__1DSortOut::__1DSortOut ( int  dimension)

Definition at line 34 of file G4KDMap.cc.

Member Function Documentation

void __1DSortOut::Erase ( std::deque< G4KDNode * >::iterator &  deq_pos)

Definition at line 68 of file G4KDMap.cc.

References fContainer.

int __1DSortOut::GetDimension ( )

Definition at line 37 of file G4KDMap.cc.

References __1DSortOut::sortOutNDim::fDimension, and fSortOutNDim.

G4KDNode * __1DSortOut::GetMidle ( int &  G4KDNode_deque)

Definition at line 42 of file G4KDMap.cc.

References fContainer.

Referenced by PopOutMiddle().

+ Here is the caller graph for this function:

_deq_iterator __1DSortOut::Insert ( G4KDNode pos)

Definition at line 49 of file G4KDMap.cc.

References fContainer, and pos.

G4KDNode * __1DSortOut::PopOutMiddle ( )

Definition at line 54 of file G4KDMap.cc.

References fContainer, GetMidle(), and pos.

+ Here is the call graph for this function:

void __1DSortOut::Sort ( )

Definition at line 63 of file G4KDMap.cc.

References fContainer, and fSortOutNDim.

Member Data Documentation

std::deque<G4KDNode*> __1DSortOut::fContainer
protected

Definition at line 69 of file G4KDMap.hh.

Referenced by Erase(), GetMidle(), Insert(), PopOutMiddle(), and Sort().

sortOutNDim __1DSortOut::fSortOutNDim
protected

Definition at line 70 of file G4KDMap.hh.

Referenced by GetDimension(), and Sort().


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