xsil/column.hh

00001 /* -*- mode: c++; c-basic-offset: 4; -*- */
00002 #ifndef XSIL_COLUMN_HH
00003 #define XSIL_COLUMN_HH
00004 
00005 #include <xsil/xobj.hh>
00006 
00007 namespace xsil {
00008     class Xwriter;
00009     class column;
00010 
00017 class column : public xobj {
00018 public:
00022     column(void);
00023 
00030     column(const char* Name, const char* Type=0, const char* Unit=0);
00031 
00035     ~column(void);
00036  
00041     void Spew(Xwriter& xout) const;
00042 
00047     column* Clone(void) const;
00048 
00053     const char* getObjType(void) const;
00054 
00059     const char* getUnit(void) const;
00060 
00065     void setUnit(const char* Unit);
00066 
00067 private:
00068     std::string mUnit;
00069 };
00070 
00071 }
00072 
00073 #endif  //  XSIL_COLUMN_HH

Generated on Sun Mar 8 19:20:54 2009 for dmt by  doxygen 1.5.4