Interface of the IVF archive input class. More...
#include <Ivf/IvfArchiveInput.h>
Public Member Functions | |
CIvfArchiveInput () | |
CIvfArchiveInput (CArchive *ar) | |
virtual | ~CIvfArchiveInput () |
virtual SbBool | get (char &c) |
virtual SbBool | read (char &c) |
virtual SbBool | read (SbString &s) |
virtual SbBool | read (SbName &n, SbBool validIdent=FALSE) |
virtual SbBool | read (int &i) |
virtual SbBool | read (unsigned int &i) |
virtual SbBool | read (short &s) |
virtual SbBool | read (unsigned short &s) |
virtual SbBool | read (float &f) |
virtual SbBool | read (double &d) |
virtual SbBool | readBinaryArray (int32_t *l, int length) |
virtual SbBool | readBinaryArray (float *f, int length) |
virtual SbBool | readBinaryArray (double *d, int length) |
virtual SbBool | eof () const |
virtual void | putBack (char c) |
virtual void | putBack (const char *string) |
virtual SbBool | getASCIIFile (char &c) |
Interface of the IVF archive input class.
SoInput derived class to handle performing input on MFC CArchive objects.
Note: Although the class name is CIvfArchiveInput, the header file name is IvfArchiveInput.h.
CIvfApp, CIvfArchiveOutput, CIvfComponent, CIvfDocument, CIvfMainFrame
CIvfArchiveInput::CIvfArchiveInput | ( | ) |
Constructors.
CIvfArchiveInput::CIvfArchiveInput | ( | CArchive * | ar | ) |
Constructors.
virtual CIvfArchiveInput::~CIvfArchiveInput | ( | ) | [virtual] |
Destructors.
virtual SbBool CIvfArchiveInput::eof | ( | ) | const [virtual] |
Returns TRUE if current file/buffer is at EOF.
Reimplemented from SoInput.
virtual SbBool CIvfArchiveInput::get | ( | char & | c | ) | [virtual] |
Reads next character from current file/buffer.
Returns FALSE on EOF or error.
Reimplemented from SoInput.
virtual SbBool CIvfArchiveInput::getASCIIFile | ( | char & | c | ) | [virtual] |
Reads next ASCII character from current file.
Returns FALSE on EOF or error.
Reimplemented from SoInput.
virtual void CIvfArchiveInput::putBack | ( | const char * | string | ) | [virtual] |
Puts a just-read character or string back in input stream/buffer.
Reimplemented from SoInput.
virtual void CIvfArchiveInput::putBack | ( | char | c | ) | [virtual] |
Puts a just-read character or string back in input stream/buffer.
Reimplemented from SoInput.
virtual SbBool CIvfArchiveInput::read | ( | double & | d | ) | [virtual] |
Reads item of particular type from current file pointer/buffer.
All skip white space before reading and return FALSE on EOF or if item could not be read.
Reimplemented from SoInput.
virtual SbBool CIvfArchiveInput::read | ( | float & | f | ) | [virtual] |
Reads item of particular type from current file pointer/buffer.
All skip white space before reading and return FALSE on EOF or if item could not be read.
Reimplemented from SoInput.
virtual SbBool CIvfArchiveInput::read | ( | unsigned short & | s | ) | [virtual] |
Reads item of particular type from current file pointer/buffer.
All skip white space before reading and return FALSE on EOF or if item could not be read.
Reimplemented from SoInput.
virtual SbBool CIvfArchiveInput::read | ( | short & | s | ) | [virtual] |
Reads item of particular type from current file pointer/buffer.
All skip white space before reading and return FALSE on EOF or if item could not be read.
Reimplemented from SoInput.
virtual SbBool CIvfArchiveInput::read | ( | unsigned int & | i | ) | [virtual] |
Reads item of particular type from current file pointer/buffer.
All skip white space before reading and return FALSE on EOF or if item could not be read.
virtual SbBool CIvfArchiveInput::read | ( | int & | i | ) | [virtual] |
Reads item of particular type from current file pointer/buffer.
All skip white space before reading and return FALSE on EOF or if item could not be read.
Reads item of particular type from current file pointer/buffer.
All skip white space before reading and return FALSE on EOF or if item could not be read.
Reimplemented from SoInput.
Reads item of particular type from current file pointer/buffer.
All skip white space before reading and return FALSE on EOF or if item could not be read.
Reimplemented from SoInput.
virtual SbBool CIvfArchiveInput::read | ( | char & | c | ) | [virtual] |
Reads item of particular type from current file pointer/buffer.
All skip white space before reading and return FALSE on EOF or if item could not be read.
Reimplemented from SoInput.
virtual SbBool CIvfArchiveInput::readBinaryArray | ( | double * | d, | |
int | length | |||
) | [virtual] |
Reads item of particular type from current file pointer/buffer.
All skip white space before reading and return FALSE on EOF or if item could not be read.
Reimplemented from SoInput.
virtual SbBool CIvfArchiveInput::readBinaryArray | ( | float * | f, | |
int | length | |||
) | [virtual] |
Reads item of particular type from current file pointer/buffer.
All skip white space before reading and return FALSE on EOF or if item could not be read.
Reimplemented from SoInput.
virtual SbBool CIvfArchiveInput::readBinaryArray | ( | int32_t * | l, | |
int | length | |||
) | [virtual] |
Reads item of particular type from current file pointer/buffer.
All skip white space before reading and return FALSE on EOF or if item could not be read.
Reimplemented from SoInput.