source: GTP/trunk/Lib/Geom/shared/GTGeometry/include/GeoSerializable.h @ 774

Revision 774, 562 bytes checked in by gumbau, 19 years ago (diff)

GTGeometry and GeoTool? initial imports

Line 
1#ifndef __GEO_SERIALIZABLE_H__
2#define __GEO_SERIALIZABLE_H__
3
4#include "GeoSerializer.h"
5
6namespace Geometry {
7
8        /// Serializable interface
9        /** Base class of objects to simplify input/output. */
10        class Serializable
11        {
12        public:
13
14                /// Copy constructor
15                //Serializable(const Serializable&);
16
17                /// Assignment operator
18                //Serializable& operator =(const Serializable&);
19
20                /// Loads data from a Serializer.
21                virtual void Load(Serializer &s) = 0;
22
23                /// Saves data to a Serializer.
24                virtual void Save(Serializer &s) = 0;
25        };
26}
27
28#endif
Note: See TracBrowser for help on using the repository browser.