#include <it_bus/name.h>
Inheritance diagram for IT_Bus::Name:
Definition at line 23 of file name.h.
Public Types | |
typedef IT_Reflect::ValueRef< IT_Bus::Name > | IT_ReflectionType |
Public Member Functions | |
Name () throw (()) | |
No argument constructor. | |
Name (const String &value) throw ((IT_Bus::Exception)) | |
Constructor. | |
Name (const char *value) throw ((IT_Bus::Exception)) | |
Constructor. | |
Name (const Name ©) throw (()) | |
Copy constructor. | |
Name & | operator= (const Name &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_name (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. | |
virtual bool | allow_empty_string () const |
IT_Bus::Name::Name | ( | const String & | value | ) | throw ((IT_Bus::Exception)) |
IT_Bus::Name::Name | ( | const char * | value | ) | throw ((IT_Bus::Exception)) |
Constructor.
const | char* |
static bool IT_Bus::Name::is_valid_name | ( | 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::Token.
Reimplemented in IT_Bus::ID, and IT_Bus::NCName.
virtual const QName& IT_Bus::Name::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::Token.
Reimplemented in IT_Bus::ID, and IT_Bus::NCName.
virtual IT_Reflect::Reflection* IT_Bus::Name::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::Token.
Reimplemented in IT_Bus::ID, and IT_Bus::NCName.
virtual const IT_Reflect::Reflection* IT_Bus::Name::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::Token.
Reimplemented in IT_Bus::ID, and IT_Bus::NCName.
virtual void IT_Bus::Name::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::Token.
Reimplemented in IT_Bus::ID, and IT_Bus::NCName.