CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Static Private Attributes
XMLDocument::XercesPlatform Class Reference

Public Member Functions

 XercesPlatform ()
 
 ~XercesPlatform ()
 

Private Member Functions

XercesPlatformoperator= (const XercesPlatform &orig)
 
 XercesPlatform (const XercesPlatform &orig)
 

Static Private Attributes

static unsigned int instances = 0
 

Detailed Description

Definition at line 50 of file XMLDocument.h.

Constructor & Destructor Documentation

XMLDocument::XercesPlatform::XercesPlatform ( )

Definition at line 125 of file XMLDocument.cc.

References MillePedeFileConverter_cfg::e, Exception, and cms::concurrency::xercesInitialize().

126 {
127  if (!instances++) {
128  try {
130  } catch(const XMLException &e) {
131  throw cms::Exception("XMLDocument")
132  << "cms::concurrency::xercesInitialize failed "
133  "because of: "
134  << XMLSimpleStr(e.getMessage()) << std::endl;
135  }
136  }
137 }
void xercesInitialize()
Definition: Xerces.cc:18
static unsigned int instances
Definition: XMLDocument.h:60
XMLDocument::XercesPlatform::~XercesPlatform ( )

Definition at line 139 of file XMLDocument.cc.

References cms::concurrency::xercesTerminate().

140 {
141  if (!--instances)
143 }
void xercesTerminate()
Definition: Xerces.cc:23
static unsigned int instances
Definition: XMLDocument.h:60
XMLDocument::XercesPlatform::XercesPlatform ( const XercesPlatform orig)
private

Member Function Documentation

XercesPlatform& XMLDocument::XercesPlatform::operator= ( const XercesPlatform orig)
private

Member Data Documentation

XERCES_CPP_NAMESPACE_USE unsigned int XMLDocument::XercesPlatform::instances = 0
staticprivate

Definition at line 60 of file XMLDocument.h.