#include <Serializer.hpp>
|
template<typename T > |
void | registerSerializeable (const std::string &id, const typename detail::FuncChooser< T >::FactoryFunc &factFunc, const typename detail::FuncChooser< T >::LoadFunc &loadFunc, const typename detail::FuncChooser< T >::SaveFunc &saveFunc) |
|
|
static Serializer & | getInstance () |
| Get the single SceneLoader instance. More...
|
|
static bool | save (const std::string &descPath, const uint32 modes) |
|
static bool | load (const std::string &descPath, const uint32 modes) |
|
template<typename T , uint32 FuncID, typename... Args> |
static bool | callSingleFunc (const std::string &id, Args &&...args) |
|
template<typename T > |
static const std::string & | getSerializeID () |
|
Definition at line 109 of file Serializer.hpp.
template<typename T , uint32 FuncID, typename... Args>
static bool jop::Serializer::callSingleFunc |
( |
const std::string & |
id, |
|
|
Args &&... |
args |
|
) |
| |
|
static |
static Serializer& jop::Serializer::getInstance |
( |
| ) |
|
|
static |
Get the single SceneLoader instance.
- Returns
- Reference to the instance
template<typename T >
static const std::string& jop::Serializer::getSerializeID |
( |
| ) |
|
|
static |
static bool jop::Serializer::load |
( |
const std::string & |
descPath, |
|
|
const uint32 |
modes |
|
) |
| |
|
static |
- Returns
- True if successful
template<typename T >
void jop::Serializer::registerSerializeable |
( |
const std::string & |
id, |
|
|
const typename detail::FuncChooser< T >::FactoryFunc & |
factFunc, |
|
|
const typename detail::FuncChooser< T >::LoadFunc & |
loadFunc, |
|
|
const typename detail::FuncChooser< T >::SaveFunc & |
saveFunc |
|
) |
| |
static bool jop::Serializer::save |
( |
const std::string & |
descPath, |
|
|
const uint32 |
modes |
|
) |
| |
|
static |
- Returns
- True if successful
The documentation for this class was generated from the following file: