The saver class.
More...
#include <saver.h>
|
static bool | saveCoreBones (std::ofstream &file, const std::string &strFilename, CalCoreBone *pCoreBone) |
| Saves a core bone instance.
|
|
static bool | saveCoreKeyframe (std::ofstream &file, const std::string &strFilename, CalCoreKeyframe *pCoreKeyframe) |
| Saves a core keyframe instance.
|
|
static bool | saveCoreSubmesh (std::ofstream &file, const std::string &strFilename, CalCoreSubmesh *pCoreSubmesh) |
| Saves a core submesh instance.
|
|
static bool | saveCoreTrack (std::ofstream &file, const std::string &strFilename, CalCoreTrack *pCoreTrack) |
| Saves a core track instance.
|
|
static bool | saveXmlCoreSkeleton (const std::string &strFilename, CalCoreSkeleton *pCoreSkeleton) |
| Saves a core skeleton instance to a XML file.
|
|
static bool | saveXmlCoreAnimation (const std::string &strFilename, CalCoreAnimation *pCoreAnimation) |
| Saves a core animation instance in a XML file.
|
|
static bool | saveXmlCoreMesh (const std::string &strFilename, CalCoreMesh *pCoreMesh) |
| Saves a core mesh instance in a XML file.
|
|
static bool | saveXmlCoreMaterial (const std::string &strFilename, CalCoreMaterial *pCoreMaterial) |
| Saves a core material instance to a XML file.
|
|
◆ saveCoreAnimation()
Saves a core animation instance.
This function saves a core animation instance to a file.
- Parameters
-
strFilename | The name of the file to save the core animation instance to. |
pCoreAnimation | A pointer to the core animation instance that should be saved. |
- Returns
- One of the following values:
- true if successful
- false if an error happend
◆ saveCoreBones()
bool CalSaver::saveCoreBones |
( |
std::ofstream & |
file, |
|
|
const std::string & |
strFilename, |
|
|
CalCoreBone * |
pCoreBone |
|
) |
| |
|
staticprotected |
Saves a core bone instance.
This function saves a core bone instance to a file stream.
- Parameters
-
file | The file stream to save the core bone instance to. |
strFilename | The name of the file stream. |
pCoreBone | A pointer to the core bone instance that should be saved. |
- Returns
- One of the following values:
- true if successful
- false if an error happend
◆ saveCoreKeyframe()
bool CalSaver::saveCoreKeyframe |
( |
std::ofstream & |
file, |
|
|
const std::string & |
strFilename, |
|
|
CalCoreKeyframe * |
pCoreKeyframe |
|
) |
| |
|
staticprotected |
Saves a core keyframe instance.
This function saves a core keyframe instance to a file stream.
- Parameters
-
file | The file stream to save the core keyframe instance to. |
strFilename | The name of the file stream. |
pCoreKeyframe | A pointer to the core keyframe instance that should be saved. |
- Returns
- One of the following values:
- true if successful
- false if an error happend
◆ saveCoreMaterial()
Saves a core material instance.
This function saves a core material instance to a file.
- Parameters
-
strFilename | The name of the file to save the core material instance to. |
pCoreMaterial | A pointer to the core material instance that should be saved. |
- Returns
- One of the following values:
- true if successful
- false if an error happend
◆ saveCoreMesh()
Saves a core mesh instance.
This function saves a core mesh instance to a file.
- Parameters
-
strFilename | The name of the file to save the core mesh instance to. |
pCoreMesh | A pointer to the core mesh instance that should be saved. |
- Returns
- One of the following values:
- true if successful
- false if an error happend
◆ saveCoreSkeleton()
Saves a core skeleton instance.
This function saves a core skeleton instance to a file.
- Parameters
-
strFilename | The name of the file to save the core skeleton instance to. |
pCoreSkeleton | A pointer to the core skeleton instance that should be saved. |
- Returns
- One of the following values:
- true if successful
- false if an error happend
◆ saveCoreSubmesh()
bool CalSaver::saveCoreSubmesh |
( |
std::ofstream & |
file, |
|
|
const std::string & |
strFilename, |
|
|
CalCoreSubmesh * |
pCoreSubmesh |
|
) |
| |
|
staticprotected |
Saves a core submesh instance.
This function saves a core submesh instance to a file stream.
- Parameters
-
file | The file stream to save the core submesh instance to. |
strFilename | The name of the file stream. |
pCoreSubmesh | A pointer to the core submesh instance that should be saved. |
- Returns
- One of the following values:
- true if successful
- false if an error happend
◆ saveCoreTrack()
bool CalSaver::saveCoreTrack |
( |
std::ofstream & |
file, |
|
|
const std::string & |
strFilename, |
|
|
CalCoreTrack * |
pCoreTrack |
|
) |
| |
|
staticprotected |
Saves a core track instance.
This function saves a core track instance to a file stream.
- Parameters
-
file | The file stream to save the core track instance to. |
strFilename | The name of the file stream. |
pCoreTrack | A pointer to the core track instance that should be saved. |
- Returns
- One of the following values:
- true if successful
- false if an error happend
◆ saveXmlCoreAnimation()
Saves a core animation instance in a XML file.
This function saves a core animation instance to a XML file.
- Parameters
-
strFilename | The name of the file to save the core animation instance to. |
pCoreAnimation | A pointer to the core animation instance that should be saved. |
- Returns
- One of the following values:
- true if successful
- false if an error happend
◆ saveXmlCoreMaterial()
Saves a core material instance to a XML file.
This function saves a core material instance to a XML file.
- Parameters
-
strFilename | The name of the file to save the core material instance to. |
pCoreMaterial | A pointer to the core material instance that should be saved. |
- Returns
- One of the following values:
- true if successful
- false if an error happend
◆ saveXmlCoreMesh()
Saves a core mesh instance in a XML file.
This function saves a core mesh instance to a XML file.
- Parameters
-
strFilename | The name of the file to save the core mesh instance to. |
pCoreMesh | A pointer to the core mesh instance that should be saved. |
- Returns
- One of the following values:
- true if successful
- false if an error happend
◆ saveXmlCoreSkeleton()
Saves a core skeleton instance to a XML file.
This function saves a core skeleton instance to a XML file.
- Parameters
-
strFilename | The name of the file to save the core skeleton instance to. |
pCoreSkeleton | A pointer to the core skeleton instance that should be saved. |
- Returns
- One of the following values:
- true if successful
- false if an error happend
The documentation for this class was generated from the following files: