Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

CTextStream Class Reference

#include <textstream.h>

List of all members.

Public Methods

 CTextStream ()
virtual ~CTextStream ()
LTRESULT Open (char *szFilename)
void Close ()
LTRESULT SeekToSection (char *szSection, bool &bFound)
LTRESULT ReadLine (char *pDest, const uint32 nSize)
LTRESULT ReadVal (uint32 *pVal)
LTRESULT ReadStringList (char *szSection, char *pDest, uint32 nMaxStrings, uint32 nMaxChars)

Protected Methods

void TruncateWhitespace (char *pBuffer)

Protected Attributes

char m_szFilename [255]
ILTStream * m_pStream
uint32 m_iPos
char m_Buffer [TEXT_STREAM_BUFFER_SIZE+1]


Constructor & Destructor Documentation

CTextStream::CTextStream  
 

CTextStream::~CTextStream   [virtual]
 


Member Function Documentation

void CTextStream::Close  
 

LTRESULT CTextStream::Open char *    szFilename
 

LTRESULT CTextStream::ReadLine char *    pDest,
const uint32    nSize
 

LTRESULT CTextStream::ReadStringList char *    szSection,
char *    pDest,
uint32    nMaxStrings,
uint32    nMaxChars
 

LTRESULT CTextStream::ReadVal uint32 *    pVal
 

LTRESULT CTextStream::SeekToSection char *    szSection,
bool &    bFound
 

void CTextStream::TruncateWhitespace char *    pBuffer [protected]
 


Member Data Documentation

char CTextStream::m_Buffer[TEXT_STREAM_BUFFER_SIZE+1] [protected]
 

uint32 CTextStream::m_iPos [protected]
 

ILTStream* CTextStream::m_pStream [protected]
 

char CTextStream::m_szFilename[255] [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Mar 4 08:42:26 2002 for Aria by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002