CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
lhef::StorageWrap Class Reference

#include <XMLUtils.h>

Public Member Functions

Storageoperator-> ()
 
const Storageoperator-> () const
 
 StorageWrap (std::unique_ptr< Storage > storage)
 
 ~StorageWrap ()
 

Private Attributes

std::unique_ptr< Storagestorage
 

Detailed Description

Definition at line 23 of file XMLUtils.h.

Constructor & Destructor Documentation

◆ StorageWrap()

lhef::StorageWrap::StorageWrap ( std::unique_ptr< Storage storage)

Definition at line 25 of file XMLUtils.cc.

◆ ~StorageWrap()

lhef::StorageWrap::~StorageWrap ( )

Definition at line 27 of file XMLUtils.cc.

27 { storage->close(); }

References storage.

Member Function Documentation

◆ operator->() [1/2]

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

Definition at line 28 of file XMLUtils.h.

28 { return storage.get(); }

References storage.

◆ operator->() [2/2]

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

Definition at line 29 of file XMLUtils.h.

29 { return storage.get(); }

References storage.

Member Data Documentation

◆ storage

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

Definition at line 32 of file XMLUtils.h.

Referenced by operator->(), and ~StorageWrap().

lhef::StorageWrap::storage
std::unique_ptr< Storage > storage
Definition: XMLUtils.h:32
eostools.move
def move(src, dest)
Definition: eostools.py:511