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

#include <G4DataVector.hh>

Inheritance diagram for G4DataVector:
Inheritance graph
[legend]
Collaboration diagram for G4DataVector:
Collaboration graph
[legend]

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

G4bool G4DataVector::contains ( const G4double ) const
inline

Here is the caller graph for this function:

size_t G4DataVector::index ( const G4double )
inline
void G4DataVector::insertAt ( size_t  ,
const G4double  
)
inline

Here is the caller graph for this function:

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.

Here is the call graph for this function:

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: