IT_Bus::NormalizedString Class Reference

#include <it_bus/normalized_string.h>

Inheritance diagram for IT_Bus::NormalizedString:

IT_Bus::AnySimpleType IT_Bus::AnyType IT_Bus::ImplementationDetails IT_Bus::Token IT_Bus::Language IT_Bus::Name IT_Bus::NMToken IT_Bus::NCName IT_Bus::ID List of all members.

Detailed Description

NormalizedString class.

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 &copy) throw (())
 Copy constructor.
NormalizedStringoperator= (const NormalizedString &rhs) throw (())
 Assignment operator.
const Stringget_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 AnyTypecopy (const AnyType &copy)
 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 QNameget_type () const
 Returns the IT_Bus::QName for the type.
virtual IT_Reflect::Reflectionget_reflection () throw ((IT_Reflect::ReflectException))
 Return an instance of the IT_Reflect::Reflection type that encapsulates this instance.
virtual const IT_Reflect::Reflectionget_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


Constructor & Destructor Documentation

IT_Bus::NormalizedString::NormalizedString ( const String value  )  throw ((IT_Bus::Exception))

Constructor.

Parameters:
String 

IT_Bus::NormalizedString::NormalizedString ( const char *  value  )  throw ((IT_Bus::Exception))

Constructor.

Parameters:
const char*


Member Function Documentation

const String& IT_Bus::NormalizedString::get_value (  )  const throw (())

Obtain the string value of the instance.

Returns:
IT_Bus::String

void IT_Bus::NormalizedString::set_value ( const String value  )  throw ((IT_Bus::Exception))

Set the string value of the instance.

Parameters:
IT_Bus::String 

static bool IT_Bus::NormalizedString::is_valid_normalized_string ( const String value  )  throw (()) [static]

Confirms that supplied string does not include invalid characters.

Parameters:
String to test for validity.

virtual AnyType& IT_Bus::NormalizedString::copy ( const AnyType copy  )  [virtual]

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.

Parameters:
AnyType to be copied.
Returns:
A reference to AnyType.
Exceptions:
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.

Returns:
AnyType::BUILT_IN.

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.

Returns:
NT_SCHEMA_NSTRING.

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.

Returns:
IT_Reflect::Reflection
Exceptions:
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.

Returns:
IT_Reflect::Reflection
Exceptions:
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]

Write the instance value.

Derived classes implement this method.

Implements IT_Bus::AnySimpleType.

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.


Generated on Tue Mar 20 15:28:04 2007 for Artix by  doxygen 1.5.1-p1