#include <it_bus/normalized_string.h>
Inheritance diagram for IT_Bus::NormalizedString:
Definition at line 23 of file normalized_string.h.
Public Types | |
typedef IT_Reflect::ValueRef< IT_Bus::NormalizedString > | IT_ReflectionType |
Public Member Functions | |
NormalizedString () throw (()) | |
No argument constructor. | |
NormalizedString (const String &value) throw ((IT_Bus::Exception)) | |
Constructor. | |
NormalizedString (const char *value) throw ((IT_Bus::Exception)) | |
Constructor. | |
NormalizedString (const NormalizedString ©) throw (()) | |
Copy constructor. | |
NormalizedString & | operator= (const NormalizedString &rhs) throw (()) |
Assignment operator. | |
const String & | get_value () const throw (()) |
Obtain the string value of the instance. | |
void | set_value (const String &value) throw ((IT_Bus::Exception)) |
Set the string value of the instance. | |
virtual AnyType & | copy (const AnyType ©) |
Returns a reference to an AnyType that is a copy of the AnyType parameter. | |
virtual AnyType::Kind | get_kind () const |
Returns the IT_Bus::AnyType::Kind for the type. | |
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. | |
virtual void | write_value (AnySimpleTypeWriter &writer) const throw ((IT_Bus::SerializationException)) |
Write the instance value. | |
virtual void | read_value (AnySimpleTypeReader &reader) throw ((IT_Bus::DeserializationException)) |
Read the value into the instance. | |
Static Public Member Functions | |
static bool | is_valid_normalized_string (const String &value) throw (()) |
Confirms that supplied string does not include invalid characters. | |
Protected Member Functions | |
virtual bool | allow_empty_string () const |
Protected Attributes | |
String | m_value |
IT_Bus::NormalizedString::NormalizedString | ( | const String & | value | ) | throw ((IT_Bus::Exception)) |
IT_Bus::NormalizedString::NormalizedString | ( | const char * | value | ) | throw ((IT_Bus::Exception)) |
Constructor.
const | char* |
const String& IT_Bus::NormalizedString::get_value | ( | ) | const throw (()) |
void IT_Bus::NormalizedString::set_value | ( | const String & | value | ) | throw ((IT_Bus::Exception)) |
static bool IT_Bus::NormalizedString::is_valid_normalized_string | ( | 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::AnyType.
Reimplemented in IT_Bus::ID, IT_Bus::Language, IT_Bus::Name, IT_Bus::NCName, IT_Bus::NMToken, and IT_Bus::Token.
virtual AnyType::Kind IT_Bus::NormalizedString::get_kind | ( | ) | const [virtual] |
Returns the IT_Bus::AnyType::Kind for the type.
Reimplemented from IT_Bus::AnySimpleType.
virtual const QName& IT_Bus::NormalizedString::get_type | ( | ) | const [virtual] |
Returns the IT_Bus::QName for the type.
Derived subclasses implement this method and return their QName.
Implements IT_Bus::AnyType.
Reimplemented in IT_Bus::ID, IT_Bus::Language, IT_Bus::Name, IT_Bus::NCName, IT_Bus::NMToken, and IT_Bus::Token.
virtual IT_Reflect::Reflection* IT_Bus::NormalizedString::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::AnyType.
Reimplemented in IT_Bus::ID, IT_Bus::Language, IT_Bus::Name, IT_Bus::NCName, IT_Bus::NMToken, and IT_Bus::Token.
virtual const IT_Reflect::Reflection* IT_Bus::NormalizedString::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::AnyType.
Reimplemented in IT_Bus::ID, IT_Bus::Language, IT_Bus::Name, IT_Bus::NCName, IT_Bus::NMToken, and IT_Bus::Token.
virtual void IT_Bus::NormalizedString::write_value | ( | AnySimpleTypeWriter & | writer | ) | const throw ((IT_Bus::SerializationException)) [virtual] |
virtual void IT_Bus::NormalizedString::read_value | ( | AnySimpleTypeReader & | reader | ) | throw ((IT_Bus::DeserializationException)) [virtual] |
Read the value into the instance.
Derived classes implement this method.
Implements IT_Bus::AnySimpleType.