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 Attributes
lhef::StorageWrap Class Reference

#include <XMLUtils.h>

Public Member Functions

Storageoperator-> ()
 
const Storageoperator-> () const
 
 StorageWrap (Storage *storage)
 
 ~StorageWrap ()
 

Private Attributes

std::auto_ptr< Storagestorage
 

Detailed Description

Definition at line 21 of file XMLUtils.h.

Constructor & Destructor Documentation

lhef::StorageWrap::StorageWrap ( Storage storage)

Definition at line 23 of file XMLUtils.cc.

23  :
24  storage(storage)
25 {
26 }
std::auto_ptr< Storage > storage
Definition: XMLUtils.h:30
lhef::StorageWrap::~StorageWrap ( )

Definition at line 28 of file XMLUtils.cc.

References storage.

29 {
30  storage->close();
31 }
std::auto_ptr< Storage > storage
Definition: XMLUtils.h:30

Member Function Documentation

Storage* lhef::StorageWrap::operator-> ( )
inline

Definition at line 26 of file XMLUtils.h.

26 { return storage.get(); }
std::auto_ptr< Storage > storage
Definition: XMLUtils.h:30
const Storage* lhef::StorageWrap::operator-> ( ) const
inline

Definition at line 27 of file XMLUtils.h.

27 { return storage.get(); }
std::auto_ptr< Storage > storage
Definition: XMLUtils.h:30

Member Data Documentation

std::auto_ptr<Storage> lhef::StorageWrap::storage
private

Definition at line 30 of file XMLUtils.h.

Referenced by ~StorageWrap().