LightWrap++
AC++wrapperfortheLightWave3DSDK
lwpp::LoadState Class Reference

Wrapper for a LW save state. More...

#include <io.h>

List of all members.

Public Member Functions

 LoadState (const LWLoadState *load)
int Depth (void) const
void End (void) const
const bool Eof (void) const
LWID Find (const LWBlockIdent *id) const
const LWLoadState * getState () const
bool isValid ()
int LastRC ()
const LWLoadState * operator-> () const
void read (float *f, int length) const
void read (double *d, int length) const
LWError read (lwpp::Storeable &object) const
void read (bool &b) const
void read (unsigned char &c) const
void read (char &c) const
void read (unsigned short &s) const
void read (short &s) const
void read (unsigned int &i) const
void read (int &i) const
void read (float &f) const
void read (double &d) const
void read (std::string &str) const
bool readBool (void) const
char readChar (void) const
double readDouble (void) const
float readFloat (void) const
int readInt (void) const
short readShort (void) const
void readString (char *buffer, int max) const
std::string readString () const
unsigned char readUChar (void) const
unsigned int readUInt (void) const
unsigned short readUShort (void) const
const int Status (void) const

Protected Member Functions

int read (char *data, int len=1) const

Protected Attributes

const LWLoadState * ls
int rc

Detailed Description

Wrapper for a LW save state.


Constructor & Destructor Documentation

lwpp::LoadState::LoadState ( const LWLoadState *  load)
inline

Member Function Documentation

int lwpp::LoadState::Depth ( void  ) const
inline
void lwpp::LoadState::End ( void  ) const
inline
const bool lwpp::LoadState::Eof ( void  ) const
inline
LWID lwpp::LoadState::Find ( const LWBlockIdent *  id) const
inline
const LWLoadState* lwpp::LoadState::getState ( void  ) const
inline
bool lwpp::LoadState::isValid ( )
inline
int lwpp::LoadState::LastRC ( )
inline
const LWLoadState* lwpp::LoadState::operator-> ( ) const
inline
int lwpp::LoadState::read ( char *  data,
int  len = 1 
) const
inlineprotected
void lwpp::LoadState::read ( float *  f,
int  length 
) const
inline
void lwpp::LoadState::read ( double *  d,
int  length 
) const
inline
LWError lwpp::LoadState::read ( lwpp::Storeable object) const
void lwpp::LoadState::read ( bool &  b) const
inline
void lwpp::LoadState::read ( unsigned char &  c) const
inline
void lwpp::LoadState::read ( char &  c) const
inline
void lwpp::LoadState::read ( unsigned short &  s) const
inline
void lwpp::LoadState::read ( short &  s) const
inline
void lwpp::LoadState::read ( unsigned int &  i) const
inline
void lwpp::LoadState::read ( int &  i) const
inline
void lwpp::LoadState::read ( float &  f) const
inline
void lwpp::LoadState::read ( double &  d) const
inline
void lwpp::LoadState::read ( std::string &  str) const
inline
bool lwpp::LoadState::readBool ( void  ) const
inline
char lwpp::LoadState::readChar ( void  ) const
inline
double lwpp::LoadState::readDouble ( void  ) const
inline
float lwpp::LoadState::readFloat ( void  ) const
inline
int lwpp::LoadState::readInt ( void  ) const
inline
short lwpp::LoadState::readShort ( void  ) const
inline
void lwpp::LoadState::readString ( char *  buffer,
int  max 
) const
inline
std::string lwpp::LoadState::readString ( ) const
inline
unsigned char lwpp::LoadState::readUChar ( void  ) const
inline
unsigned int lwpp::LoadState::readUInt ( void  ) const
inline
unsigned short lwpp::LoadState::readUShort ( void  ) const
inline
const int lwpp::LoadState::Status ( void  ) const
inline

Member Data Documentation

const LWLoadState* lwpp::LoadState::ls
protected
int lwpp::LoadState::rc
mutableprotected

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