|
AGX Dynamics 2.41.2.0
|
#include <agx/agxCore_export.h>#include <agx/Integer.h>#include <functional>#include <agxStream/StorageAgent.h>#include <agx/Uuid.h>Go to the source code of this file.
Classes | |
| class | agxStream::Serializable |
| This class is an abstract base class for all classes that can be stored and retrieved from an Archive. More... | |
Namespaces | |
| namespace | agxStream |
| This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serialization). | |
Macros | |
| #define | AGXARCHIVE_MODIFICATIONS(...) {__VA_ARGS__} |
| #define | AGXSTREAM_CLASS_NAME(T) |
| Macro for retrieving a class name based on the function scope. | |
| #define | AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE(T) |
| Use this in a pure abstract Serializable class to add the required methods Important: Use full namespace in the declaration! For example: agx::deprecated::SomeClass. | |
| #define | AGXSTREAM_DECLARE_SERIALIZABLE(T) |
| Use this in a Serializable class to add the required methods Important: Use full namespace in the declaration! For example: agx::deprecated::SomeClass. | |
| #define | AGXSTREAM_DECLARE_SERIALIZABLE_BASE(T) |
| #define | AGXSTREAM_DECLARE_SERIALIZABLE_CUSTOM_CREATE(T) |
| Use this in a Serializable class to add the required methods Important: Use full namespace in the declaration! For example: agx::deprecated::SomeClass. | |
| #define | AGXSTREAM_INSTANTIATE_STORAGE(C) static agxStream::Storage<C> storage ## C; |
| Use this macro to instantiate a storage for a Serializable class. If you have '::' in the class name, you need to use the AGXSTREAM_INSTANTIATE_STORAGE_VARIABLE macro. | |
| #define | AGXSTREAM_INSTANTIATE_STORAGE_DEPRECATED_CLASS(VARIABLE, NAMESPACE, CLASS_NAME, DEPRECATED_CLASS_NAME) |
| This macro will instantiate a storage for a completely deprecated class. | |
| #define | AGXSTREAM_INSTANTIATE_STORAGE_DEPRECATION_CHECK_VARIABLE(VARIABLE, NEW_CLASS, DEPRECATED_CLASS, MODIFICATION_LIST) static agxStream::DeprecatedStorage<NEW_CLASS, DEPRECATED_CLASS> VARIABLE(MODIFICATION_LIST); |
| This macro will instantiate a storage for a class that superseeds a deprecated class. | |
| #define | AGXSTREAM_INSTANTIATE_STORAGE_VARIABLE(V, C) static agxStream::Storage<C> storage ## V; |
| Use this macro for instantiate a storage as a specific variable name if necessary. For example if C contains :: the previous macro cannot be used. | |
| #define AGXARCHIVE_MODIFICATIONS | ( | ... | ) | {__VA_ARGS__} |
Definition at line 236 of file Serializable.h.
| #define AGXSTREAM_CLASS_NAME | ( | T | ) |
Macro for retrieving a class name based on the function scope.
Definition at line 191 of file Serializable.h.
| #define AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE | ( | T | ) |
Use this in a pure abstract Serializable class to add the required methods Important: Use full namespace in the declaration! For example: agx::deprecated::SomeClass.
Definition at line 222 of file Serializable.h.
| #define AGXSTREAM_DECLARE_SERIALIZABLE | ( | T | ) |
Use this in a Serializable class to add the required methods Important: Use full namespace in the declaration! For example: agx::deprecated::SomeClass.
Definition at line 208 of file Serializable.h.
| #define AGXSTREAM_DECLARE_SERIALIZABLE_BASE | ( | T | ) |
Definition at line 196 of file Serializable.h.
| #define AGXSTREAM_DECLARE_SERIALIZABLE_CUSTOM_CREATE | ( | T | ) |
Use this in a Serializable class to add the required methods Important: Use full namespace in the declaration! For example: agx::deprecated::SomeClass.
Definition at line 215 of file Serializable.h.
| #define AGXSTREAM_INSTANTIATE_STORAGE | ( | C | ) | static agxStream::Storage<C> storage ## C; |
Use this macro to instantiate a storage for a Serializable class. If you have '::' in the class name, you need to use the AGXSTREAM_INSTANTIATE_STORAGE_VARIABLE macro.
Definition at line 228 of file Serializable.h.
| #define AGXSTREAM_INSTANTIATE_STORAGE_DEPRECATED_CLASS | ( | VARIABLE, | |
| NAMESPACE, | |||
| CLASS_NAME, | |||
| DEPRECATED_CLASS_NAME | |||
| ) |
This macro will instantiate a storage for a completely deprecated class.
VARIABLE - the name of the variable that will be instantiated (For example storage_deprecated_terrain). NAMESPACE - Namespace where the deprecated class used to live. (For example agxModel). CLASS_NAME - The name of the deprecated class. (For example Terrain). DEPRECATED_CLASS - New name/namespace of the deprecated class, usually something like agxModel::deprecated::Terrain.
Definition at line 254 of file Serializable.h.
| #define AGXSTREAM_INSTANTIATE_STORAGE_DEPRECATION_CHECK_VARIABLE | ( | VARIABLE, | |
| NEW_CLASS, | |||
| DEPRECATED_CLASS, | |||
| MODIFICATION_LIST | |||
| ) | static agxStream::DeprecatedStorage<NEW_CLASS, DEPRECATED_CLASS> VARIABLE(MODIFICATION_LIST); |
This macro will instantiate a storage for a class that superseeds a deprecated class.
VARIABLE - the name of the variable that will be instantiated NEW_CLASS - The new implementation of a class with the same name as the old one, for example agxDriveTrain::TorqueConverter DEPRECATED_CLASS - The old implementation, now with a different namespace, for example agxDriveTrain::deprecated::TorqueConverter MODIFICATION_LIST - List of modifications that if they are all present in the input archive, the NEW_CLASS class will be used.
Definition at line 245 of file Serializable.h.
| #define AGXSTREAM_INSTANTIATE_STORAGE_VARIABLE | ( | V, | |
| C | |||
| ) | static agxStream::Storage<C> storage ## V; |
Use this macro for instantiate a storage as a specific variable name if necessary. For example if C contains :: the previous macro cannot be used.
Definition at line 232 of file Serializable.h.