CMS 3D CMS Logo

Public Member Functions | Private Attributes

lhef::StorageWrap Class Reference

#include <XMLUtils.h>

List of all members.

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.

                                         :
        storage(storage)
{
}
lhef::StorageWrap::~StorageWrap ( )

Definition at line 28 of file XMLUtils.cc.

References storage.

{
        storage->close();
}

Member Function Documentation

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

Definition at line 26 of file XMLUtils.h.

{ return storage.get(); }
const Storage* lhef::StorageWrap::operator-> ( ) const [inline]

Definition at line 27 of file XMLUtils.h.

{ return storage.get(); }

Member Data Documentation

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

Definition at line 30 of file XMLUtils.h.

Referenced by ~StorageWrap().