#include <it_bus/token.h>
Inheritance diagram for IT_Bus::Token:

Definition at line 23 of file token.h.
Public Types | |
|
typedef IT_Reflect::ValueRef< IT_Bus::Token > | IT_ReflectionType |
Public Member Functions | |
| Token () throw (()) | |
| No argument constructor. | |
| Token (const String &value) throw ((IT_Bus::Exception)) | |
| Constructor. | |
| Token (const char *value) throw ((IT_Bus::Exception)) | |
| Constructor. | |
| Token (const Token ©) throw (()) | |
| Copy constructor. | |
| Token & | operator= (const Token &rhs) throw (()) |
| Assignment operator. | |
| virtual AnyType & | copy (const AnyType ©) |
| Returns a reference to an AnyType that is a copy of the AnyType parameter. | |
| 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. | |
Static Public Member Functions | |
| static bool | is_valid_token (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. | |
| IT_Bus::Token::Token | ( | const String & | value | ) | throw ((IT_Bus::Exception)) |
| IT_Bus::Token::Token | ( | const char * | value | ) | throw ((IT_Bus::Exception)) |
Constructor.
| const | char* |
| static bool IT_Bus::Token::is_valid_token | ( | 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::NormalizedString.
Reimplemented in IT_Bus::ID, IT_Bus::Language, IT_Bus::Name, IT_Bus::NCName, and IT_Bus::NMToken.
| virtual const QName& IT_Bus::Token::get_type | ( | ) | const [virtual] |
Returns the IT_Bus::QName for the type.
Derived subclasses implement this method and return their QName.
Reimplemented from IT_Bus::NormalizedString.
Reimplemented in IT_Bus::ID, IT_Bus::Language, IT_Bus::Name, IT_Bus::NCName, and IT_Bus::NMToken.
| virtual IT_Reflect::Reflection* IT_Bus::Token::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::NormalizedString.
Reimplemented in IT_Bus::ID, IT_Bus::Language, IT_Bus::Name, IT_Bus::NCName, and IT_Bus::NMToken.
| virtual const IT_Reflect::Reflection* IT_Bus::Token::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::NormalizedString.
Reimplemented in IT_Bus::ID, IT_Bus::Language, IT_Bus::Name, IT_Bus::NCName, and IT_Bus::NMToken.
| virtual void IT_Bus::Token::validate_string | ( | const String & | value | ) | throw ((IT_Bus::Exception)) [protected, virtual] |
Confirms that supplied string does not include invalid characters.
This method simply invokes the is_valid_token() method.
| String | to test for validity. |
Reimplemented from IT_Bus::NormalizedString.
Reimplemented in IT_Bus::ID, IT_Bus::Language, IT_Bus::Name, IT_Bus::NCName, and IT_Bus::NMToken.
1.5.1-p1