|
AGX Dynamics 2.41.2.0
|
Representation of a name string. More...
#include <Name.h>
Public Member Functions | |
| Name () | |
| Name (const agx::String &name) | |
| Name (const char *name) | |
| Name (const Name &name) | |
| Name (const std::string &name) | |
| ~Name () | |
| const char * | c_str () const |
| bool | empty () const |
| UInt32 | hash () const |
| agx::UInt32 | length () const |
| operator agx::String () const | |
| Cast operators. | |
| operator std::string () const | |
| bool | operator!= (const agx::Name &other) const |
| bool | operator!= (const agx::String &other) const |
| bool | operator!= (const char *other) const |
| bool | operator!= (const std::string &other) const |
| agx::String | operator+ (const agx::Name &other) const |
| Concatenation operator. | |
| agx::String | operator+ (const agx::String &other) const |
| agx::String | operator+ (const char *other) const |
| agx::String | operator+ (const std::string &other) const |
| agx::Name & | operator= (const agx::Name &other) |
| Copy operators. | |
| agx::Name & | operator= (const agx::String &other) |
| agx::Name & | operator= (const char *other) |
| agx::Name & | operator= (const std::string &other) |
| bool | operator== (const agx::Name &other) const |
| Comparison operators. | |
| bool | operator== (const agx::String &other) const |
| bool | operator== (const char *other) const |
| bool | operator== (const std::string &other) const |
| char | operator[] (size_t index) const |
| agx::UInt32 | size () const |
| agx::String | str () const |
| void | swap (Name &rhs) |
Representation of a name string.
Identical names share string buffer, so copying a name is a cheap operation, just a reference increment.
| agx::Name::Name | ( | const char * | name | ) |
| agx::Name::Name | ( | const agx::String & | name | ) |
| agx::Name::Name | ( | const std::string & | name | ) |
| const char * agx::Name::c_str | ( | ) | const |
Definition at line 189 of file Name.h.
Referenced by agxData::FormatBinding< T >::getFormat(), and operator=().
| bool agx::Name::empty | ( | ) | const |
| UInt32 agx::Name::hash | ( | ) | const |
Definition at line 229 of file Name.h.
References agx::hash().
| agx::UInt32 agx::Name::length | ( | ) | const |
Definition at line 192 of file Name.h.
Referenced by empty(), operator[](), and size().
| agx::Name::operator agx::String | ( | ) | const |
Cast operators.
| agx::Name::operator std::string | ( | ) | const |
| bool agx::Name::operator!= | ( | const agx::Name & | other | ) | const |
Definition at line 295 of file Name.h.
References operator==().
| bool agx::Name::operator!= | ( | const agx::String & | other | ) | const |
Definition at line 297 of file Name.h.
References operator==().
| bool agx::Name::operator!= | ( | const char * | other | ) | const |
Definition at line 298 of file Name.h.
References operator==().
| bool agx::Name::operator!= | ( | const std::string & | other | ) | const |
Definition at line 296 of file Name.h.
References operator==().
| agx::String agx::Name::operator+ | ( | const agx::Name & | other | ) | const |
Concatenation operator.
| agx::String agx::Name::operator+ | ( | const agx::String & | other | ) | const |
| agx::String agx::Name::operator+ | ( | const char * | other | ) | const |
References agx::hash().
| agx::String agx::Name::operator+ | ( | const std::string & | other | ) | const |
| agx::Name & agx::Name::operator= | ( | const agx::String & | other | ) |
| agx::Name & agx::Name::operator= | ( | const char * | other | ) |
Definition at line 254 of file Name.h.
References agx::init().
| agx::Name & agx::Name::operator= | ( | const std::string & | other | ) |
| bool agx::Name::operator== | ( | const agx::Name & | other | ) | const |
| bool agx::Name::operator== | ( | const agx::String & | other | ) | const |
| bool agx::Name::operator== | ( | const std::string & | other | ) | const |
| char agx::Name::operator[] | ( | size_t | index | ) | const |
| agx::UInt32 agx::Name::size | ( | ) | const |
| agx::String agx::Name::str | ( | ) | const |
| void agx::Name::swap | ( | Name & | rhs | ) |