#ifndef AGDBVOLUMEHH #define AGDBVOLUMEHH #include #include "agdbBase.hh" #include "agdbAttribute.hh" namespace agdb { class Volume : public Base { private: Attribute _name; //string _name; public: Volume(const string s) : Base(s), _name("name", Attribute::required) {}; Volume & setName(const string & s) { _name.setValue(s); return *this; }; const string getName() { //return _name; return _name.getSetOrDefaultValue(); }; Attribute getNameAtt() { return _name; }; }; } // end of agdb namespace #endif