BazisLib::_Core::_TextFile< _CharType, _LineEnding, _LineEndingCharCount > Class Template Reference

#include <textfile.h>

Collaboration diagram for BazisLib::_Core::_TextFile< _CharType, _LineEnding, _LineEndingCharCount >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 _TextFile (ManagedPointer< BazisLib::AIFile > pFile)
bool IsEOF ()
bool HasMoreData ()
bool Valid ()
std::basic_string< _CharType > ReadLine ()

Private Types

enum  { ReadChunkSize = 50 }

Private Member Functions

 DECLARE_REFERENCE (BazisLib::AIFile, m_pFile)

Private Attributes

BazisLib::CBuffer m_Buffer
unsigned m_PendingLine
bool m_bEOF

template<class _CharType, unsigned _LineEnding, unsigned _LineEndingCharCount>
class BazisLib::_Core::_TextFile< _CharType, _LineEnding, _LineEndingCharCount >


Member Enumeration Documentation

template<class _CharType , unsigned _LineEnding, unsigned _LineEndingCharCount>
anonymous enum [private]

Enumerator:
ReadChunkSize 


Constructor & Destructor Documentation

template<class _CharType , unsigned _LineEnding, unsigned _LineEndingCharCount>
BazisLib::_Core::_TextFile< _CharType, _LineEnding, _LineEndingCharCount >::_TextFile ( ManagedPointer< BazisLib::AIFile pFile  )  [inline]

Here is the call graph for this function:


Member Function Documentation

template<class _CharType , unsigned _LineEnding, unsigned _LineEndingCharCount>
BazisLib::_Core::_TextFile< _CharType, _LineEnding, _LineEndingCharCount >::DECLARE_REFERENCE ( BazisLib::AIFile  ,
m_pFile   
) [private]

template<class _CharType , unsigned _LineEnding, unsigned _LineEndingCharCount>
bool BazisLib::_Core::_TextFile< _CharType, _LineEnding, _LineEndingCharCount >::HasMoreData (  )  [inline]

Here is the call graph for this function:

template<class _CharType , unsigned _LineEnding, unsigned _LineEndingCharCount>
bool BazisLib::_Core::_TextFile< _CharType, _LineEnding, _LineEndingCharCount >::IsEOF (  )  [inline]

Here is the call graph for this function:

template<class _CharType , unsigned _LineEnding, unsigned _LineEndingCharCount>
std::basic_string<_CharType> BazisLib::_Core::_TextFile< _CharType, _LineEnding, _LineEndingCharCount >::ReadLine (  )  [inline]

Here is the call graph for this function:

template<class _CharType , unsigned _LineEnding, unsigned _LineEndingCharCount>
bool BazisLib::_Core::_TextFile< _CharType, _LineEnding, _LineEndingCharCount >::Valid (  )  [inline]


Member Data Documentation

template<class _CharType , unsigned _LineEnding, unsigned _LineEndingCharCount>
bool BazisLib::_Core::_TextFile< _CharType, _LineEnding, _LineEndingCharCount >::m_bEOF [private]

template<class _CharType , unsigned _LineEnding, unsigned _LineEndingCharCount>
BazisLib::CBuffer BazisLib::_Core::_TextFile< _CharType, _LineEnding, _LineEndingCharCount >::m_Buffer [private]

template<class _CharType , unsigned _LineEnding, unsigned _LineEndingCharCount>
unsigned BazisLib::_Core::_TextFile< _CharType, _LineEnding, _LineEndingCharCount >::m_PendingLine [private]


The documentation for this class was generated from the following file:
SourceForge.net Logo