CIvfArchiveInput Class Reference
[Ivf Classes]

Interface of the IVF archive input class. More...

#include <Ivf/IvfArchiveInput.h>

Inheritance diagram for CIvfArchiveInput:
SoInput

List of all members.

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)

Detailed Description

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.

SEE ALSO

CIvfApp, CIvfArchiveOutput, CIvfComponent, CIvfDocument, CIvfMainFrame

Deprecated:

Deprecated since Open Inventor 9500
The whole Ivf viewer API is no longer supported. Examples of custom viewers can be found in section MFC examples user interface of the Reference Manual.

Constructor & Destructor Documentation

CIvfArchiveInput::CIvfArchiveInput (  ) 

Constructors.

CIvfArchiveInput::CIvfArchiveInput ( CArchive *  ar  ) 

Constructors.

virtual CIvfArchiveInput::~CIvfArchiveInput (  )  [virtual]

Destructors.


Member Function Documentation

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.

virtual SbBool CIvfArchiveInput::read ( SbName n,
SbBool  validIdent = FALSE 
) [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 ( SbString 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 ( 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.


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

Open Inventor Toolkit reference manual, generated on 18 Jul 2022
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/