IT_Bus::NCName Class Reference

#include <it_bus/ncname.h>

Inheritance diagram for IT_Bus::NCName:

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

Detailed Description

NCName class.

Definition at line 23 of file ncname.h.

Public Types

typedef IT_Reflect::ValueRef<
IT_Bus::NCName
IT_ReflectionType

Public Member Functions

 NCName () throw (())
 No argument constructor.
 NCName (const String &value) throw ((IT_Bus::Exception))
 Constructor.
 NCName (const char *value) throw ((IT_Bus::Exception))
 Constructor.
 NCName (const NCName &copy) throw (())
 Copy constructor.
NCNameoperator= (const NCName &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_ncname (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.


Constructor & Destructor Documentation

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

Constructor.

This constructor confirms that the string is valid.

Parameters:
String 
Exceptions:
Exception with the message "Invalid character or character sequence"

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

Constructor.

This constructor confirms that the string is valid.

Parameters:
const char*
Exceptions:
Exception with the message "Invalid character or character sequence"


Member Function Documentation

static bool IT_Bus::NCName::is_valid_ncname ( const String value  )  throw (()) [static]

Confirms that supplied string does not include invalid characters.

Parameters:
String to test for validity.

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

Reimplemented in IT_Bus::ID.

virtual const QName& IT_Bus::NCName::get_type (  )  const [virtual]

Returns the IT_Bus::QName for the type.

Derived subclasses implement this method and return their QName.

Returns:
NT_SCHEMA_NCNAME.

Reimplemented from IT_Bus::Name.

Reimplemented in IT_Bus::ID.

virtual IT_Reflect::Reflection* IT_Bus::NCName::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::Name.

Reimplemented in IT_Bus::ID.

virtual const IT_Reflect::Reflection* IT_Bus::NCName::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::Name.

Reimplemented in IT_Bus::ID.

virtual void IT_Bus::NCName::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::Name.

Reimplemented in IT_Bus::ID.


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