CMS 3D CMS Logo

XMLDocument::XercesPlatform Class Reference

List of all members.

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 47 of file XMLDocument.h.


Constructor & Destructor Documentation

XMLDocument::XercesPlatform::XercesPlatform (  ) 

Definition at line 37 of file XMLDocument.cc.

References e, lat::endl(), Exception, and instances.

00038 {
00039         if (!instances++) {
00040                 try {
00041                         XMLPlatformUtils::Initialize();
00042                 } catch(const XMLException &e) {
00043                         throw cms::Exception("XMLDocument")
00044                                 << "XMLPlatformUtils::Initialize failed "
00045                                    "because of: "
00046                                 << XMLSimpleStr(e.getMessage()) << std::endl;
00047                 }
00048         }
00049 }

XMLDocument::XercesPlatform::~XercesPlatform (  ) 

Definition at line 51 of file XMLDocument.cc.

References instances.

00052 {
00053         if (!--instances)
00054                 XMLPlatformUtils::Terminate();
00055 }

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 [static, private]

Definition at line 57 of file XMLDocument.h.

Referenced by XercesPlatform(), lhef::XMLDocument::XercesPlatform::XercesPlatform(), lhef::XMLDocument::XercesPlatform::~XercesPlatform(), and ~XercesPlatform().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:35:54 2009 for CMSSW by  doxygen 1.5.4