OWBI1::TempFileEnumerationImplBase Class Reference

#include <OWBI1_TempFileEnumerationImplBase.hpp>

Inheritance diagram for OWBI1::TempFileEnumerationImplBase:

Inheritance graph
[legend]
Collaboration diagram for OWBI1::TempFileEnumerationImplBase:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TempFileEnumerationImplBase ()
 TempFileEnumerationImplBase (String const &filename)
virtual ~TempFileEnumerationImplBase ()
bool hasMoreElements () const
size_t numberOfElements () const
void clear ()
String releaseFile ()
bool usingTempFile () const

Protected Member Functions

void throwIfEmpty () const

Protected Attributes

size_t m_size
::OpenWBEM::TempFileStream * m_data

Private Member Functions

 TempFileEnumerationImplBase (const TempFileEnumerationImplBase &)
TempFileEnumerationImplBaseoperator= (const TempFileEnumerationImplBase &)
size_t readSize (String const &filename)

Detailed Description

Definition at line 50 of file OWBI1_TempFileEnumerationImplBase.hpp.


Constructor & Destructor Documentation

OWBI1::TempFileEnumerationImplBase::TempFileEnumerationImplBase  ) 
 

Definition at line 53 of file OWBI1_TempFileEnumerationImplBase.cpp.

References m_data, OWBI1_THROW, and OWBI1::TEMPFILE_ENUMERATION_SIG.

OWBI1::TempFileEnumerationImplBase::TempFileEnumerationImplBase String const &  filename  ) 
 

Definition at line 74 of file OWBI1_TempFileEnumerationImplBase.cpp.

References m_data, and OWBI1_THROW.

OWBI1::TempFileEnumerationImplBase::~TempFileEnumerationImplBase  )  [virtual]
 

Definition at line 91 of file OWBI1_TempFileEnumerationImplBase.cpp.

References m_data.

OWBI1::TempFileEnumerationImplBase::TempFileEnumerationImplBase const TempFileEnumerationImplBase  )  [private]
 


Member Function Documentation

void OWBI1::TempFileEnumerationImplBase::clear  ) 
 

Definition at line 107 of file OWBI1_TempFileEnumerationImplBase.cpp.

References m_data, and m_size.

bool OWBI1::TempFileEnumerationImplBase::hasMoreElements  )  const
 

Definition at line 96 of file OWBI1_TempFileEnumerationImplBase.cpp.

References m_size.

Referenced by throwIfEmpty().

size_t OWBI1::TempFileEnumerationImplBase::numberOfElements  )  const
 

Definition at line 102 of file OWBI1_TempFileEnumerationImplBase.cpp.

References m_size.

TempFileEnumerationImplBase& OWBI1::TempFileEnumerationImplBase::operator= const TempFileEnumerationImplBase  )  [private]
 

size_t OWBI1::TempFileEnumerationImplBase::readSize String const &  filename  )  [private]
 

Definition at line 135 of file OWBI1_TempFileEnumerationImplBase.cpp.

References OWBI1::String::c_str(), OW_NAMESPACE::FileSystem::openFile(), OWBI1_THROW, and OWBI1::TEMPFILE_ENUMERATION_SIG.

String OWBI1::TempFileEnumerationImplBase::releaseFile  ) 
 

Definition at line 113 of file OWBI1_TempFileEnumerationImplBase.cpp.

References m_data, m_size, and OWBI1_THROW.

void OWBI1::TempFileEnumerationImplBase::throwIfEmpty  )  const [protected]
 

Definition at line 178 of file OWBI1_TempFileEnumerationImplBase.cpp.

References hasMoreElements(), and OWBI1_THROW.

Referenced by OWBI1::TempFileEnumerationImpl< T >::nextElement().

bool OWBI1::TempFileEnumerationImplBase::usingTempFile  )  const
 

Definition at line 129 of file OWBI1_TempFileEnumerationImplBase.cpp.

References m_data.


Member Data Documentation

::OpenWBEM::TempFileStream* OWBI1::TempFileEnumerationImplBase::m_data [protected]
 

Definition at line 73 of file OWBI1_TempFileEnumerationImplBase.hpp.

Referenced by OWBI1::TempFileEnumerationImpl< T >::addElement(), clear(), OWBI1::TempFileEnumerationImpl< T >::nextElement(), releaseFile(), TempFileEnumerationImplBase(), usingTempFile(), and ~TempFileEnumerationImplBase().

size_t OWBI1::TempFileEnumerationImplBase::m_size [protected]
 

Definition at line 72 of file OWBI1_TempFileEnumerationImplBase.hpp.

Referenced by OWBI1::TempFileEnumerationImpl< T >::addElement(), clear(), hasMoreElements(), OWBI1::TempFileEnumerationImpl< T >::nextElement(), numberOfElements(), and releaseFile().


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:18:45 2006 for openwbem by  doxygen 1.4.6