|
Jpp 19.3.0-rc.3
the software that should make you happy
|
Auxiliary class to handle file name, ROOT directory and object name. More...
#include <JRootObjectID.hh>
Public Member Functions | |
| JRootObjectID () | |
| Default constructor. | |
| JRootObjectID (const std::string &file_name, const std::string &name) | |
| Constructor. | |
| JRootObjectID (const std::string &file_name, const std::string &dir, const std::string &name) | |
| Constructor. | |
| JRootObjectID (const std::string &full_name) | |
| Constructor. | |
| const std::string & | getFilename () const |
| Get file name. | |
| TString | getDirectory () const |
| Get directory. | |
| TString | getObjectName () const |
| Get object name. | |
| TString | getFullFilename () const |
| Get full file name, including path. | |
| TString | getFullObjectName () const |
| Get full object name, including path. | |
| bool | is_valid () const |
| Check validity. | |
| void | clear () |
| Clear. | |
Static Public Attributes | |
| static const char | LABEL_L_BRACKET = '[' |
| left bracket for label | |
| static const char | LABEL_R_BRACKET = ']' |
| right bracket for label | |
| static const char | FILENAME_SEPARATOR = ':' |
| file name separator | |
| static const char | PATHNAME_SEPARATOR = '/' |
| path name separator | |
Protected Attributes | |
| std::string | file_name |
| std::string | directory |
| std::string | name |
Friends | |
| bool | operator== (const JRootObjectID &first, const JRootObjectID &second) |
| Equal operator for object identifiers. | |
| std::istream & | operator>> (std::istream &in, JRootObjectID &object) |
| Read object identifier from input. | |
| std::ostream & | operator<< (std::ostream &out, const JRootObjectID &object) |
| Write object identifier to output. | |
Auxiliary class to handle file name, ROOT directory and object name.
The general syntax is as follows:
<file name>:[<directory/>]<object name>
where <directory> is optional and <object name> may be a regular expression (TRegexp).
Definition at line 36 of file JRootObjectID.hh.
|
inline |
|
inline |
Constructor.
| file_name | file name |
| name | object name |
Definition at line 59 of file JRootObjectID.hh.
|
inline |
|
inline |
Constructor.
| full_name | full object name |
Definition at line 88 of file JRootObjectID.hh.
|
inline |
|
inline |
|
inline |
|
inline |
Get full file name, including path.
Definition at line 132 of file JRootObjectID.hh.
|
inline |
Get full object name, including path.
Definition at line 146 of file JRootObjectID.hh.
|
inline |
Check validity.
Definition at line 160 of file JRootObjectID.hh.
|
inline |
Clear.
Definition at line 169 of file JRootObjectID.hh.
|
friend |
Equal operator for object identifiers.
| first | first object identifier |
| second | second object identifier |
Definition at line 184 of file JRootObjectID.hh.
|
friend |
Read object identifier from input.
| in | input stream |
| object | object identifier |
Definition at line 199 of file JRootObjectID.hh.
|
friend |
Write object identifier to output.
| out | output stream |
| object | object identifier |
Definition at line 260 of file JRootObjectID.hh.
|
static |
left bracket for label
Definition at line 40 of file JRootObjectID.hh.
|
static |
right bracket for label
Definition at line 41 of file JRootObjectID.hh.
|
static |
file name separator
Definition at line 42 of file JRootObjectID.hh.
|
static |
path name separator
Definition at line 43 of file JRootObjectID.hh.
|
protected |
Definition at line 266 of file JRootObjectID.hh.
|
protected |
Definition at line 267 of file JRootObjectID.hh.
|
protected |
Definition at line 268 of file JRootObjectID.hh.