60 XSDIR(
const char *base_name,
const char *base_version,
const char *xsdir_name =
nullptr,
const char *builder =
"STD");
78 int Find(
const char *search,
string Line);
96 static void ExtractDataLine(
string Line,
int &Z,
int &A,
int &I,
string &BaseName,
string &BaseVersion,
double &T,
97 string &Code,
string &Extension,
string &Builder,
string &xs_filename,
int &DataType);
Header file for XSDIRLine class.
Extract all parameters from an XSDIR line.
Definition XSDIRLine.hxx:43
Handle XSDIR file in order to extract information that could be easily retreived.
Definition XSDIR.hxx:50
bool FindFirstIsotope()
Definition XSDIR.cxx:60
string fBaseName
base name (endfb, jendl, ...)
Definition XSDIR.hxx:124
string fModifiedPath
The modified path (if exists)
Definition XSDIR.hxx:132
int Compare(string Line)
return -1, 0 or 1 if fMyGoodLine<Line, fMyGoodLine==Line, or fMyGoodLine>Line
Definition XSDIR.cxx:501
bool f1stIsotope
true is a first Isotope has been found
Definition XSDIR.hxx:128
string fBuilder
builder of the base (STD, JOY or MOD)
Definition XSDIR.hxx:129
ifstream XSinput
the xsdir file
Definition XSDIR.hxx:126
XSDIRLine * fMyGoodLine
The extracted XSDIRLine.
Definition XSDIR.hxx:130
XSDIRLine * ReadNextIsotope()
Definition XSDIR.cxx:108
void SetXSDirName(const char *xsdir_name)
Definition XSDIR.cxx:87
string fXSdirName
name of the xsdir
Definition XSDIR.hxx:123
int Find(const char *search, string Line)
find "search" in Line
Definition XSDIR.cxx:428
void WriteData()
write information of xsdir in the BaseSummary.dat file
Definition XSDIR.cxx:445
void Close()
Definition XSDIR.hxx:106
string fKeepBaseVersion
Definition XSDIR.hxx:133
void SetDataFile(const char *name="BaseSummary.dat")
Definition XSDIR.hxx:98
void AddNewPathInDirLine(string path)
Definition XSDIR.cxx:594
string fBaseVersion
base version (6.8, 3.3, ...)
Definition XSDIR.hxx:125
string GetDataFile()
Definition XSDIR.hxx:102
string fDataFile
the BaseSummary file
Definition XSDIR.hxx:131
static void ExtractDataLine(string Line, int &Z, int &A, int &I, string &BaseName, string &BaseVersion, double &T, string &Code, string &Extension, string &Builder, string &xs_filename, int &DataType)
Definition XSDIR.cxx:568
void ScanXSDIR()
loops on each isotopes of the xsdir
Definition XSDIR.cxx:436
the namespace of the Standard C++