| DtAsciiSerializable::DtAsciiSerializable |
( |
| ) |
|
|
inline |
The implementer of this interface should be sure to create a creator function to create an empty object that returns a pointer to this interface.
| virtual DtAsciiSerializable::~DtAsciiSerializable |
( |
| ) |
|
|
inlinevirtual |
| virtual DtString DtAsciiSerializable::objectType |
( |
| ) |
const |
|
pure virtual |
Should return the string name of this object. The object name should not be part of the serialization unless you want it to be, but you should take it into account when implementing both functions.
Implemented in DtLuaFindPositionGroupsInAreaUsingRidgeQueryJob, DtVectorOffset3D, DtLuaNavPlaceFormationJob, DtVectorGeoc3D, DtScriptVrfObject, DtLuaNavFindPathJob, DtLuaFindPositionGroupsInAreaUsingHilltopsQueryJob, DtVector2D, DtLuaNavCoverPointJob, DtLuaFindSinglePositionQueryJob, DtLuaNavPointOfInterestJob, DtVector3D, DtUUID, DtLuaVehicleFightingPositionQueryJob, DtLuaNavRandomPointJob, DtScriptAnimationModel, DtLuaPathJob, DtScriptAerodromeObject, DtLuaFeatureGeometry, DtScriptLocationReference, DtScriptComponentSystem, DtScriptWeaponInfo, DtTranslatableStream, DtScriptDetonation, DtLuaWeaponListQueryJob, DtLuaPlaceFormationJob, DtLuaEmbarkationEgressPointsQueryJob, DtLuaEmbarkationSlotQueryJob, DtLuaEmbarkationSlotReservationJob, DtLuaFeatureSet, DtLuaHilltopQueryJob, DtLuaNavJob, and DtLocation3D.
Referenced by vrfLua::DtAsciiDeserializeLua().
| virtual std::string DtAsciiSerializable::objectTypeC |
( |
| ) |
const |
|
inlinevirtual |
Returns a std::string version of the objectType. This is used in the Lua API.
| virtual DtString DtAsciiSerializable::serialize |
( |
| ) |
|
|
pure virtual |
The following characters are reserved and cannot be used in serialization: '|', ':'.
Implemented in DtLuaFindPositionGroupsInAreaUsingRidgeQueryJob, DtVectorOffset3D, DtVectorGeoc3D, DtScriptVrfObject, DtLuaFindPositionGroupsInAreaUsingHilltopsQueryJob, DtLuaFindSinglePositionQueryJob, DtVector3D, DtUUID, DtLuaVehicleFightingPositionQueryJob, DtScriptAnimationModel, DtLuaPathJob, DtScriptAerodromeObject, DtLuaFeatureGeometry, DtTranslatableStream, DtScriptLocationReference, DtScriptComponentSystem, DtScriptWeaponInfo, DtScriptDetonation, DtLuaWeaponListQueryJob, DtLuaFeatureSet, DtLuaPlaceFormationJob, DtLuaEmbarkationEgressPointsQueryJob, DtLuaEmbarkationSlotQueryJob, DtLuaEmbarkationSlotReservationJob, DtLocation3D, DtLuaHilltopQueryJob, and DtLuaNavJob.
| virtual bool DtAsciiSerializable::deserialize |
( |
const DtString & |
| ) |
|
|
pure virtual |
This function should take the string that was serialized via serialize() and fill this object with the correct data.
Implemented in DtVectorOffset3D, DtLuaFindPositionGroupsInAreaUsingRidgeQueryJob, DtVectorGeoc3D, DtScriptVrfObject, DtLuaFindPositionGroupsInAreaUsingHilltopsQueryJob, DtLuaFindSinglePositionQueryJob, DtVector3D, DtUUID, DtLuaVehicleFightingPositionQueryJob, DtScriptAnimationModel, DtLuaPathJob, DtScriptAerodromeObject, DtLuaFeatureGeometry, DtScriptLocationReference, DtScriptComponentSystem, DtTranslatableStream, DtScriptWeaponInfo, DtScriptDetonation, DtLuaFeatureSet, DtLuaWeaponListQueryJob, DtLuaPlaceFormationJob, DtLocation3D, DtLuaEmbarkationEgressPointsQueryJob, DtLuaEmbarkationSlotQueryJob, DtLuaEmbarkationSlotReservationJob, DtLuaHilltopQueryJob, and DtLuaNavJob.
Referenced by vrfLua::DtAsciiDeserializeLua().
| virtual void DtAsciiSerializable::init |
( |
void * |
userData | ) |
|
|
inlinevirtual |
This function is called right after the object is constructed during the deserialization process, but before deserialize() is called. The Lua object deserializer will pass the address of the sim manager (DtSimManager) as the argument. This DtAsciiSerializable object can use the Sim Manager to get a VRF Object pointer from the object manager using the object name, for example.
Reimplemented in DtScriptAnimationModel, and DtLuaAsyncJob.
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-2-branch/include/vrfutil/asciiSerializable.h