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

Destructor.


Member Function Documentation

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

Definition at line 40 of file smart_ptr.h.

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::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::createNamedType ( 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]
std::ostream& zorba::TypeIdentifier::emit ( std::ostream &  ) const
virtual void zorba::SmartObject::free ( ) [virtual, inherited]
long zorba::SmartObject::getRefCount ( ) const [inline, inherited]

Definition at line 38 of file smart_ptr.h.

void zorba::SmartObject::removeReference ( ) [inline, inherited]

Definition at line 42 of file smart_ptr.h.


Member Data Documentation

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

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