Public Member Functions | |
XercesPlatform () | |
~XercesPlatform () | |
Private Member Functions | |
XercesPlatform & | operator= (const XercesPlatform &orig) |
XercesPlatform (const XercesPlatform &orig) | |
Static Private Attributes | |
static unsigned int | instances = 0 |
Definition at line 50 of file XMLDocument.h.
XMLDocument::XercesPlatform::XercesPlatform | ( | ) |
Definition at line 123 of file XMLDocument.cc.
References Exception, and instances.
{ if (!instances++) { try { XMLPlatformUtils::Initialize(); } catch(const XMLException &e) { throw cms::Exception("XMLDocument") << "XMLPlatformUtils::Initialize failed " "because of: " << XMLSimpleStr(e.getMessage()) << std::endl; } } }
XMLDocument::XercesPlatform::~XercesPlatform | ( | ) |
Definition at line 137 of file XMLDocument.cc.
{ if (!--instances) XMLPlatformUtils::Terminate(); }
XMLDocument::XercesPlatform::XercesPlatform | ( | const XercesPlatform & | orig | ) | [private] |
XercesPlatform& XMLDocument::XercesPlatform::operator= | ( | const XercesPlatform & | orig | ) | [private] |
XERCES_CPP_NAMESPACE_USE unsigned int XMLDocument::XercesPlatform::instances = 0 [static, private] |
Definition at line 60 of file XMLDocument.h.
Referenced by XercesPlatform().