Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
ShapePoint.hGo to the documentation of this file.00001 //-*-c++-*- 00002 #ifndef _SHAPEPOINT_H_ 00003 #define _SHAPEPOINT_H_ 00004 00005 #include "ShapeRoot.h" 00006 #include "PointData.h" 00007 00008 namespace DualCoding { 00009 00010 class ShapeSpace; 00011 class Point; 00012 00013 template<> 00014 class Shape<PointData> : public ShapeRoot { 00015 public: 00016 SHAPESTUFF_H(PointData); // defined in ShapeRoot.h 00017 00018 Shape<PointData>(ShapeSpace &s, const Point &pt) 00019 : ShapeRoot(addShape(new PointData(s,pt))) {}; 00020 00021 Shape<PointData>(const PointData& newData) : 00022 ShapeRoot(addShape(new PointData(newData))) {}; 00023 00024 }; 00025 00026 } // namespace 00027 00028 #endif |
DualCoding 4.0 |
Generated Thu Nov 22 00:52:36 2007 by Doxygen 1.5.4 |