#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) |
Definition at line 44 of file ParFilename.h.
ParFilename::~ParFilename | ( | void | ) | [inline] |
destructor
Definition at line 69 of file ParFilename.h.
ParFilename::ParFilename | ( | ) | [inline] |
default constructor
Definition at line 74 of file ParFilename.h.
ParFilename::ParFilename | ( | int | argc, | |
char ** | argv, | |||
const char * | file = NULL | |||
) | throw ( ParFileException ) |
constructor
Definition at line 48 of file ParFilename.cc.
string ParFilename::get_filename | ( | void | ) | [inline] |
Get the parameter filename
Definition at line 85 of file ParFilename.h.
Referenced by ParFile::get_filename().
void ParFilename::init_ParFilename | ( | int | argc, | |
char ** | argv, | |||
const char * | file = NULL | |||
) | throw ( ParFileException ) |
Initialize the parameter
Definition at line 245 of file ParFilename.cc.
vector< string > ParFilename::parse_string | ( | string & | str, | |
char | delimit | |||
) | [static] |
str | the string to be split. | |
delimiter | the delimit to split the string. |
Definition at line 315 of file ParFilename.cc.
ostream& operator<< | ( | ostream & | os, | |
ParFilename & | a | |||
) | [friend] |
This output operator outputs the contents of the object.
Definition at line 49 of file ParFilename.h.
ostream& operator<< | ( | ostream & | os, | |
ParFilename * | a | |||
) | [friend] |
This output operator outputs the contents of the object.
Definition at line 57 of file ParFilename.h.