reader Class Reference

#include <tags.h>

Collaboration diagram for reader:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 reader (const std::string &filename, int minorVersion=TAG_MINOR_INVALID)
 reader (FILE *input, int minorVersion=TAG_MINOR_INVALID)
 reader (const std::vector< unsigned char > &input, int minorVersion=TAG_MINOR_INVALID)
 reader (package *save, const std::string &chunkname, int minorVersion=TAG_MINOR_INVALID)
 ~reader ()
unsigned char readByte ()
void read (void *data, size_t size)
void advance (size_t size)
int getMinorVersion () const
void setMinorVersion (int minorVersion)
bool valid () const
void fail_if_not_eof (const std::string &name)
void close ()
std::string filename () const

Friends

int unmarshallEnumVal (reader &, const enum_info *)


Constructor & Destructor Documentation

reader::reader ( const std::string filename,
int  minorVersion = TAG_MINOR_INVALID 
)

reader::reader ( FILE *  input,
int  minorVersion = TAG_MINOR_INVALID 
) [inline]

reader::reader ( const std::vector< unsigned char > &  input,
int  minorVersion = TAG_MINOR_INVALID 
) [inline]

reader::reader ( package save,
const std::string chunkname,
int  minorVersion = TAG_MINOR_INVALID 
)

reader::~reader (  ) 

Here is the call graph for this function:


Member Function Documentation

unsigned char reader::readByte (  ) 

Here is the call graph for this function:

void reader::read ( void *  data,
size_t  size 
)

Here is the call graph for this function:

void reader::advance ( size_t  size  ) 

Here is the call graph for this function:

int reader::getMinorVersion (  )  const

void reader::setMinorVersion ( int  minorVersion  ) 

bool reader::valid (  )  const

void reader::fail_if_not_eof ( const std::string name  ) 

Here is the call graph for this function:

void reader::close (  ) 

std::string reader::filename (  )  const [inline]


Friends And Related Function Documentation

int unmarshallEnumVal ( reader ,
const enum_info  
) [friend]


The documentation for this class was generated from the following files:

Generated on Thu Jan 13 13:41:30 2011 by  doxygen 1.5.6