Geant4  10.01.p03
__1DSortOut Class Reference

#include <G4KDMap.hh>

+ Collaboration diagram for __1DSortOut:

Classes

struct  sortOutNDim
 

Public Member Functions

 __1DSortOut (size_t dimension)
 
 __1DSortOut (const __1DSortOut &right)
 
int GetDimension ()
 
G4KDNode_BaseGetMidle (int &)
 
std::deque< G4KDNode_Base * >
::iterator 
Insert (G4KDNode_Base *)
 
G4KDNode_BasePopOutMiddle ()
 
void Sort ()
 
void Erase (std::deque< G4KDNode_Base * >::iterator &)
 
size_t Size ()
 

Protected Attributes

std::deque< G4KDNode_Base * > fContainer
 
sortOutNDim fSortOutNDim
 

Detailed Description

Definition at line 57 of file G4KDMap.hh.

Constructor & Destructor Documentation

__1DSortOut::__1DSortOut ( size_t  dimension)

Definition at line 41 of file G4KDMap.cc.

__1DSortOut::__1DSortOut ( const __1DSortOut right)

Definition at line 46 of file G4KDMap.cc.

Member Function Documentation

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

Definition at line 85 of file G4KDMap.cc.

References fContainer.

int __1DSortOut::GetDimension ( )

Definition at line 51 of file G4KDMap.cc.

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

G4KDNode_Base * __1DSortOut::GetMidle ( int &  main_middle)

Definition at line 56 of file G4KDMap.cc.

References fContainer.

Referenced by PopOutMiddle().

+ Here is the caller graph for this function:

_deq_iterator __1DSortOut::Insert ( G4KDNode_Base pos)

Definition at line 63 of file G4KDMap.cc.

References fContainer, and pos.

G4KDNode_Base * __1DSortOut::PopOutMiddle ( )

Definition at line 68 of file G4KDMap.cc.

References fContainer, GetMidle(), and pos.

+ Here is the call graph for this function:

size_t __1DSortOut::Size ( )
inline

Definition at line 69 of file G4KDMap.hh.

References fContainer.

void __1DSortOut::Sort ( )

Definition at line 80 of file G4KDMap.cc.

References fContainer, and fSortOutNDim.

Member Data Documentation

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

Definition at line 85 of file G4KDMap.hh.

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

sortOutNDim __1DSortOut::fSortOutNDim
protected

Definition at line 86 of file G4KDMap.hh.

Referenced by GetDimension(), and Sort().


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