#include <it_bus/id.h>
Inheritance diagram for IT_Bus::ID:
Definition at line 24 of file id.h.
Public Types | |
typedef IT_Reflect::ValueRef< IT_Bus::ID > | IT_ReflectionType |
Public Member Functions | |
ID () throw (()) | |
No argument constructor. | |
ID (const String &value) throw ((IT_Bus::Exception)) | |
Constructor. | |
ID (const char *value) throw ((IT_Bus::Exception)) | |
Constructor. | |
ID (const ID ©) throw (()) | |
Copy constructor. | |
ID & | operator= (const ID &rhs) throw (()) |
Assignment operator. | |
virtual AnyType & | copy (const AnyType ©) |
Returns a reference to an AnyType that is a copy of the AnyType parameter. | |
virtual const QName & | get_type () const |
Returns the IT_Bus::QName for the type. | |
virtual IT_Reflect::Reflection * | get_reflection () throw ((IT_Reflect::ReflectException)) |
Return an instance of the IT_Reflect::Reflection type that encapsulates this instance. | |
virtual const IT_Reflect::Reflection * | get_reflection () const throw ((IT_Reflect::ReflectException)) |
Return an instance of the IT_Reflect::Reflection type that encapsulates this instance. | |
Static Public Member Functions | |
static bool | is_valid_id (const String &value) throw (()) |
Confirms that supplied string does not include invalid characters. | |
Protected Member Functions | |
virtual void | validate_string (const String &value) throw ((IT_Bus::Exception)) |
Confirms that supplied string does not include invalid characters. |
IT_Bus::ID::ID | ( | const String & | value | ) | throw ((IT_Bus::Exception)) |
IT_Bus::ID::ID | ( | const char * | value | ) | throw ((IT_Bus::Exception)) |
Constructor.
This constructor confirms that the string is valid.
const | char* |
Exception | with message "Invalid character or character sequence" |
static bool IT_Bus::ID::is_valid_id | ( | const String & | value | ) | throw (()) [static] |
Confirms that supplied string does not include invalid characters.
String | to test for validity. |
Returns a reference to an AnyType that is a copy of the AnyType parameter.
Derived classes override this method, providing an appropriate implementation. In this base class, this method is not supported; an exception is always thrown.
AnyType | to be copied. |
IT_Bus::Exception | with message "Copy not supported" |
Reimplemented from IT_Bus::NCName.
virtual const QName& IT_Bus::ID::get_type | ( | ) | const [virtual] |
Returns the IT_Bus::QName for the type.
Derived subclasses implement this method and return their QName.
Reimplemented from IT_Bus::NCName.
virtual IT_Reflect::Reflection* IT_Bus::ID::get_reflection | ( | ) | throw ((IT_Reflect::ReflectException)) [virtual] |
Return an instance of the IT_Reflect::Reflection type that encapsulates this instance.
IT_Reflect::ReflectException |
Reimplemented from IT_Bus::NCName.
virtual const IT_Reflect::Reflection* IT_Bus::ID::get_reflection | ( | ) | const throw ((IT_Reflect::ReflectException)) [virtual] |
Return an instance of the IT_Reflect::Reflection type that encapsulates this instance.
IT_Reflect::ReflectException |
Reimplemented from IT_Bus::NCName.
virtual void IT_Bus::ID::validate_string | ( | const String & | value | ) | throw ((IT_Bus::Exception)) [protected, virtual] |
Confirms that supplied string does not include invalid characters.
String | to test for validity. |
Exception | with the message "Invalid character or character sequence" |
Reimplemented from IT_Bus::NCName.