2008-05-05 06:07:14 -05:00
|
|
|
#ifndef ATECHNOLOGY_H_
|
|
|
|
#define ATECHNOLOGY_H_
|
|
|
|
|
|
|
|
class ATechnology {
|
2008-05-06 08:34:26 -05:00
|
|
|
public:
|
|
|
|
class PhysicalRule {
|
|
|
|
public:
|
|
|
|
PhysicalRule(string& name,
|
|
|
|
double value,
|
|
|
|
string& reference):
|
|
|
|
name_(name),
|
|
|
|
value_(value),
|
|
|
|
reference_(reference) {}
|
|
|
|
PhysicalRule(const PhysicalRule& physicalRule):
|
|
|
|
name_(physicalRule.name_),
|
|
|
|
value_(physicalRule.value_),
|
|
|
|
reference_(physicalRule.reference_) {}
|
|
|
|
const string name_;
|
|
|
|
const double value_;
|
|
|
|
const string reference_;
|
|
|
|
};
|
|
|
|
static const PhysicalRule& getPhysicalRule(string name);
|
2008-05-05 06:07:14 -05:00
|
|
|
};
|
|
|
|
|
2008-05-06 08:34:26 -05:00
|
|
|
#endif /* ATECHNOLOGY_H_*/
|