![]() |
Diana Software
|
Classes | |
| class | AliasInfo |
Public Member Functions | |
| QAliases () | |
| std::map< std::string, AliasInfo > | Get () const |
| QError | Get (const std::string &alias, AliasInfo &ai) const |
| std::map< std::string, std::string > | Find (const QEventLabel &label) const |
| void | Add (const QEventLabel &label, const std::string &path, const std::string &alias) |
| void | Add (const std::string &fullpath, const std::string &alias) |
| QError | FillFromFile (const std::string &filename) |
Private Attributes | |
| std::map< std::string, AliasInfo > | fAliases |
Definition at line 11 of file QAliases.hh.
| Q_BEGIN_NAMESPACE QAliases::QAliases | ( | ) |
Definition at line 7 of file QAliases.cc.
| void QAliases::Add | ( | const QEventLabel & | label, |
| const std::string & | path, | ||
| const std::string & | alias | ||
| ) |
Definition at line 50 of file QAliases.cc.
References fAliases, QAliases::AliasInfo::fLabel, and QAliases::AliasInfo::fPath.
Referenced by FillFromFile(), MNeighboursPacker::Init(), MRootFileReader::Init(), and QEvent::SetAlias().
| void QAliases::Add | ( | const std::string & | fullpath, |
| const std::string & | alias | ||
| ) |
Definition at line 41 of file QAliases.cc.
References fAliases, QAliases::AliasInfo::fLabel, and QAliases::AliasInfo::fPath.
| QError QAliases::FillFromFile | ( | const std::string & | filename | ) |
Definition at line 63 of file QAliases.cc.
References Add(), err, QERR_CANNOT_OPEN_FILE, and QERR_SUCCESS.
Referenced by MNeighboursPacker::Init(), QRootFileWriterBase::Open(), and MRootNtpDumper::Require().
| std::map< std::string, std::string > QAliases::Find | ( | const QEventLabel & | label | ) | const |
Definition at line 25 of file QAliases.cc.
References fAliases.
Referenced by MNeighboursPacker::Init(), QRootFileWriterBase::Open(), and MRootNtpDumper::Require().
|
inline |
Definition at line 24 of file QAliases.hh.
References fAliases.
Referenced by MRootNtpDumper::Require().
| QError QAliases::Get | ( | const std::string & | alias, |
| QAliases::AliasInfo & | ai | ||
| ) | const |
Definition at line 12 of file QAliases.cc.
References fAliases, QERR_OUT_OF_RANGE, and QERR_SUCCESS.
|
private |
Definition at line 36 of file QAliases.hh.