add optional name pool size argument to DOMParser constructor

This commit is contained in:
Guenter Obiltschnig
2016-10-07 10:53:14 +02:00
parent ad99e73a60
commit e453ad144a
2 changed files with 13 additions and 1 deletions

View File

@@ -40,9 +40,12 @@ class XML_API DOMParser
/// support of a WhitespaceFilter.
{
public:
DOMParser(NamePool* pNamePool = 0);
explicit DOMParser(NamePool* pNamePool = 0);
/// Creates a new DOMParser.
/// If a NamePool is given, it becomes the Document's NamePool.
explicit DOMParser(unsigned long namePoolSize);
/// Creates a new DOMParser, using the given name pool size.
~DOMParser();
/// Destroys the DOMParser.