IT_Bus::Name Class Reference

#include <it_bus/name.h>

Inheritance diagram for IT_Bus::Name:

IT_Bus::Token IT_Bus::NormalizedString IT_Bus::AnySimpleType IT_Bus::AnyType IT_Bus::ImplementationDetails IT_Bus::NCName IT_Bus::ID List of all members.

Detailed Description

Name class.

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 &copy) throw (())
 Copy constructor.
Nameoperator= (const Name &rhs) throw (())
 Assignment operator.
virtual AnyTypecopy (const AnyType &copy)
 Returns a reference to an AnyType that is a copy of the AnyType parameter.
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.

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


Constructor & Destructor Documentation

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

Constructor.

Parameters:
String 

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

Constructor.

Parameters:
const char*


Member Function Documentation

static bool IT_Bus::Name::is_valid_name ( const String value  )  throw (()) [static]

Confirms that supplied string does not include invalid characters.

Parameters:
String to test for validity.

virtual AnyType& IT_Bus::Name::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::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.

Returns:
NT_SCHEMA_NAME.

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.

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

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

Parameters:
String to test for validity.
Exceptions:
Exception with the message "Invalid character or character sequence"

Reimplemented from IT_Bus::Token.

Reimplemented in IT_Bus::ID, and IT_Bus::NCName.


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