zorba::TypeIdentifier Class Reference

Type identifiers. More...

#include <zorba/typeident.h>

Inheritance diagram for zorba::TypeIdentifier:

zorba::SmartObject

List of all members.

Public Member Functions

void addReference () 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 &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


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


Constructor & Destructor Documentation

zorba::TypeIdentifier::~TypeIdentifier (  ) 

Destructor.


Member Function Documentation

void zorba::SmartObject::addReference (  )  const [inline, inherited]

Definition at line 39 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 (  )  [inline, virtual, inherited]

Definition at line 35 of file smart_ptr.h.

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 37 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 41 of file smart_ptr.h.


Member Data Documentation

unsigned int zorba::SmartObject::theRefCount [mutable, protected, inherited]

Definition at line 26 of file smart_ptr.h.


The documentation for this class was generated from the following file: