test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 123 of file XMLDocument.cc.

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

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

Definition at line 137 of file XMLDocument.cc.

References cms::concurrency::xercesTerminate().

138 {
139  if (!--instances)
141 }
void xercesTerminate()
Definition: Xerces.cc:22
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.

Referenced by XercesPlatform().