Back AAM-API documentation The AAM-Site

In file AAMObject.h:

class CAAMObject

Abstract base object for the AAM-API.

Inheritance:

CAAMObject


Public Methods

[more] CAAMObject()
Constructor.
[more]void Dump( const char* szPath ) const
Writes object specific data to text file(s).
[more]void FromFile( const char* szFilename )
Reads an object from a binary file.
[more]void FromFile( FILE* fh )
Reads an object from a binary file.
[more]void ToFile( FILE* fh ) const
Write the object to a binary file.
[more]void ToFile( const char* szFilename ) const
Write the object to a binary file.
[more] ~CAAMObject()
Destructor.


Documentation

Abstract base object for the AAM-API. Doesn't do much aside from devising a common way to save and dump objects.

o CAAMObject()

Constructor.

Returns:
Nothing.
Author:
Mikkel B. Stegmann
Version:
10-19-2000

o ~CAAMObject()

Destructor.

Returns:
Nothing.
Author:
Mikkel B. Stegmann
Version:
10-19-2000

ovoid ToFile( const char* szFilename ) const

Write the object to a binary file. This is a very old-school load/save function. Maybe we should look into serialization some day.

Parameters:
szFilename - Destination filename.
Returns:
Nothing. @throws CVisError
Author:
Mikkel B. Stegmann
Version:
10-18-2000
See Also:
FromFile

ovoid ToFile( FILE* fh ) const

Write the object to a binary file. This is a very old-school load/save function. Maybe we should look into serialization some day.

Parameters:
fh - Handle to an open file.
Returns:
Nothing. @throws CVisError
Author:
Mikkel B. Stegmann
Version:
10-18-2000
See Also:
FromFile

ovoid FromFile( const char* szFilename )

Reads the object to a binary file. This is a very old-school load/save function. Maybe we should look into serialization some day.

Parameters:
szFilename - Destination filename.
Returns:
Nothing. @throws CVisError
Author:
Mikkel B. Stegmann
Version:
10-18-2000
See Also:
ToFile

ovoid FromFile( FILE* fh )

Reads the object to a binary file. This is a very old-school load/save function. Maybe we should look into serialization some day.

Parameters:
fh - Handle to an open file.
Returns:
Nothing. @throws CVisError
Author:
Mikkel B. Stegmann
Version:
10-18-2000
See Also:
ToFile

ovoid Dump( const char* szPath ) const

Debug method that provides a human readable file dump of the object data.

Parameters:
szPath - Path including terminating backslash where the data is dumped.
Returns:
Nothing. @throws CVisError
Author:
Mikkel B. Stegmann
Version:
10-18-2000


Direct child classes:
CAAMWarp
CAAMUtil
CAAMTransferFunction
CAAMTest
CAAMShapeCollection
CAAMShape
CAAMPropsReader
CAAMOptimize
CAAMModelSeq
CAAMModel
CAAMMesh
CAAMLog
CAAMLinearReg
CAAMInitialize
CAAMDelaunay
CAAMDeform
CAAMBuilder
Author:
Mikkel B. Stegmann
Version:
10-19-2000

Alphabetic index Hierarchy of classes


Back AAM-API documentation The AAM-Site