#include <rtcIOObject.h>
Public Member Functions | |
IOObject () | |
default constructor | |
virtual bool | read (InputHandler &ih)=0 |
read IOObject from InputHandler | |
virtual bool | readFromFile (InputHandler &ih, const char *filename) |
read IOObject from a file | |
virtual bool | write (OutputHandler &oh) const =0 |
write IOObject to OutputHandler | |
virtual bool | writeToFile (OutputHandler &oh, const char *filename) |
write the IOObject to a file | |
virtual | ~IOObject () |
destructor |
Base input/output class for for data objects.
Definition at line 32 of file rtcIOObject.h.
default constructor
Definition at line 33 of file rtcIOObject.cpp.
rtc::IOObject::~IOObject | ( | ) | [virtual] |
destructor
Definition at line 38 of file rtcIOObject.cpp.
virtual bool rtc::IOObject::read | ( | InputHandler & | ih | ) | [pure virtual] |
read IOObject from InputHandler
Implemented in rtc::Functor, rtc::Mesh3D, rtc::Functor::Parameters, rtc::Vertex3D, and rtc::MeshSet3D.
bool rtc::IOObject::readFromFile | ( | InputHandler & | ih, |
const char * | filename | ||
) | [virtual] |
read IOObject from a file
Definition at line 42 of file rtcIOObject.cpp.
virtual bool rtc::IOObject::write | ( | OutputHandler & | oh | ) | const [pure virtual] |
write IOObject to OutputHandler
Implemented in rtc::Functor, rtc::Mesh3D, rtc::Functor::Parameters, rtc::Vertex3D, and rtc::MeshSet3D.
bool rtc::IOObject::writeToFile | ( | OutputHandler & | oh, |
const char * | filename | ||
) | [virtual] |
write the IOObject to a file
Definition at line 58 of file rtcIOObject.cpp.