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 22 of file XMLUtils.h.

Constructor & Destructor Documentation

lhef::StorageWrap::StorageWrap ( Storage storage)

Definition at line 24 of file XMLUtils.cc.

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

Definition at line 29 of file XMLUtils.cc.

References storage.

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

Member Function Documentation

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

Definition at line 27 of file XMLUtils.h.

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

Definition at line 28 of file XMLUtils.h.

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

Member Data Documentation

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

Definition at line 31 of file XMLUtils.h.

Referenced by ~StorageWrap().