paramxx
1.0.7
|
#include <ParFilename.h>
Public Member Functions | |
~ParFilename (void) | |
ParFilename () | |
ParFilename (int argc, char **argv, const char *file=NULL) throw ( ParFileException ) | |
string | get_filename (void) |
void | init_ParFilename (int argc, char **argv, const char *file=NULL) throw ( ParFileException ) |
void | print (ostream &os) |
Static Public Member Functions | |
static vector< string > | parse_string (string &str, char delimit) |
Friends | |
ostream & | operator<< (ostream &os, ParFilename &a) |
ostream & | operator<< (ostream &os, ParFilename *a) |
Find the parameter file. If PFILE=foo is set at the command line then the file `foo' shall be the file to be opened. PFILE will overide even if a specific file to the function (3rd argument) Parfile is set. The class loops over the PFILES, UPARM environment variables to determine then the .par and extension to locate the parameter file.
|
inline |
destructor
|
inline |
default constructor
ParFilename::ParFilename | ( | int | argc, |
char ** | argv, | ||
const char * | file = NULL |
||
) | |||
throw | ( | ParFileException | |
) |
constructor
|
inline |
Get the parameter filename
void ParFilename::init_ParFilename | ( | int | argc, |
char ** | argv, | ||
const char * | file = NULL |
||
) | |||
throw | ( | ParFileException | |
) |
Initialize the parameter
|
static |
str | the string to be split. |
delimiter | the delimit to split the string. |
Splits the input line on the parameter delimiter.
|
friend |
This output operator outputs the contents of the object.
|
friend |
This output operator outputs the contents of the object.