Type identifiers. More...
#include <zorba/typeident.h>


Public Member Functions | |
| void | addReference () const |
| virtual void | free () |
| TypeIdentifier_t | getContentType () const |
| IdentTypes::kind_t | getKind () const |
| const String & | getLocalName () const |
| IdentTypes::quantifier_t | getQuantifier () const |
| long | getRefCount () const |
| const String & | getUri () const |
| bool | isLocalNameWildcard () const |
| bool | isUriWildcard () const |
| void | removeReference () |
| ~TypeIdentifier () | |
| Destructor. | |
Static Public Member Functions | |
| static TypeIdentifier_t | createAnyNodeType (IdentTypes::quantifier_t quantifier=IdentTypes::QUANT_ONE) |
| static TypeIdentifier_t | createAttributeType (const String &uri, bool uriWildcard, const String &localNameName, bool localNameWildcard, TypeIdentifier_t contentType, IdentTypes::quantifier_t quantifier=IdentTypes::QUANT_ONE) |
| static TypeIdentifier_t | createCommentType (IdentTypes::quantifier_t quantifier=IdentTypes::QUANT_ONE) |
| static TypeIdentifier_t | createDocumentType (TypeIdentifier_t contentType, IdentTypes::quantifier_t quantifier=IdentTypes::QUANT_ONE) |
| static TypeIdentifier_t | createElementType (const String &uri, bool uriWildcard, const String &localName, bool localNameWildcard, TypeIdentifier_t contentType, IdentTypes::quantifier_t quantifier=IdentTypes::QUANT_ONE) |
| static TypeIdentifier_t | createEmptyType () |
| static TypeIdentifier_t | createItemType (IdentTypes::quantifier_t quantifier=IdentTypes::QUANT_ONE) |
| static TypeIdentifier_t | createNamedType (const String &uri, const String &localName, IdentTypes::quantifier_t quantifier=IdentTypes::QUANT_ONE) |
| static TypeIdentifier_t | createPIType (IdentTypes::quantifier_t quantifier=IdentTypes::QUANT_ONE) |
| static TypeIdentifier_t | createTextType (IdentTypes::quantifier_t quantifier=IdentTypes::QUANT_ONE) |
Protected Attributes | |
| unsigned int | theRefCount |
Type identifiers.
The type identifiers are not used, yet.
Note: This class is reference counted. When writing multi-threaded clients, it is the responibility of the client code to synchronize assignments to the SmartPtr holding this object.
Definition at line 34 of file typeident.h.
| zorba::TypeIdentifier::~TypeIdentifier | ( | ) |
Destructor.
| void zorba::SmartObject::addReference | ( | ) | const [inline, inherited] |
Definition at line 40 of file smart_ptr.h.
| static TypeIdentifier_t zorba::TypeIdentifier::createAnyNodeType | ( | IdentTypes::quantifier_t | quantifier = IdentTypes::QUANT_ONE | ) | [static] |
| static TypeIdentifier_t zorba::TypeIdentifier::createAttributeType | ( | const String & | uri, |
| bool | uriWildcard, | ||
| const String & | localNameName, | ||
| bool | localNameWildcard, | ||
| TypeIdentifier_t | contentType, | ||
| IdentTypes::quantifier_t | quantifier = IdentTypes::QUANT_ONE |
||
| ) | [static] |
| static TypeIdentifier_t zorba::TypeIdentifier::createCommentType | ( | IdentTypes::quantifier_t | quantifier = IdentTypes::QUANT_ONE | ) | [static] |
| static TypeIdentifier_t zorba::TypeIdentifier::createDocumentType | ( | TypeIdentifier_t | contentType, |
| IdentTypes::quantifier_t | quantifier = IdentTypes::QUANT_ONE |
||
| ) | [static] |
| static TypeIdentifier_t zorba::TypeIdentifier::createElementType | ( | const String & | uri, |
| bool | uriWildcard, | ||
| const String & | localName, | ||
| bool | localNameWildcard, | ||
| TypeIdentifier_t | contentType, | ||
| IdentTypes::quantifier_t | quantifier = IdentTypes::QUANT_ONE |
||
| ) | [static] |
| static TypeIdentifier_t zorba::TypeIdentifier::createEmptyType | ( | ) | [static] |
| static TypeIdentifier_t zorba::TypeIdentifier::createItemType | ( | IdentTypes::quantifier_t | quantifier = IdentTypes::QUANT_ONE | ) | [static] |
| static TypeIdentifier_t zorba::TypeIdentifier::createNamedType | ( | const String & | uri, |
| const String & | localName, | ||
| IdentTypes::quantifier_t | quantifier = IdentTypes::QUANT_ONE |
||
| ) | [static] |
| static TypeIdentifier_t zorba::TypeIdentifier::createPIType | ( | IdentTypes::quantifier_t | quantifier = IdentTypes::QUANT_ONE | ) | [static] |
| static TypeIdentifier_t zorba::TypeIdentifier::createTextType | ( | IdentTypes::quantifier_t | quantifier = IdentTypes::QUANT_ONE | ) | [static] |
| virtual void zorba::SmartObject::free | ( | ) | [virtual, inherited] |
| TypeIdentifier_t zorba::TypeIdentifier::getContentType | ( | ) | const |
| IdentTypes::kind_t zorba::TypeIdentifier::getKind | ( | ) | const |
| const String& zorba::TypeIdentifier::getLocalName | ( | ) | const |
| IdentTypes::quantifier_t zorba::TypeIdentifier::getQuantifier | ( | ) | const |
| long zorba::SmartObject::getRefCount | ( | ) | const [inline, inherited] |
Definition at line 38 of file smart_ptr.h.
| const String& zorba::TypeIdentifier::getUri | ( | ) | const |
| bool zorba::TypeIdentifier::isLocalNameWildcard | ( | ) | const |
| bool zorba::TypeIdentifier::isUriWildcard | ( | ) | const |
| void zorba::SmartObject::removeReference | ( | ) | [inline, inherited] |
Definition at line 42 of file smart_ptr.h.
unsigned int zorba::SmartObject::theRefCount [mutable, protected, inherited] |
Definition at line 27 of file smart_ptr.h.