Geant4  10.01.p02
G4DataVector Class Reference

#include <G4DataVector.hh>

+ Inheritance diagram for G4DataVector:
+ Collaboration diagram for G4DataVector:

Public Types

enum  { T_G4DataVector = 100 }
 

Public Member Functions

 G4DataVector ()
 
 G4DataVector (size_t cap)
 
 G4DataVector (size_t cap, G4double value)
 
virtual ~G4DataVector ()
 
void insertAt (size_t, const G4double &)
 
size_t index (const G4double &)
 
G4bool contains (const G4double &) const
 
G4bool remove (const G4double &)
 
size_t removeAll (const G4double &)
 
G4bool Store (std::ofstream &fOut, G4bool ascii=false)
 
G4bool Retrieve (std::ifstream &fIn, G4bool ascii=false)
 

Friends

std::ostream & operator<< (std::ostream &, const G4DataVector &)
 

Detailed Description

Definition at line 50 of file G4DataVector.hh.

Member Enumeration Documentation

anonymous enum
Enumerator
T_G4DataVector 

Definition at line 83 of file G4DataVector.hh.

Constructor & Destructor Documentation

G4DataVector::G4DataVector ( )

Definition at line 42 of file G4DataVector.cc.

G4DataVector::G4DataVector ( size_t  cap)
explicit

Definition at line 47 of file G4DataVector.cc.

G4DataVector::G4DataVector ( size_t  cap,
G4double  value 
)

Definition at line 52 of file G4DataVector.cc.

G4DataVector::~G4DataVector ( )
virtual

Definition at line 57 of file G4DataVector.cc.

Member Function Documentation

size_t G4DataVector::index ( const G4double )
inline
void G4DataVector::insertAt ( size_t  ,
const G4double  
)
inline
G4bool G4DataVector::remove ( const G4double )
inline
size_t G4DataVector::removeAll ( const G4double )
inline
G4bool G4DataVector::Retrieve ( std::ifstream &  fIn,
G4bool  ascii = false 
)

Definition at line 86 of file G4DataVector.cc.

References G4cerr, and G4endl.

Referenced by G4OrderedTable::Retrieve().

+ Here is the caller graph for this function:

G4bool G4DataVector::Store ( std::ofstream &  fOut,
G4bool  ascii = false 
)

Definition at line 61 of file G4DataVector.cc.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const G4DataVector pv 
)
friend

Definition at line 137 of file G4DataVector.cc.


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