HyperFile Class Reference

#include <c4d_hyperfile.h>

Public Member Functions

Int32 GetFileVersion ()
 
Bool CheckIt (HYPERFILEVALUE type)
 

Protected Member Functions

Bool WriteVReal (Float v)
 
Bool ReadVReal (Float *v)
 
CINEMA4D_VERSION GetCinema4DVersion ()
 
void SetCinema4DVersion (CINEMA4D_VERSION version)
 

Protected Attributes

AliasTransaliastrans
 

Private Member Functions

void ReadStatus ()
 
void WriteStatus ()
 
Bool ReadDummy (Int64 n)
 
void SetFileVersion (Int32 version)
 
Bool ReadContainerV7 (BaseContainer *v, Bool flush)
 
Bool ReadContainerV8 (BaseContainer *v, Bool flush)
 

Private Attributes

BaseFile file
 
FILEERROR error
 
Bool ascii
 
Bool singleprecision
 
FILEOPEN mode
 
Int64 flen
 
Int32 last_b
 
void * data
 
BaseDocumentdoc
 
Int32 fileversion
 
Int32 chunkdepth
 
LoadStatusCallbackcallbackloadstatus
 
SaveStatusCallbackcallbacksavestatus
 
void * callbackUserDataAtLoad
 
void * callbackUserDataAtSave
 
CINEMA4D_VERSION cinema4dSaveVersion
 

Friends

class BaseLink
 
class GeAliasGoal
 
class BaseDocument
 
class IpCommunicationThread
 
class Material
 

Constructor/Destructor

 HyperFile (BaseDocument *t_doc=nullptr)
 
virtual ~HyperFile ()
 

Document

BaseDocumentGetDocument ()
 

Length/Position

Int64 GetLength ()
 
Int64 GetPosition ()
 

Open/Close

Bool Open (Int32 ident, const Filename &name, FILEOPEN mod, FILEDIALOG error_dialog=FILEDIALOG_NONE)
 
Bool Close ()
 

Value

Bool ReadValueHeader (HYPERFILEVALUE *h)
 
Bool SkipValue (HYPERFILEVALUE h)
 

Start/End Chunk

Bool ReadChunkStart (Int32 *id, Int32 *level)
 
Bool ReadChunkEnd ()
 
Bool WriteChunkStart (Int32 id, Int32 level)
 
Bool WriteChunkEnd ()
 
Bool SkipToEndChunk ()
 

Read

Bool ReadChar (Char *v)
 
Bool ReadUChar (UChar *v)
 
Bool ReadInt16 (Int16 *v)
 
Bool ReadUInt16 (UInt16 *v)
 
Bool ReadInt32 (Int32 *v)
 
Bool ReadUInt32 (UInt32 *v)
 
Bool ReadInt64 (Int64 *v)
 
Bool ReadUInt64 (UInt64 *v)
 
Bool ReadFloat (Float *v)
 
Bool ReadFloat32 (Float32 *v)
 
Bool ReadFloat64 (Float64 *v)
 
Bool ReadBool (Bool *v)
 
Bool ReadTime (BaseTime *v)
 
Bool ReadVector (Vector *v)
 
Bool ReadVector32 (Vector32 *v)
 
Bool ReadVector64 (Vector64 *v)
 
Bool ReadMatrix (Matrix *v)
 
Bool ReadMatrix32 (Matrix32 *v)
 
Bool ReadMatrix64 (Matrix64 *v)
 
Bool ReadString (String *v)
 
Bool ReadFilename (Filename *v)
 
Bool ReadImage (BaseBitmap *v)
 
Bool ReadGeData (GeData &v)
 
Bool ReadContainer (BaseContainer *v, Bool flush)
 
Bool ReadArray (void *data, HYPERFILEARRAY datatype, Int32 structure_increment, Int32 count)
 
Bool ReadMemory (void **data, Int *size)
 
Bool ReadUnknownChunk (void **mem, Int *size, Bool dontreadendbyte)
 
Bool ReadFloat32ArrayEx (Float32 **data, Int32 *count)
 
Bool ReadVectorArrayEx (Vector **data, Int32 *count)
 
Bool ReadPolygonArrayEx (CPolygon **data, Int32 *count)
 
Bool ReadUInt16ArrayEx (UInt16 **data, Int32 *count)
 

Write

Bool WriteChar (Char v)
 
Bool WriteUChar (UChar v)
 
Bool WriteInt16 (Int16 v)
 
Bool WriteUInt16 (UInt16 v)
 
Bool WriteInt32 (Int32 v)
 
Bool WriteUInt32 (UInt32 v)
 
Bool WriteInt64 (Int64 v)
 
Bool WriteFloat32 (Float32 v)
 
Bool WriteFloat (Float v)
 
Bool WriteFloat64 (Float64 v)
 
Bool WriteBool (Bool v)
 
Bool WriteTime (const BaseTime &v)
 
Bool WriteVector (const Vector &v)
 
Bool WriteVector32 (const Vector32 &v)
 
Bool WriteVector64 (const Vector64 &v)
 
Bool WriteMatrix (const Matrix &v)
 
Bool WriteMatrix32 (const Matrix32 &v)
 
Bool WriteMatrix64 (const Matrix64 &v)
 
Bool WriteString (const String &v)
 
Bool WriteFilename (const Filename &v)
 
Bool WriteGeData (const GeData &v)
 
Bool WriteContainer (const BaseContainer &v)
 
Bool WriteImage (BaseBitmap *bmp, Int32 type, BaseContainer *data, SAVEBIT savebits=SAVEBIT_ALPHA)
 
Bool WriteArray (const void *data, HYPERFILEARRAY datatype, Int32 structure_increment, Int32 count)
 
Bool WriteMemory (const void *data, Int count)
 
Bool WriteUnknownChunk (const void *mem, Int size, Bool endchunkNOTincluded)
 

Error

FILEERROR GetError ()
 
void SetError (FILEERROR err)
 

LoadStatus Callback

void SetLoadStatusCallback (LoadStatusCallback cb, void *ud)
 
void SetSaveStatusCallback (SaveStatusCallback cb, void *ud)
 

Private

void * GetPrivateData ()
 
void SetPrivateData (void *t_data)
 
Bool Before8 ()
 
Bool Before12 ()
 

Detailed Description

Hyper files are used to save plugin data that cannot be stored in a BaseContainer.
Access to the hyper file's data is like a FIFO (first in, first out) buffer; the values must written and read in the same order.

Constructor & Destructor Documentation

◆ HyperFile()

HyperFile ( BaseDocument t_doc = nullptr)

Constructs a hyper file for a Cinema 4D document.

Parameters
[in]t_docThe document for the hyper file.

◆ ~HyperFile()

virtual ~HyperFile ( )
virtual

Default destructor.

Member Function Documentation

◆ ReadStatus()

void ReadStatus ( )
private

◆ WriteStatus()

void WriteStatus ( )
private

◆ ReadDummy()

Bool ReadDummy ( Int64  n)
private

◆ SetFileVersion()

void SetFileVersion ( Int32  version)
private

◆ ReadContainerV7()

Bool ReadContainerV7 ( BaseContainer v,
Bool  flush 
)
private

◆ ReadContainerV8()

Bool ReadContainerV8 ( BaseContainer v,
Bool  flush 
)
private

◆ WriteVReal()

Bool WriteVReal ( Float  v)
protected

◆ ReadVReal()

Bool ReadVReal ( Float v)
protected

◆ GetCinema4DVersion()

CINEMA4D_VERSION GetCinema4DVersion ( )
protected

◆ SetCinema4DVersion()

void SetCinema4DVersion ( CINEMA4D_VERSION  version)
protected

◆ GetDocument()

BaseDocument* GetDocument ( )

Gets the active document for the hyper file operation. Can be nullptr, for example when saving layouts.

Returns
The document for the hyper file operation.

◆ GetLength()

Int64 GetLength ( )

Gets the length of the file in bytes.

Returns
The byte length of the file.

◆ GetPosition()

Int64 GetPosition ( )

Gets the position of the current file pointer.

Returns
The current file pointer.

◆ Open()

Bool Open ( Int32  ident,
const Filename name,
FILEOPEN  mod,
FILEDIALOG  error_dialog = FILEDIALOG_NONE 
)

Opens the hyper file.

Parameters
[in]identFile identification.
[in]nameFile to open.
[in]modFile mode.
[in]error_dialogFile error dialog.
Returns
true if the hyper file could be opened, otherwise false.

◆ Close()

Bool Close ( )

Closes the hyper file.

Returns
true if the hyper file could be closed, otherwise false.

◆ GetFileVersion()

Int32 GetFileVersion ( )

Gets the version of Cinema 4D that wrote the file. (Only valid during reading a Cinema 4D scene, object, material etc.)

Returns
The file version.

◆ CheckIt()

Bool CheckIt ( HYPERFILEVALUE  type)

Checks the data type in the hyper file at the current file position.

Parameters
[in]typeThe type to check.
Returns
true if the current type is equal to type, otherwise false.

◆ ReadValueHeader()

Bool ReadValueHeader ( HYPERFILEVALUE h)

Reads the value header from the file. This is only necessary in combination with loops.
For example:

static Bool ReadSettings(BaseObject *op, HyperFile *hf, Int32 level)
{
Int32 id, level, v;
String test;
while (hf->ReadValueHeader(&h) && h==HYPERFILEVALUE_START)
{
if (!hf->ReadChunkStart(&id, &level))
return false;
if (id==2)
{
hf->ReadInt32(&v);
hf->ReadInt32(&v);
}
else if (id==3)
{
hf->ReadInt32(&v);
hf->ReadInt32(&v);
hf->ReadInt32(&v);
}
hf->SkipToEndChunk(); // Never forget this at the end
if (id==0)
break; // Chunk ID 0 is end chunk
}
hf->ReadString(test);
return true;
}
Parameters
[in]hA pointer to a HYPERFILEVALUE.
Returns
true if the header was read successfully, otherwise false.

◆ SkipValue()

Bool SkipValue ( HYPERFILEVALUE  h)

Skips a given type of value.

Parameters
[in]hThe hyper file value to skip.
Returns
true if the value was of the given header type and it was skipped, otherwise false.

◆ ReadChunkStart()

Bool ReadChunkStart ( Int32 id,
Int32 level 
)

Reads a chunk identification from the hyper file.

Parameters
[out]idAssigned the chunk ID.
[out]levelAssigned the chunk level.
Returns
true if the chunk start was read successfully, otherwise false.

◆ ReadChunkEnd()

Bool ReadChunkEnd ( )

Reads a chunk end marker from the hyper file.

Returns
true if the chunk end was read successfully, otherwise false.

◆ WriteChunkStart()

Bool WriteChunkStart ( Int32  id,
Int32  level 
)

Writes a chunk marker into the file indicating the beginning of a new chunk of data.

Parameters
[in]idThe ID for the chunk.
[in]levelIncrease this level to save/read new values.
Returns
true if the chunk identification was written successfully, otherwise false.

◆ WriteChunkEnd()

Bool WriteChunkEnd ( )

Writes a chunk ending marker into the hyper file.

Returns
true if the chunk end was written successfully, otherwise false.

◆ SkipToEndChunk()

Bool SkipToEndChunk ( )

Moves the file pointer to the end of the chunk.

Warning
Should always be called after having finished reading values from the current chunk.
Returns
true if the end of the chunk was found and sought, otherwise false.

◆ ReadChar()

Bool ReadChar ( Char v)

Reads a Char value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadUChar()

Bool ReadUChar ( UChar v)

Reads a UChar value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadInt16()

Bool ReadInt16 ( Int16 v)

Reads an Int16 value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadUInt16()

Bool ReadUInt16 ( UInt16 v)

Reads a UInt16 value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadInt32()

Bool ReadInt32 ( Int32 v)

Reads an Int32 value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadUInt32()

Bool ReadUInt32 ( UInt32 v)

Reads a UInt32 value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadInt64()

Bool ReadInt64 ( Int64 v)

Reads an Int64 value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadUInt64()

Bool ReadUInt64 ( UInt64 v)

Reads a UInt64 value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadFloat()

Bool ReadFloat ( Float v)

Reads a Float value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadFloat32()

Bool ReadFloat32 ( Float32 v)

Reads a Float32 value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadFloat64()

Bool ReadFloat64 ( Float64 v)

Reads a Float64 value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadBool()

Bool ReadBool ( Bool v)

Reads a Bool value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadTime()

Bool ReadTime ( BaseTime v)

Reads a BaseTime value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadVector()

Bool ReadVector ( Vector v)

Reads a Vector value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadVector32()

Bool ReadVector32 ( Vector32 v)

Reads a Vector32 value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadVector64()

Bool ReadVector64 ( Vector64 v)

Reads a Vector64 value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadMatrix()

Bool ReadMatrix ( Matrix v)

Reads a Matrix value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadMatrix32()

Bool ReadMatrix32 ( Matrix32 v)

Reads a Matrix32 value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadMatrix64()

Bool ReadMatrix64 ( Matrix64 v)

Reads a Matrix64 value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadString()

Bool ReadString ( String v)

Reads a String value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadFilename()

Bool ReadFilename ( Filename v)

Reads a Filename value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadImage()

Bool ReadImage ( BaseBitmap v)

Reads a BaseBitmap value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadGeData()

Bool ReadGeData ( GeData v)

Reads a GeData value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
Returns
Success of reading the value.

◆ ReadContainer()

Bool ReadContainer ( BaseContainer v,
Bool  flush 
)

Reads a BaseContainer value from the hyper file.

Parameters
[out]vAssigned the value read from the hyper file.
[in]flushSpecify if the container should be cleared before reading the new values.
Using false will merge the container with the one read from the file.
Returns
Success of reading the value.

◆ ReadArray()

Bool ReadArray ( void *  data,
HYPERFILEARRAY  datatype,
Int32  structure_increment,
Int32  count 
)

Reads an array of the specified datatype from the hyper file.

Parameters
[out]dataArray to be filled. The caller owns the pointed array.
[in]datatypeData type.
[in]structure_incrementSize of the data type (sizeof()).
[in]countNumber of elements in data.
Returns
Success of reading the array.

◆ ReadMemory()

Bool ReadMemory ( void **  data,
Int size 
)

Reads a block of memory from the hyper file.

Note
Only use this when really needed.Be aware that the byte sequences will not be platform independent. Example:
Int32 size;
void* data = nullptr;
Bool ok = ReadMemory(&data, &size);
Parameters
[out]dataPointer to the start of the memory block to read.
[out]sizeAssigned the byte size of the memory data read.
Returns
Success of reading the memory block.

◆ ReadUnknownChunk()

Bool ReadUnknownChunk ( void **  mem,
Int size,
Bool  dontreadendbyte 
)

Private. Internal.

◆ ReadFloat32ArrayEx()

Bool ReadFloat32ArrayEx ( Float32 **  data,
Int32 count 
)

Private. Internal.

◆ ReadVectorArrayEx()

Bool ReadVectorArrayEx ( Vector **  data,
Int32 count 
)

Private. Internal.

◆ ReadPolygonArrayEx()

Bool ReadPolygonArrayEx ( CPolygon **  data,
Int32 count 
)

Private. Internal.

◆ ReadUInt16ArrayEx()

Bool ReadUInt16ArrayEx ( UInt16 **  data,
Int32 count 
)

Private. Internal.

◆ WriteChar()

Bool WriteChar ( Char  v)

Writes a Char value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteUChar()

Bool WriteUChar ( UChar  v)

Writes a UChar value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteInt16()

Bool WriteInt16 ( Int16  v)

Writes an Int16 value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteUInt16()

Bool WriteUInt16 ( UInt16  v)

Writes a UInt16 value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteInt32()

Bool WriteInt32 ( Int32  v)

Writes an Int32 value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteUInt32()

Bool WriteUInt32 ( UInt32  v)

Writes an UInt32 value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteInt64()

Bool WriteInt64 ( Int64  v)

Writes an Int64 value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteFloat32()

Bool WriteFloat32 ( Float32  v)

Writes a Float32 value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteFloat()

Bool WriteFloat ( Float  v)

Writes a Float value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteFloat64()

Bool WriteFloat64 ( Float64  v)

Writes a Float64 value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteBool()

Bool WriteBool ( Bool  v)

Writes a Bool value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteTime()

Bool WriteTime ( const BaseTime v)

Writes a BaseTime value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteVector()

Bool WriteVector ( const Vector v)

Writes a Vector value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteVector32()

Bool WriteVector32 ( const Vector32 v)

Writes a Vector32 value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteVector64()

Bool WriteVector64 ( const Vector64 v)

Writes a Vector64 value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteMatrix()

Bool WriteMatrix ( const Matrix v)

Writes a Matrix value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteMatrix32()

Bool WriteMatrix32 ( const Matrix32 v)

Writes a Matrix32 value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteMatrix64()

Bool WriteMatrix64 ( const Matrix64 v)

Writes a Matrix64 value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteString()

Bool WriteString ( const String v)

Writes a String value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteFilename()

Bool WriteFilename ( const Filename v)

Writes a Filename value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteGeData()

Bool WriteGeData ( const GeData v)

Writes a GeData value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteContainer()

Bool WriteContainer ( const BaseContainer v)

Writes a BaseContainer value to the hyper file.

Parameters
[in]vThe value to write to the hyper file.
Returns
Success of writing the value.

◆ WriteImage()

Bool WriteImage ( BaseBitmap bmp,
Int32  type,
BaseContainer data,
SAVEBIT  savebits = SAVEBIT_ALPHA 
)

Writes a bitmap image to the hyper file.

Parameters
[in]bmpBitmap to write to the hyperfile. The caller owns the pointed bitmap.
[in]typeImage type.
[in]dataContainer with additional format settings, or nullptr
[in]savebitsSave bits.
Returns
Success of writing the bitmap.

◆ WriteArray()

Bool WriteArray ( const void *  data,
HYPERFILEARRAY  datatype,
Int32  structure_increment,
Int32  count 
)

Writes an array of the specified type datatype to the hyper file.

Parameters
[in]dataPointer to the array. The caller owns the pointed array.
[in]datatypeArray data type.
[in]structure_incrementSize of the data type (sizeof()).
[in]countNumber of elements in data.
Returns
Success of writing the array.

◆ WriteMemory()

Bool WriteMemory ( const void *  data,
Int  count 
)

Writes a block of memory to the hyper file.

Note
Only use this when really needed.Be aware that the byte sequences will not be platform independent.
Parameters
[in]dataStart of the memory block to write to the hyper file.
[in]countSize in bytes of the memory data to write.
Returns
Success of writing the memory block.

◆ WriteUnknownChunk()

Bool WriteUnknownChunk ( const void *  mem,
Int  size,
Bool  endchunkNOTincluded 
)

Private.

◆ GetError()

FILEERROR GetError ( )

Gets the error from the last hyper file operation.

Returns
The error.

◆ SetError()

void SetError ( FILEERROR  err)

Sets the error value for the hyper file.

Parameters
[in]errThe error.

◆ SetLoadStatusCallback()

void SetLoadStatusCallback ( LoadStatusCallback  cb,
void *  ud 
)

Sets the status for the loading of hyper files.

See also
SetSaveStatusCallback() Here is an example of usage to get the load progress:
void loadProgressCb(Int32 status, void *udata)
{
Int32 test = status; //For the read percentage of the file (0 - 100)
printf("%d",(int)status);
printf("%%");
printf(".");
}
// Set the callback for the load progress
newC4Dfile.SetLoadStatusCallback(loadProgressCb, nullptr);
Parameters
[in]cbLoad status callback.
[in]udUser data.

◆ SetSaveStatusCallback()

void SetSaveStatusCallback ( SaveStatusCallback  cb,
void *  ud 
)

Sets the status for the saving of hyper files.

See also
SetLoadStatusCallback()
Parameters
[in]cbSave status callback.
[in]udUser data.

◆ GetPrivateData()

void* GetPrivateData ( )

Private.

◆ SetPrivateData()

void SetPrivateData ( void *  t_data)

Private.

◆ Before8()

Bool Before8 ( )

Private.

◆ Before12()

Bool Before12 ( )

Private.

Friends And Related Function Documentation

◆ BaseLink

friend class BaseLink
friend

◆ GeAliasGoal

friend class GeAliasGoal
friend

◆ BaseDocument

friend class BaseDocument
friend

◆ IpCommunicationThread

friend class IpCommunicationThread
friend

◆ Material

friend class Material
friend

Member Data Documentation

◆ file

BaseFile file
private

◆ error

FILEERROR error
private

◆ ascii

Bool ascii
private

◆ singleprecision

Bool singleprecision
private

◆ mode

FILEOPEN mode
private

◆ flen

Int64 flen
private

◆ last_b

Int32 last_b
private

◆ data

void* data
private

◆ doc

BaseDocument* doc
private

◆ fileversion

Int32 fileversion
private

◆ chunkdepth

Int32 chunkdepth
private

◆ callbackloadstatus

LoadStatusCallback* callbackloadstatus
private

◆ callbacksavestatus

SaveStatusCallback* callbacksavestatus
private

◆ callbackUserDataAtLoad

void* callbackUserDataAtLoad
private

◆ callbackUserDataAtSave

void* callbackUserDataAtSave
private

◆ cinema4dSaveVersion

CINEMA4D_VERSION cinema4dSaveVersion
private

◆ aliastrans

AliasTrans* aliastrans
protected