Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

MJDatabaseElement Class Reference

#include <MJDatabaseElement.hh>

List of all members.

Public Member Functions

 MJDatabaseElement ()
 MJDatabaseElement (string, string, int, int, string[], double[], string)
 MJDatabaseElement (const MJDatabaseElement &)
 ~MJDatabaseElement ()
string GetName ()
string GetSymbol ()
int GetNoOfIsotopes ()
string GetComment ()
int GetZ ()
vector< string > GetIsoNames ()
vector< string > GetIsoSymbols ()
vector< double > GetIsoAbundance ()
MJDatabaseElementcreateElement (PGresult *)

Private Attributes

string fName
string fSymb
int fZ
int fNoIsotopes
vector< string > fIsoNames
vector< double > fIsoAbundance
vector< string > fIsoSymb
string fComments

Friends

ostream & operator<< (ostream &os, MJDatabaseElement &ele)


Constructor & Destructor Documentation

MJDatabaseElement::MJDatabaseElement  ) 
 

AUTHOR: akbar CONTACT: FIRST SUBMISSION: Fri Apr 9 11:13:42 PDT 2004

REVISION:

mm-dd-yyyy, What is changed, Whoami

Definition at line 53 of file MJDatabaseElement.cc.

MJDatabaseElement::MJDatabaseElement string  ,
string  ,
int  ,
int  ,
string  [],
double  [],
string 
 

Definition at line 57 of file MJDatabaseElement.cc.

References fIsoAbundance, and fIsoNames.

MJDatabaseElement::MJDatabaseElement const MJDatabaseElement  ) 
 

Definition at line 71 of file MJDatabaseElement.cc.

MJDatabaseElement::~MJDatabaseElement  ) 
 

Definition at line 76 of file MJDatabaseElement.cc.


Member Function Documentation

MJDatabaseElement * MJDatabaseElement::createElement PGresult *   ) 
 

Definition at line 80 of file MJDatabaseElement.cc.

References MJDatabaseUtil::c_Float(), MJDatabaseUtil::c_Int(), fIsoAbundance, fIsoNames, fIsoSymb, fName, fNoIsotopes, fSymb, and fZ.

Referenced by MJDatabasePsqlImpl::MJDatabaseElementPsqlImpl().

string MJDatabaseElement::GetComment  )  [inline]
 

Definition at line 92 of file MJDatabaseElement.hh.

vector<double> MJDatabaseElement::GetIsoAbundance  )  [inline]
 

Definition at line 96 of file MJDatabaseElement.hh.

Referenced by MJMaterialElement::CreateFromDatabase().

vector<string> MJDatabaseElement::GetIsoNames  )  [inline]
 

Definition at line 94 of file MJDatabaseElement.hh.

Referenced by MJMaterialElement::CreateFromDatabase().

vector<string> MJDatabaseElement::GetIsoSymbols  )  [inline]
 

Definition at line 95 of file MJDatabaseElement.hh.

string MJDatabaseElement::GetName  )  [inline]
 

Definition at line 89 of file MJDatabaseElement.hh.

Referenced by MJMaterialElement::CreateFromDatabase(), and operator<<().

int MJDatabaseElement::GetNoOfIsotopes  )  [inline]
 

Definition at line 91 of file MJDatabaseElement.hh.

Referenced by MJMaterialElement::CreateFromDatabase().

string MJDatabaseElement::GetSymbol  )  [inline]
 

Definition at line 90 of file MJDatabaseElement.hh.

Referenced by MJMaterialElement::CreateFromDatabase(), and operator<<().

int MJDatabaseElement::GetZ  )  [inline]
 

Definition at line 93 of file MJDatabaseElement.hh.

Referenced by MJMaterialElement::CreateFromDatabase(), and operator<<().


Friends And Related Function Documentation

ostream& operator<< ostream &  os,
MJDatabaseElement ele
[friend]
 

Definition at line 100 of file MJDatabaseElement.cc.


Member Data Documentation

string MJDatabaseElement::fComments [private]
 

Definition at line 114 of file MJDatabaseElement.hh.

vector<double> MJDatabaseElement::fIsoAbundance [private]
 

Definition at line 112 of file MJDatabaseElement.hh.

Referenced by createElement(), MJDatabaseElement(), and operator<<().

vector<string> MJDatabaseElement::fIsoNames [private]
 

Definition at line 111 of file MJDatabaseElement.hh.

Referenced by createElement(), MJDatabaseElement(), and operator<<().

vector<string> MJDatabaseElement::fIsoSymb [private]
 

Definition at line 113 of file MJDatabaseElement.hh.

Referenced by createElement().

string MJDatabaseElement::fName [private]
 

Definition at line 107 of file MJDatabaseElement.hh.

Referenced by createElement().

int MJDatabaseElement::fNoIsotopes [private]
 

Definition at line 110 of file MJDatabaseElement.hh.

Referenced by createElement().

string MJDatabaseElement::fSymb [private]
 

Definition at line 108 of file MJDatabaseElement.hh.

Referenced by createElement().

int MJDatabaseElement::fZ [private]
 

Definition at line 109 of file MJDatabaseElement.hh.

Referenced by createElement().


The documentation for this class was generated from the following files:
Generated on Mon Nov 29 16:58:56 2004 for Majorana Simulation by  doxygen 1.3.9.1