|
Horizon
|
Helper class for saving/loading shapes from a file. More...
#include <shape_file_io.h>
Public Types | |
| enum | IO_MODE { IOM_READ = 0 , IOM_APPEND , IOM_WRITE } |
Public Member Functions | |
| SHAPE_FILE_IO (const std::string &aFilename, IO_MODE aMode=IOM_READ) | |
| void | BeginGroup (const std::string &aName="<noname>") |
| void | EndGroup () |
| SHAPE * | Read () |
| void | Write (const SHAPE *aShape, const std::string &aName="<noname>") |
| void | Write (const SHAPE &aShape, const std::string &aName="<noname>") |
Helper class for saving/loading shapes from a file.