Public Member Functions | Static Public Member Functions | Protected Attributes
zorba::TypeIdentifier Class Reference

Type identifiers. More...

#include <zorba/typeident.h>

Inheritance diagram for zorba::TypeIdentifier:
Inheritance graph
[legend]
Collaboration diagram for zorba::TypeIdentifier:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void addReference () const
std::ostream & emit (std::ostream &) const
virtual void free ()
TypeIdentifier_t getContentType () const
IdentTypes::kind_t getKind () const
const StringgetLocalName () const
IdentTypes::quantifier_t getQuantifier () const
long getRefCount () const
const StringgetUri () 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 &localName, 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 createSchemaAttributeType (const String &uri, const String &localName, IdentTypes::quantifier_t quantifier=IdentTypes::QUANT_ONE)
static TypeIdentifier_t createSchemaElementType (const String &uri, const String &localName, IdentTypes::quantifier_t quantifier=IdentTypes::QUANT_ONE)
static TypeIdentifier_t createTextType (IdentTypes::quantifier_t quantifier=IdentTypes::QUANT_ONE)

Protected Attributes

unsigned int theRefCount

Detailed Description

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 35 of file typeident.h.


Constructor & Destructor Documentation

zorba::TypeIdentifier::~TypeIdentifier ( )

Destructor.


Member Function Documentation

void zorba::SmartObject::addReference ( ) const
inlineinherited

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 localName,
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::createSchemaAttributeType ( const String uri,
const String localName,
IdentTypes::quantifier_t  quantifier = IdentTypes::QUANT_ONE 
)
static
static TypeIdentifier_t zorba::TypeIdentifier::createSchemaElementType ( const String uri,
const String localName,
IdentTypes::quantifier_t  quantifier = IdentTypes::QUANT_ONE 
)
static
static TypeIdentifier_t zorba::TypeIdentifier::createTextType ( IdentTypes::quantifier_t  quantifier = IdentTypes::QUANT_ONE)
static
std::ostream& zorba::TypeIdentifier::emit ( std::ostream &  ) const
virtual void zorba::SmartObject::free ( )
virtualinherited
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
inlineinherited

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 ( )
inlineinherited

Definition at line 42 of file smart_ptr.h.


Member Data Documentation

unsigned int zorba::SmartObject::theRefCount
mutableprotectedinherited

Definition at line 27 of file smart_ptr.h.


The documentation for this class was generated from the following file:
blog comments powered by Disqus