System::Xml::NameTable class

NameTable class

Implements a single-threaded XmlNameTable.

class NameTable : public System::Xml::XmlNameTable

Methods

MethodDescription
Add(const String&) overrideAtomizes the specified string and adds it to the NameTable.
Add(const ArrayPtr<char16_t>&, int32_t, int32_t) overrideAtomizes the specified string and adds it to the NameTable.
Get(const String&) overrideReturns the atomized string with the specified value.
Get(const ArrayPtr<char16_t>&, int32_t, int32_t) overrideReturns the atomized string containing the same characters as the specified range of characters in the given array.
NameTable()Initializes a new instance of the NameTable class.

Typedefs

TypedefDescription
PtrAn alias for shared pointer to an instance of this class.

Remarks

Objects of this class should only be allocated using System::MakeObject() function. Never create instances of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

See Also