#include <OW_CIMName.hpp>
Inheritance diagram for OW_NAMESPACE::CIMName:
Public Types | |
typedef String CIMName::* | safe_bool |
Public Member Functions | |
CIMName () | |
A default constructed CIMName is the empty string "". | |
CIMName (const String &name) | |
Create an CIMName object with the given name. | |
CIMName (const char *name) | |
Create an CIMName object with the given name. | |
~CIMName () | |
CIMName & | operator= (const String &name) |
CIMName & | operator= (const char *name) |
String | toString () const |
Get the String representation of the CIM Name. | |
virtual void | readObject (std::istream &istrm) |
Read the object from an input stream. | |
virtual void | writeObject (std::ostream &ostrm) const |
Write the object to an output stream This function is equivalent to String::writeObject(). | |
bool | isValid () const |
Test if this is a valid CIMName. | |
operator safe_bool () const | |
bool | operator! () const |
Private Attributes | |
String | m_name |
Friends | |
OW_COMMON_API bool | operator< (const CIMName &x, const CIMName &y) |
OW_COMMON_API bool | operator== (const CIMName &x, const CIMName &y) |
Definition at line 50 of file OW_CIMName.hpp.
|
Definition at line 103 of file OW_CIMName.hpp. |
|
A default constructed CIMName is the empty string "".
Definition at line 48 of file OW_CIMName.cpp. |
|
Create an CIMName object with the given name. This constructor is not explicit in order to facilitate conversions and comparisons Definition at line 53 of file OW_CIMName.cpp. |
|
Create an CIMName object with the given name. This constructor is not explicit in order to facilitate conversions and comparisons
Definition at line 59 of file OW_CIMName.cpp. |
|
Definition at line 65 of file OW_CIMName.cpp. |
|
Test if this is a valid CIMName. A valid CIMName is defined as != "" Definition at line 107 of file OW_CIMName.cpp. References OW_NAMESPACE::String::empty(), and m_name. Referenced by operator safe_bool(), and operator!(). |
|
Definition at line 113 of file OW_CIMName.cpp. |
|
Definition at line 120 of file OW_CIMName.cpp. References isValid(). |
|
Definition at line 79 of file OW_CIMName.cpp. References m_name. |
|
Definition at line 71 of file OW_CIMName.cpp. |
|
Read the object from an input stream. This function is equivalent to String::readObject()
Implements OW_NAMESPACE::SerializableIFC. Definition at line 94 of file OW_CIMName.cpp. References m_name, and OW_NAMESPACE::String::readObject(). |
|
|
Write the object to an output stream This function is equivalent to String::writeObject().
Implements OW_NAMESPACE::SerializableIFC. Definition at line 100 of file OW_CIMName.cpp. References m_name, and OW_NAMESPACE::String::writeObject(). |
|
Definition at line 126 of file OW_CIMName.cpp. |
|
Definition at line 132 of file OW_CIMName.cpp. |
|
Definition at line 111 of file OW_CIMName.hpp. Referenced by isValid(), operator safe_bool(), OW_NAMESPACE::operator<(), operator=(), OW_NAMESPACE::operator==(), readObject(), toString(), and writeObject(). |