BLOCXX_NAMESPACE::TmpFile Class Reference

#include <TmpFile.hpp>

List of all members.

Public Member Functions

 TmpFile ()
 TmpFile (String const &filename)
 TmpFile (const TmpFile &arg)
TmpFileoperator= (const TmpFile &arg)
 ~TmpFile ()
size_t read (void *bfr, size_t numberOfBytes, long offset=-1L)
size_t write (const void *bfr, size_t numberOfBytes, long offset=-1L)
int seek (long offset, int whence=SEEK_SET)
long tell ()
void rewind ()
int flush ()
void newFile ()
long getSize ()
String releaseFile ()

Private Attributes

IntrusiveReference
< TmpFileImpl
m_impl


Detailed Description

Definition at line 92 of file TmpFile.hpp.


Constructor & Destructor Documentation

BLOCXX_NAMESPACE::TmpFile::TmpFile (  )  [inline]

Definition at line 95 of file TmpFile.hpp.

BLOCXX_NAMESPACE::TmpFile::TmpFile ( String const &  filename  )  [inline]

Definition at line 97 of file TmpFile.hpp.

BLOCXX_NAMESPACE::TmpFile::TmpFile ( const TmpFile arg  )  [inline]

Definition at line 100 of file TmpFile.hpp.

BLOCXX_NAMESPACE::TmpFile::~TmpFile (  )  [inline]

Definition at line 107 of file TmpFile.hpp.


Member Function Documentation

TmpFile& BLOCXX_NAMESPACE::TmpFile::operator= ( const TmpFile arg  )  [inline]

Definition at line 102 of file TmpFile.hpp.

References m_impl.

size_t BLOCXX_NAMESPACE::TmpFile::read ( void *  bfr,
size_t  numberOfBytes,
long  offset = -1L 
) [inline]

Definition at line 108 of file TmpFile.hpp.

Referenced by BLOCXX_NAMESPACE::TempFileBuffer::buffer_from_device().

size_t BLOCXX_NAMESPACE::TmpFile::write ( const void *  bfr,
size_t  numberOfBytes,
long  offset = -1L 
) [inline]

Definition at line 112 of file TmpFile.hpp.

Referenced by BLOCXX_NAMESPACE::TempFileBuffer::buffer_to_device().

int BLOCXX_NAMESPACE::TmpFile::seek ( long  offset,
int  whence = SEEK_SET 
) [inline]

Definition at line 116 of file TmpFile.hpp.

Referenced by BLOCXX_NAMESPACE::TempFileBuffer::overflow(), BLOCXX_NAMESPACE::TempFileBuffer::rewind(), BLOCXX_NAMESPACE::TempFileBuffer::TempFileBuffer(), and BLOCXX_NAMESPACE::TempFileBuffer::underflow().

long BLOCXX_NAMESPACE::TmpFile::tell (  )  [inline]

Definition at line 118 of file TmpFile.hpp.

Referenced by BLOCXX_NAMESPACE::TempFileBuffer::overflow(), BLOCXX_NAMESPACE::TempFileBuffer::TempFileBuffer(), and BLOCXX_NAMESPACE::TempFileBuffer::underflow().

void BLOCXX_NAMESPACE::TmpFile::rewind (  )  [inline]

Definition at line 119 of file TmpFile.hpp.

Referenced by BLOCXX_NAMESPACE::TempFileBuffer::TempFileBuffer().

int BLOCXX_NAMESPACE::TmpFile::flush (  )  [inline]

Definition at line 120 of file TmpFile.hpp.

void BLOCXX_NAMESPACE::TmpFile::newFile (  )  [inline]

Definition at line 121 of file TmpFile.hpp.

long BLOCXX_NAMESPACE::TmpFile::getSize (  )  [inline]

Definition at line 122 of file TmpFile.hpp.

Referenced by BLOCXX_NAMESPACE::TempFileBuffer::getSize().

String BLOCXX_NAMESPACE::TmpFile::releaseFile (  )  [inline]

Definition at line 123 of file TmpFile.hpp.

Referenced by BLOCXX_NAMESPACE::TempFileBuffer::releaseFile().


Member Data Documentation

IntrusiveReference<TmpFileImpl> BLOCXX_NAMESPACE::TmpFile::m_impl [private]

Definition at line 131 of file TmpFile.hpp.

Referenced by operator=().


The documentation for this class was generated from the following file:
Generated on Fri Sep 21 23:42:38 2007 for blocxx by  doxygen 1.5.3