The serialization consists in storing the state of an object into a storage format like data file or memory buffer and also retrieving the object from such a media.
More...
|
This function returns the "trace type" used in initializing the serializer. Trace type is one of SERIALIZER_NO_TRACE,SERIALIZER_TRACE_ERROR,SERIALIZER_TRACE_ALL
|
TraceType | GetTraceType () const |
|
void | SetBuffer (BufferType *pBuffer) |
|
template<class TDataType > |
void | load (std::string const &rTag, TDataType &rObject) |
|
template<class TDataType > |
void | load (std::string const &rTag, Kratos::shared_ptr< TDataType > &pValue) |
|
template<class TDataType > |
void | load (std::string const &rTag, Kratos::intrusive_ptr< TDataType > &pValue) |
|
template<class TDataType > |
void | load (std::string const &rTag, Kratos::unique_ptr< TDataType > &pValue) |
|
template<class TDataType > |
void | load (std::string const &rTag, TDataType *&pValue) |
|
void | load (std::string const &rTag, ModelPart *&pValue) |
|
void | load (std::string const &rTag, Kratos::unique_ptr< ModelPart > &pValue) |
|
void | load (std::string const &rTag, Kratos::shared_ptr< ModelPart > &pValue) |
|
template<class TDataType > |
void | load (std::string const &rTag, Kratos::weak_ptr< TDataType > &pValue) |
|
template<class TDataType > |
void | load (std::string const &rTag, WeakPointerVector< TDataType > &pValue) |
|
template<class TDataType > |
void | load (std::string const &rTag, const Variable< TDataType > *) |
|
template<class TDataType , std::size_t TDataSize> |
void | load (std::string const &rTag, std::array< TDataType, TDataSize > &rObject) |
|
template<class TDataType > |
void | load (std::string const &rTag, std::vector< TDataType > &rObject) |
|
template<class TDataType > |
void | load (std::string const &rTag, DenseVector< TDataType > &rObject) |
|
template<class TKeyType , class TDataType > |
void | load (std::string const &rTag, std::map< TKeyType, TDataType > &rObject) |
|
template<class TKeyType , class TDataType > |
void | load (std::string const &rTag, std::unordered_map< TKeyType, TDataType > &rObject) |
|
template<class TDataType > |
void | load (std::string const &rTag, std::set< TDataType > &rObject) |
|
template<class TDataType > |
void | load (std::string const &rTag, std::unordered_set< TDataType > &rObject) |
|
template<class TDataType , std::size_t TDimension> |
void | load (std::string const &rTag, array_1d< TDataType, TDimension > &rObject) |
|
template<class TFirstType , class TSecondType > |
void | load (std::string const &rTag, std::pair< TFirstType, TSecondType > &rObject) |
|
template<class TDataType , std::size_t TDimension> |
void | load (std::string const &rTag, BoundedVector< TDataType, TDimension > &rObject) |
|
template<class TDataType , std::size_t TDimension1, std::size_t TDimension2> |
void | load (std::string const &rTag, BoundedMatrix< TDataType, TDimension1, TDimension2 > &rObject) |
|
template<class TDataType , std::size_t TDataSize> |
void | save (std::string const &rTag, std::array< TDataType, TDataSize > const &rObject) |
|
template<class TDataType > |
void | save (std::string const &rTag, std::vector< TDataType > const &rObject) |
|
template<class TDataType > |
void | save (std::string const &rTag, DenseVector< TDataType > const &rObject) |
|
template<class TDataType , std::size_t TDimension> |
void | save (std::string const &rTag, array_1d< TDataType, TDimension > const &rObject) |
|
template<class TKeyType , class TDataType > |
void | save (std::string const &rTag, std::map< TKeyType, TDataType > const &rObject) |
|
template<class TKeyType , class TDataType > |
void | save (std::string const &rTag, std::unordered_map< TKeyType, TDataType > const &rObject) |
|
template<class TDataType > |
void | save (std::string const &rTag, std::set< TDataType > const &rObject) |
|
template<class TDataType > |
void | save (std::string const &rTag, std::unordered_set< TDataType > const &rObject) |
|
template<class TDataType > |
void | save (std::string const &rTag, TDataType const &rObject) |
|
template<class TDataType > |
void | save (std::string const &rTag, const Variable< TDataType > *pVariable) |
|
template<class TDataType > |
void | save (std::string const &rTag, Kratos::shared_ptr< TDataType > pValue) |
|
template<class TDataType > |
void | save (std::string const &rTag, Kratos::intrusive_ptr< TDataType > pValue) |
|
template<class TDataType > |
void | save (std::string const &rTag, Kratos::unique_ptr< TDataType > const &pValue) |
|
template<class TDataType > |
void | save (std::string const &rTag, const TDataType *pValue) |
|
template<class TDataType > |
bool | IsDerived (TDataType *pValue) |
|
template<class TDataType > |
void | save (std::string const &rTag, TDataType *pValue) |
|
template<class TDataType > |
void | save (std::string const &rTag, Kratos::weak_ptr< TDataType > pValue) |
|
template<class TDataType > |
void | save (std::string const &rTag, Kratos::WeakPointerVector< TDataType > pValue) |
|
template<class TDataType > |
void | save (std::string const &rTag, Kratos::shared_ptr< const TDataType > pValue) |
|
void | save (std::string const &rTag, const char *pValue) |
|
template<class TFirstType , class TSecondType > |
void | save (std::string const &rTag, std::pair< TFirstType, TSecondType > rObject) |
|
template<class TDataType , std::size_t TDimension> |
void | save (std::string const &rTag, BoundedVector< TDataType, TDimension > const &rObject) |
|
template<class TDataType , std::size_t TDimension1, std::size_t TDimension2> |
void | save (std::string const &rTag, BoundedMatrix< TDataType, TDimension1, TDimension2 > const &rObject) |
|
template<class TDataType > |
void | load_base (std::string const &rTag, TDataType &rObject) |
|
template<class TDataType > |
void | load_base (std::string const &rTag, std::vector< TDataType > &rObject) |
|
template<class TDataType > |
void | load_base (std::string const &rTag, DenseVector< TDataType > &rObject) |
|
template<class TDataType , std::size_t TDimension> |
void | load_base (std::string const &rTag, array_1d< TDataType, TDimension > &rObject) |
|
template<class TDataType > |
void | save_base (std::string const &rTag, std::vector< TDataType > const &rObject) |
|
template<class TDataType > |
void | save_base (std::string const &rTag, DenseVector< TDataType > const &rObject) |
|
template<class TDataType , std::size_t TDimension> |
void | save_base (std::string const &rTag, array_1d< TDataType, TDimension > const &rObject) |
|
template<class TDataType > |
void | save_base (std::string const &rTag, TDataType const &rObject) |
|
void | save_trace_point (std::string const &rTag) |
|
bool | load_trace_point (std::string const &rTag) |
|
template<class TDataType > |
static void * | Create () |
|
template<class TDataType > |
static void | Register (std::string const &rName, TDataType const &pPrototype) |
|
The serialization consists in storing the state of an object into a storage format like data file or memory buffer and also retrieving the object from such a media.
The serialization consists in storing the state of an object into a storage format like data file or memory buffer and also retrieving the object from such a media. The idea of serialization is based on saving all object's data consecutively in the file or buffer and then load it in the same order. In Kratos a serialization mechanism is used for creating the restart file. So for storing an object into restart file and retrieve it afterward on must add the necessary component used by serialization.
- Author
- Pooyan Dadvand