Region.h

00001 # ifndef Conjecture_Region_h
00002 # define Conjecture_Region_h Conjecture_Region_h
00003 
00004 // Insert SVN header substitution variable here
00005 // Class Champion: Unassigned
00006 
00007 // Dependencies
00008 #include "Element.h" // parent
00009 
00010 // Declaration
00011 namespace Conjecture {
00012 
00027     class Region : public Element {
00028       public:
00029         // Constructors/Destructors
00030         Region(Element* parent, const Coord& topleft, const Coord& bottomright);
00031         
00032         // Accessors
00033         virtual int type() const { return Type; }
00034         
00040         virtual Region* asRegion() { return this; }
00041         virtual const Region* asRegion() const { return this; }
00042         
00043         virtual void printSummary(std::ostream& os = std::cerr, const std::string& indent = "", int index = -1) const;
00044         
00054         static void test(int argc = 0, const char* argv[] = NULL);
00055         
00056       protected:
00057         // Methods
00058         
00059         // Accessors
00060         
00061       private:
00062         // Methods
00063         
00064         // Accessors
00065         
00066         // State
00067         static const ElementType Type = ELEMENT_REGION;
00068     };
00069 };
00070 
00071 # endif // Conjecture_Region_h
00072 

Generated on Thu Jun 15 19:56:10 2006 for Conjecture by  doxygen 1.4.6