This reference page is linked to from the following overview topics: Loading and Saving Plug-in Data, Supporting Save to Previous, Serializing Controllers.
#include <ioapi.h>
Public Member Functions |
|
virtual | ~ISave () |
virtual int | GetRefID (void *ptarg)=0 |
virtual void | BeginChunk (USHORT id)=0 |
virtual void | EndChunk ()=0 |
virtual int | CurChunkDepth ()=0 |
IOResult | WriteVoid (const void *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | WriteEnum (const void *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const char *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const wchar_t *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const int *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const unsigned int *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const INT64 *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const UINT64 *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const float *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const double *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const short *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const unsigned short *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const long *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const unsigned long *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const BYTE *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const bool *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const Point2 *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const Point3 *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const Point4 *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const AColor *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const Color *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const Matrix2 *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const Matrix3 *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const Box2 *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const Box3 *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const MNVert *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const TVPatch *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const Face *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const Class_ID *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const VertMove *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const FaceCreate *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const FaceRemap *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const FaceChange *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const FaceSmooth *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const UVVertSet *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const TVFace *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const Interval *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const AngAxis *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const Quat *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const Ray *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const ScaleValue *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const RotationValue *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const FBox2 *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const HookPoint *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const PolyPt *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const bindShape *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const EPMapVert *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const EPMapPatch *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const EPMapUVVert *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const RandGenerator *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const Interface_ID *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const BlockKeysClass *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const Color24 *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const Color48 *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const Color64 *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const POINT *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const WINDOWPLACEMENT *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const range *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const MaxSDK::AssetManagement::AssetId *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const ParamType2 *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const FloatChange *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const VertOffset *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const ParticleID *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const PreciseTimeValue *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const DeviceRect *buf, ULONG nbytes, ULONG *nwrit) |
IOResult | Write (const IPoint2 *buf, ULONG nbytes, ULONG *nwrit) |
virtual IOResult | WriteWString (const char *str)=0 |
virtual IOResult | WriteWString (const wchar_t *str)=0 |
virtual IOResult | WriteCString (const char *str)=0 |
virtual IOResult | WriteCString (const wchar_t *str)=0 |
virtual FileIOType | DoingWhat ()=0 |
virtual DWORD | SavingVersion () const |
virtual USHORT | GetClassDescID (ReferenceMaker *rm) |
virtual INT_PTR | Execute (int cmd, ULONG_PTR arg1=0, ULONG_PTR arg2=0, ULONG_PTR arg3=0) |
virtual const MCHAR * | FileName () |
virtual IOResult | SaveAssetMetaData (const MaxSDK::AssetManagement::AssetId &assetId) |
virtual bool | SaveAssetAsAssetIDGuid () |
virtual UINT | CodePage () const |
virtual ~ISave | ( | ) | [inline, virtual] |
{};
virtual int GetRefID | ( | void * | ptarg | ) | [pure virtual] |
ptarg | The pointer to save. |
virtual void BeginChunk | ( | USHORT | id | ) | [pure virtual] |
id | The id for the chunk. |
virtual void EndChunk | ( | ) | [pure virtual] |
virtual int CurChunkDepth | ( | ) | [pure virtual] |
IOResult WriteVoid | ( | const void * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
buf | The buffer to write. |
nbytes | The number of bytes to write. |
nwrit | The number of bytes actually written. |
{return Write((void*)buf, nbytes, nwrit);}
IOResult WriteEnum | ( | const void * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
IOResult Write | ( | const char * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
IOResult Write | ( | const wchar_t * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
IOResult Write | ( | const int * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const unsigned int * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const INT64 * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const UINT64 * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const float * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const double * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const short * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const unsigned short * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const long * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const unsigned long * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const BYTE * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const bool * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const FaceCreate * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const FaceChange * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const FaceSmooth * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const ScaleValue * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const RotationValue * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const EPMapVert * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const EPMapPatch * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const EPMapUVVert * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const RandGenerator * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const Interface_ID * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const BlockKeysClass * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const POINT * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const WINDOWPLACEMENT * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const range * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const MaxSDK::AssetManagement::AssetId * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const ParamType2 * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const FloatChange * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const VertOffset * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const ParticleID * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const PreciseTimeValue * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
IOResult Write | ( | const DeviceRect * | buf, |
ULONG | nbytes, | ||
ULONG * | nwrit | ||
) | [inline] |
{return Write((void*)buf, nbytes, nwrit);}
{return Write((void*)buf, nbytes, nwrit);}
virtual IOResult WriteWString | ( | const char * | str | ) | [pure virtual] |
str | The string to write. The string must be ACP encoded. |
virtual IOResult WriteWString | ( | const wchar_t * | str | ) | [pure virtual] |
str | The string to write. |
virtual IOResult WriteCString | ( | const char * | str | ) | [pure virtual] |
str | The string to write. The string must be ACP encoded. |
virtual IOResult WriteCString | ( | const wchar_t * | str | ) | [pure virtual] |
str | The string to write. |
virtual FileIOType DoingWhat | ( | ) | [pure virtual] |
virtual DWORD SavingVersion | ( | ) | const [inline, virtual] |
{ return 0; }
virtual USHORT GetClassDescID | ( | ReferenceMaker * | rm | ) | [inline, virtual] |
rm | Points to the reference maker. |
{ return NO_CLASSDESC_ID_RETURNED; }
virtual INT_PTR Execute | ( | int | cmd, |
ULONG_PTR | arg1 = 0 , |
||
ULONG_PTR | arg2 = 0 , |
||
ULONG_PTR | arg3 = 0 |
||
) | [inline, virtual] |
{ return 0; }
virtual const MCHAR* FileName | ( | ) | [inline, virtual] |
{ return NULL; }
virtual IOResult SaveAssetMetaData | ( | const MaxSDK::AssetManagement::AssetId & | assetId | ) | [inline, virtual] |
assetId | The id for the asset. |
{ return IO_OK; }
virtual bool SaveAssetAsAssetIDGuid | ( | ) | [inline, virtual] |
{ return false; }
virtual UINT CodePage | ( | ) | const [inline, virtual] |
{ return (MAX_RELEASE >= MAX_RELEASE_R15_ALPHA_UNICODE_UNICODE) ? CP_UTF8 : CP_ACP; }