#include <ImLib3DFile.hpp>
Inheritance diagram for Streamable:
Public Member Functions | |
xmlpp::Element * | CreateWriteNode (const string &topNodeName, ImLib3DFile *file, xmlpp::Element *parentNode, xmlpp::Element *node) const |
Convenience fct that optionally creates root, or current node. | |
xmlpp::Element * | CreateReadNode (const string &topNodeName, ImLib3DFile *file, xmlpp::Element *parentNode, xmlpp::Element *node) |
Convenience fct that optionally creates root, or current node. | |
virtual void | Read (ImLib3DFile *file, xmlpp::Element *parentNode=NULL, xmlpp::Element *node=NULL)=0 |
Read this object, either from a current node, a parent node, or the root node of the file. | |
virtual void | Write (ImLib3DFile *file, xmlpp::Element *parentNode=NULL, xmlpp::Element *node=NULL) const =0 |
Write this object, either to a current node, a parent node, or the root node of the file. | |
virtual void | ReadFromFile (const string &fname) |
Read this object from a file. | |
virtual void | WriteToFile (const string &fname) const |
Write this object to a file. |
Definition at line 38 of file ImLib3DFile.hpp.
|
Convenience fct that optionally creates root, or current node. Should always be called at the begining of each Write Definition at line 49 of file ImLib3DFile.cpp. References XMLBinaryFile::SetRoot(). Referenced by Image3D::CreateWriteNode(), SparseStructure3D::Write(), Signal1Df::Write(), PropertyWrapPtr< PType >::Write(), Properties::Write(), and Affine3DTransform::Write(). |
|
Convenience fct that optionally creates root, or current node. Should always be called at the begining of each Read Definition at line 56 of file ImLib3DFile.cpp. References XMLBinaryFile::GetChild(), and XMLBinaryFile::GetRoot(). Referenced by Image3D::CreateReadNode(), SparseStructure3D::Read(), Signal1Df::Read(), PropertyWrapPtr< PType >::Read(), Properties::Read(), and Affine3DTransform::Read(). |