Qyoto  4.0.5
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtXmlPatterns.QXmlNamePool Class Reference

The QXmlNamePool class is a table of shared strings referenced by instances of QXmlName. More...

Inheritance diagram for QtXmlPatterns.QXmlNamePool:
Collaboration diagram for QtXmlPatterns.QXmlNamePool:

Public Member Functions

 QXmlNamePool ()
 
 
 QXmlNamePool (QXmlNamePool other)
 
 
virtual void CreateProxy ()
 
new void Dispose ()
 

Protected Member Functions

 QXmlNamePool (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

virtual System.IntPtr SmokeObject [get, set]
 

Detailed Description

The QXmlNamePool class is a table of shared strings referenced by instances of QXmlName.

QXmlNamePool is used to optimize operations on instances of QXmlName. An instance of QXmlName represents an XML name in a way that allows the XML name to be compared and passed around efficiently. The efficiency is achieved by storing the strings comprising the XML names in an instance of QXmlNamePool, where they are mapped to binary identifiers, which are then packed into a key which is stored in the QXmlName.

This means that each instance of QXmlName is tied to the name pool it was created with, and that name pool should be kept in scope and used to create all instances of QXmlName that might be compared. Note also that the name pool is required if you must reconstitute the QXmlName as text, or if you must access any of its component strings, so although instances of QXmlName can be compared without reference to a name pool, the name pool must be kept in scope if the name's strings must be accessed later.

See also QXmlName and QXmlQuery::namePool().

Constructor & Destructor Documentation

QtXmlPatterns.QXmlNamePool.QXmlNamePool ( System.Type  dummy)
protected
QtXmlPatterns.QXmlNamePool.QXmlNamePool ( )

Constructs an empty name pool.

QtXmlPatterns.QXmlNamePool.QXmlNamePool ( QXmlNamePool  other)

Constructs a copy of the other name pool.

Member Function Documentation

virtual void QtXmlPatterns.QXmlNamePool.CreateProxy ( )
virtual
new void QtXmlPatterns.QXmlNamePool.Dispose ( )

Member Data Documentation

SmokeInvocation QtXmlPatterns.QXmlNamePool.interceptor
protected

Property Documentation

virtual System.IntPtr QtXmlPatterns.QXmlNamePool.SmokeObject
getset