|
Gaudi Framework, version v21r11 |
| Home | Generated: 30 Sep 2010 |
#include <TypeNameString.h>
Public Member Functions | |
| TypeNameString (const char tn[]) | |
| TypeNameString (const std::string &tn) | |
| TypeNameString (const std::string &tn, const std::string &deftyp) | |
| const std::string & | type () const |
| const std::string & | name () const |
| bool | haveType () const |
Private Member Functions | |
| void | init (const std::string &tn, const std::string &deftyp) |
Private Attributes | |
| std::string | m_type |
| std::string | m_name |
| bool | m_haveType |
Definition at line 9 of file TypeNameString.h.
| Gaudi::Utils::TypeNameString::TypeNameString | ( | const char | tn[] | ) | [inline] |
| Gaudi::Utils::TypeNameString::TypeNameString | ( | const std::string & | tn | ) | [inline] |
| Gaudi::Utils::TypeNameString::TypeNameString | ( | const std::string & | tn, | |
| const std::string & | deftyp | |||
| ) | [inline] |
| void Gaudi::Utils::TypeNameString::init | ( | const std::string & | tn, | |
| const std::string & | deftyp | |||
| ) | [inline, private] |
Definition at line 12 of file TypeNameString.h.
00012 { 00013 const std::string::size_type slash_pos = tn.find_first_of("/"); 00014 m_haveType = slash_pos != std::string::npos; 00015 m_name = (m_haveType) ? tn.substr( slash_pos + 1) : tn; 00016 m_type = (m_haveType) ? tn.substr( 0, slash_pos ) : deftyp; 00017 }
| const std::string& Gaudi::Utils::TypeNameString::type | ( | ) | const [inline] |
| const std::string& Gaudi::Utils::TypeNameString::name | ( | ) | const [inline] |
| bool Gaudi::Utils::TypeNameString::haveType | ( | ) | const [inline] |
std::string Gaudi::Utils::TypeNameString::m_type [private] |
Definition at line 10 of file TypeNameString.h.
Definition at line 10 of file TypeNameString.h.
bool Gaudi::Utils::TypeNameString::m_haveType [private] |
Definition at line 11 of file TypeNameString.h.