Public Member Functions | Static Public Member Functions | Friends | List of all members
TypeIdentifier Class Reference

Type identifiers. More...

Public Member Functions

TypeIdentifier getContentType ()
 
IdentTypes::Kind getKind ()
 
const std::string getLocalName ()
 
IdentTypes::Quantifier getQuantifier ()
 
long getRefCount ()
 
const std::string getUri ()
 
bool isLocalNameWildcard ()
 
bool isUriWildcard ()
 
 TypeIdentifier (const TypeIdentifier &aTypeIdentifier)
 
 TypeIdentifier (const zorba::TypeIdentifier_t &aZTypeIdentifier)
 

Static Public Member Functions

static TypeIdentifier createAnyNodeType (IdentTypes::Quantifier quantifier=IdentTypes::QUANT_ONE)
 
static TypeIdentifier createAttributeType (const std::string &uri, bool uriWildcard, const std::string &localNameName, bool localNameWildcard, TypeIdentifier contentType, IdentTypes::Quantifier quantifier=IdentTypes::QUANT_ONE)
 
static TypeIdentifier createCommentType (IdentTypes::Quantifier quantifier=IdentTypes::QUANT_ONE)
 
static TypeIdentifier createDocumentType ()
 
static TypeIdentifier createElementType (const std::string &uri, bool uriWildcard, const std::string &localName, bool localNameWildcard, TypeIdentifier contentType, IdentTypes::Quantifier quantifier=IdentTypes::QUANT_ONE)
 
static TypeIdentifier createEmptyType ()
 
static TypeIdentifier createItemType (IdentTypes::Quantifier quantifier=IdentTypes::QUANT_ONE)
 
static TypeIdentifier createNamedType (const std::string &uri, const std::string &localName, IdentTypes::Quantifier quantifier=IdentTypes::QUANT_ONE)
 
static TypeIdentifier createPIType (IdentTypes::Quantifier quantifier=IdentTypes::QUANT_ONE)
 
static TypeIdentifier createTextType (IdentTypes::Quantifier quantifier=IdentTypes::QUANT_ONE)
 

Friends

class StaticContext
 

Detailed Description

Type identifiers.

The type identifiers provides a way to identify the type of an Item.

Definition at line 49 of file TypeIdentifier.h.

Constructor & Destructor Documentation

TypeIdentifier::TypeIdentifier ( const TypeIdentifier aTypeIdentifier)
inline

Definition at line 57 of file TypeIdentifier.h.

TypeIdentifier::TypeIdentifier ( const zorba::TypeIdentifier_t &  aZTypeIdentifier)
inline

Definition at line 58 of file TypeIdentifier.h.

Member Function Documentation

static TypeIdentifier TypeIdentifier::createAnyNodeType ( IdentTypes::Quantifier  quantifier = IdentTypes::QUANT_ONE)
static
static TypeIdentifier TypeIdentifier::createAttributeType ( const std::string &  uri,
bool  uriWildcard,
const std::string &  localNameName,
bool  localNameWildcard,
TypeIdentifier  contentType,
IdentTypes::Quantifier  quantifier = IdentTypes::QUANT_ONE 
)
static
static TypeIdentifier TypeIdentifier::createCommentType ( IdentTypes::Quantifier  quantifier = IdentTypes::QUANT_ONE)
static
static TypeIdentifier TypeIdentifier::createDocumentType ( )
static
static TypeIdentifier TypeIdentifier::createElementType ( const std::string &  uri,
bool  uriWildcard,
const std::string &  localName,
bool  localNameWildcard,
TypeIdentifier  contentType,
IdentTypes::Quantifier  quantifier = IdentTypes::QUANT_ONE 
)
static
static TypeIdentifier TypeIdentifier::createEmptyType ( )
static
static TypeIdentifier TypeIdentifier::createItemType ( IdentTypes::Quantifier  quantifier = IdentTypes::QUANT_ONE)
static
static TypeIdentifier TypeIdentifier::createNamedType ( const std::string &  uri,
const std::string &  localName,
IdentTypes::Quantifier  quantifier = IdentTypes::QUANT_ONE 
)
static
static TypeIdentifier TypeIdentifier::createPIType ( IdentTypes::Quantifier  quantifier = IdentTypes::QUANT_ONE)
static
static TypeIdentifier TypeIdentifier::createTextType ( IdentTypes::Quantifier  quantifier = IdentTypes::QUANT_ONE)
static
TypeIdentifier TypeIdentifier::getContentType ( )
IdentTypes::Kind TypeIdentifier::getKind ( )
const std::string TypeIdentifier::getLocalName ( )
IdentTypes::Quantifier TypeIdentifier::getQuantifier ( )
long TypeIdentifier::getRefCount ( )
const std::string TypeIdentifier::getUri ( )
bool TypeIdentifier::isLocalNameWildcard ( )
bool TypeIdentifier::isUriWildcard ( )

Friends And Related Function Documentation

friend class StaticContext
friend

Definition at line 51 of file TypeIdentifier.h.


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