IT_Bus::ID Class Reference

#include <it_bus/id.h>

Inheritance diagram for IT_Bus::ID:

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

Detailed Description

Class encapsulated within generated classes derived from ID type definitions in a WSDL or XSD file.

Definition at line 24 of file id.h.

Public Types

typedef IT_Reflect::ValueRef<
IT_Bus::ID
IT_ReflectionType

Public Member Functions

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

Constructor.

This constructor confirms that the string is valid.

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

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

Constructor.

This constructor confirms that the string is valid.

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


Member Function Documentation

static bool IT_Bus::ID::is_valid_id ( const String value  )  throw (()) [static]

Confirms that supplied string does not include invalid characters.

Parameters:
String to test for validity.

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

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

Returns the IT_Bus::QName for the type.

Derived subclasses implement this method and return their QName.

Returns:
NT_SCHEMA_ID.

Reimplemented from IT_Bus::NCName.

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

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

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


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