SpherePackingScenarioGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
DoubleAttribute.h
Go to the documentation of this file.
00001 /*
00002  * DoubleAttribute.h
00003  *
00004  *  Created on: May 9, 2011
00005  *      Author: liebm
00006  */
00007 
00008 #include <string>
00009 #include "configuration/attributes/AbstractAttribute.h"
00010 
00011 #ifndef DOUBLEATTRIBUTE_H_
00012 #define DOUBLEATTRIBUTE_H_
00013 
00014 namespace configuration
00015 {
00016   namespace attributes
00017   {
00018     class DoubleAttribute: public AbstractAttribute
00019     {
00020     public:
00021       DoubleAttribute(
00022               std::string name,
00023               double value);
00024 
00025       virtual ~DoubleAttribute();
00026 
00027       const double getValue();
00028       void setValue(double value);
00029 
00030     private:
00031       DoubleAttribute();
00032       double _value;
00033     };
00034   }
00035 }
00036 
00037 #endif /* DOUBLEATTRIBUTE_H_ */
00038 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines