#include <DCMTree_Serialization.h>

Public Member Functions | |
| virtual void | serializeX (Sink &sink) const =0 |
| Writes data of this object to Sink. | |
| virtual | ~Serializable () |
| Empty. | |
Definition at line 113 of file DCMTree_Serialization.h.
| virtual DCMTree_Serialization::Serializable::~Serializable | ( | ) | [inline, virtual] |
| virtual void DCMTree_Serialization::Serializable::serializeX | ( | Sink & | sink | ) | const [pure virtual] |
Writes data of this object to Sink.
Implementations of Serializable::serializeX should strictly follow this pattern:
class C: public SCR::Serializable { T1 _m1; T2 _m2; T3 _m3; public: void serializeX(SCR::Sink &sink) const { SCR::serializeX(sink, _m1); SCR::serializeX(sink, _m2); SCR::serializeX(sink, _m3); } };
That is you should call some overloading of SCR::serializeX for every member.
If some of the types T1, T2, T3 are not serializable, you should make them serializable.
Implemented in DCMTree::Message, DCMTree::Tag, DCMTree::TagId, DCMTree::TagInfo, DCMTree::Tree, and DCMTree::Value.
Referenced by DCMTree_Serialization::serializeX().
1.5.8