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

Constructor & Destructor Documentation

lhef::StorageWrap::StorageWrap ( Storage storage)

Definition at line 25 of file XMLUtils.cc.

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

Definition at line 30 of file XMLUtils.cc.

References storage.

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

Member Function Documentation

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

Definition at line 28 of file XMLUtils.h.

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

Definition at line 29 of file XMLUtils.h.

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

Member Data Documentation

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

Definition at line 32 of file XMLUtils.h.

Referenced by ~StorageWrap().