FluentMapping.h
Go to the documentation of this file.
00001 /*
00002  * FluentMapping.h
00003  *
00004  *  Created on: Jul 13, 2011
00005  *      Author: Andreas Hertle
00006  */
00007 
00008 #ifndef FLUENTMAPPING_H_
00009 #define FLUENTMAPPING_H_
00010 
00011 #include <string>
00012 
00013 namespace opl
00014 {
00015 
00016 namespace interface
00017 {
00018 
00019 class FluentMapping
00020 {
00021     int index;
00022     double value;
00023     bool constant;
00024 
00025 public:
00026     FluentMapping(int index);
00027     FluentMapping(int index, double value, bool constant = false);
00028     virtual ~FluentMapping();
00029 
00030     int getIndex() const {return index;}
00031     double getValue() const {return value;}
00032     bool isConstant() const {return constant;}
00033 
00034     std::string dump() const;
00035 };
00036 
00037 }
00038 
00039 }
00040 
00041 #endif /* FluentMapping_H_ */


tfd_modules
Author(s): Maintained by Christian Dornhege (see AUTHORS file).
autogenerated on Mon Oct 6 2014 07:52:06