22 #include "hurricane/Commons.h"
23 #include "hurricane/Names.h"
38 private:
static const Name _emptyName;
39 public:
static const Name& emptyName () {
return _emptyName; };
44 private: SharedName* _sharedName;
51 public:
Name(
const char* c);
52 public:
Name(
const string& s);
79 public:
size_t size()
const;
84 public:
string _getTypeName()
const {
return _TName(
"Name"); };
85 public:
string _getString()
const;
86 public: Record* _getRecord()
const;
87 public: SharedName* _getSharedName()
const {
return _sharedName;};
126 { w->write( getString(name).c_str() ); }
128 inline void jsonWrite ( JsonWriter* w,
const std::string& key,
Hurricane::Name name )
129 { w->key( key ); w->write( getString(name).c_str() ); }
Name description (API)
Definition: Name.h:35
bool operator>=(const Name &name) const
char operator[](unsigned index) const
bool operator>(const Name &name) const
bool operator==(const Name &name) const
bool operator<=(const Name &name) const
bool operator<(const Name &name) const
Name & operator=(const Name &name)
bool operator!=(const Name &name) const
The namespace dedicated to Hurricane.
Definition: Generalities.dox:5