A tool to aid in deserialization for the specific instances that DeSerialization CollisionShapes other ways does not make sense. More...
#include <collisionshape.h>
Public Member Functions | |
virtual String | ContainerName () const |
This will return the Name of the element that Contains multiple of the items to be DeSerialized. More... | |
virtual std::istream & | DeSerialize (std::istream &Stream) |
Create a collision shape from the serialized version in a stream. More... | |
virtual CollisionShape * | DeSerializeAndRetrieve (std::istream &Stream) |
Create a collision shape from the serialized version in a stream. More... | |
virtual CollisionShape * | ProtoDeSerialize (const XML::Node &OneNode) |
Convert An XML Node containing and one collision shape into a CollisionShape of the corresponding type. More... | |
Public Member Functions inherited from Mezzanine::DeSerializer< CollisionShape > | |
virtual std::istream & | DeSerializeAll (std::istream &Stream) |
Get One node that has several of the appropriate kinds of nodes as children and deserialize all of them. More... | |
virtual void | ProtoDeSerializeAll (const XML::Node &OneNode) |
Convert An XML Node into a complete series of live class instances. More... | |
Protected Member Functions | |
virtual CollisionShape * | PerformDeSerialization (std::istream &Stream) |
This Performs the work of Deserializing that DeSerialize and DeSerializeAndRetrieve need to do. More... | |
A tool to aid in deserialization for the specific instances that DeSerialization CollisionShapes other ways does not make sense.
Definition at line 187 of file collisionshape.h.
|
virtual |
This will return the Name of the element that Contains multiple of the items to be DeSerialized.
Implements Mezzanine::DeSerializer< CollisionShape >.
Definition at line 406 of file collisionshape.cpp.
|
virtual |
Create a collision shape from the serialized version in a stream.
Stream | The std::istream to get the data from. |
This performs less checking than the original to allow for DeSerialization of multiple kinds of xml elements. Rather all the specific checking is done closer to the actual instantion of classes. This add the DeSerialized shape to the collsion shape manager.
Reimplemented from Mezzanine::DeSerializer< CollisionShape >.
Definition at line 397 of file collisionshape.cpp.
|
virtual |
Create a collision shape from the serialized version in a stream.
Stream | The std::istream to get the data from. |
This adds the DeSerialized shape to the collsion shape manager.
Definition at line 403 of file collisionshape.cpp.
|
protectedvirtual |
This Performs the work of Deserializing that DeSerialize and DeSerializeAndRetrieve need to do.
Stream | the stream to deserialize from. |
Definition at line 379 of file collisionshape.cpp.
|
virtual |
Convert An XML Node containing and one collision shape into a CollisionShape of the corresponding type.
OneNode | A reference to the XML node to reconstitute into a live class instance. |
All items deserialized here will be added to the collision shape manager.
Implements Mezzanine::DeSerializer< CollisionShape >.
Definition at line 394 of file collisionshape.cpp.