QName Class Reference

`#include <xercesc/util/QName.hpp>`

Inheritance diagram for QName:

## Public Member Functions

| QName (MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
| Default constructor.
| QName (const XMLCh *const prefix, const XMLCh *const localPart, const unsigned int uriId, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
| Constructs a specified qname using prefix, and localpart.
| QName (const XMLCh *const rawName, const unsigned int uriId, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
| Constructs a specified qname using rawName.
| QName (const QName &qname)
| Copy constructor.
| ~QName ()
const XMLCh * | getPrefix () const
XMLCh * | getPrefix ()
const XMLCh * | getLocalPart () const
XMLCh * | getLocalPart ()
unsigned int | getURI () const
const XMLCh * | getRawName () const
XMLCh * | getRawName ()
MemoryManager * | getMemoryManager () const
void | setName (const XMLCh *const prefix, const XMLCh *const localPart, const unsigned int uriId)
void | setName (const XMLCh *const rawName, const unsigned int uriId)
void | setPrefix (const XMLCh *)
void | setLocalPart (const XMLCh *)
void | setNPrefix (const XMLCh *, const XMLSize_t)
void | setNLocalPart (const XMLCh *, const XMLSize_t)
void | setURI (const unsigned int)
void | setValues (const QName &qname)
bool | operator== (const QName &) const
void | cleanUp ()
Public Member Functions inherited from XMemory
void * | operator new (size_t size)
| This method overrides operator new.
void * | operator new (size_t size, MemoryManager *memMgr)
| This method defines a custom operator new, that will use the provided memory manager to perform the allocation.
void * | operator new (size_t size, void *ptr)
| This method overrides placement operator new.
void | operator delete (void *p)
| This method overrides operator delete.
void | operator delete (void *p, MemoryManager *memMgr)
| This method provides a matching delete for the custom operator new.
void | operator delete (void *p, void *ptr)
| This method provides a matching delete for the placement new.

## Additional Inherited Members

Protected Member Functions inherited from XMemory
| XMemory ()
| Protected default constructor.

## Constructor & Destructor Documentation

## QName() [1/4]

QName::QName | ( | MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager | ) |

Default constructor.

References XMLPlatformUtils::fgMemoryManager.

Referenced by cleanUp(), operator==(), QName(), and setValues().

## QName() [2/4]

QName::QName | ( | const XMLCh *const | prefix,
|  | const XMLCh *const | localPart,
|  | const unsigned int | uriId,
|  | MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager )

Constructs a specified qname using prefix, and localpart.

References XMLPlatformUtils::fgMemoryManager.

## QName() [3/4]

QName::QName | ( | const XMLCh *const | rawName,
|  | const unsigned int | uriId,
|  | MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager )

Constructs a specified qname using rawName.

References XMLPlatformUtils::fgMemoryManager.

## QName() [4/4]

QName::QName | ( | const QName & | qname | ) |

Copy constructor.

References QName().

## ~QName()

QName::~QName | ( |  | ) |

References getLocalPart(), getPrefix(), and getURI().

## Member Function Documentation

## cleanUp()

void QName::cleanUp | ( |  | ) |

References QName().

## getLocalPart() [1/2]

XMLCh * QName::getLocalPart | ( |  | ) |

## getLocalPart() [2/2]

const XMLCh * QName::getLocalPart | ( |  | ) | const

Referenced by ~QName().

## getMemoryManager()

MemoryManager * QName::getMemoryManager | ( |  | ) | const

Referenced by getRawName().

## getPrefix() [1/2]

XMLCh * QName::getPrefix | ( |  | ) |

## getPrefix() [2/2]

const XMLCh * QName::getPrefix | ( |  | ) | const

Referenced by ~QName().

## getRawName() [1/2]

XMLCh * QName::getRawName | ( |  | ) |

References getMemoryManager().

## getRawName() [2/2]

const XMLCh * QName::getRawName | ( |  | ) | const

## getURI()

unsigned int QName::getURI | ( |  | ) | const

Referenced by ~QName().

## operator==()

bool QName::operator== | ( | const QName & |  | ) | const

References QName().

## setLocalPart()

void QName::setLocalPart | ( | const XMLCh * | localPart | ) |

References setNLocalPart(), and XMLString::stringLen().

Referenced by setName().

## setName() [1/2]

void QName::setName | ( | const XMLCh *const | prefix,
|  | const XMLCh *const | localPart,
|  | const unsigned int | uriId )

## setName() [2/2]

void QName::setName | ( | const XMLCh *const | rawName,
|  | const unsigned int | uriId )

References setLocalPart(), and setPrefix().

## setNLocalPart()

void QName::setNLocalPart | ( | const XMLCh * | ,
|  | const XMLSize_t | )

References setURI().

Referenced by setLocalPart().

## setNPrefix()

void QName::setNPrefix | ( | const XMLCh * | ,
|  | const XMLSize_t | )

Referenced by setPrefix().

## setPrefix()

void QName::setPrefix | ( | const XMLCh * | prefix | ) |

References setNPrefix(), and XMLString::stringLen().

Referenced by setName().

## setURI()

void QName::setURI | ( | const unsigned int | uriId | ) |

Referenced by setNLocalPart().

## setValues()

void QName::setValues | ( | const QName & | qname | ) |

References QName().

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

- QName.hpp