28#ifndef __SHAPE_FILE_IO_H
29#define __SHAPE_FILE_IO_H
50 SHAPE_FILE_IO(
const std::string& aFilename, IO_MODE aMode = IOM_READ );
53 void BeginGroup(
const std::string& aName =
"<noname>");
58 void Write(
const SHAPE* aShape,
const std::string& aName =
"<noname>" );
60 void Write(
const SHAPE& aShape,
const std::string& aName =
"<noname>" )
62 Write( &aShape, aName );
Helper class for saving/loading shapes from a file.
Definition: shape_file_io.h:40
An abstract shape on 2D plane.
Definition: shape.h:117