GEAR  1.9.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
GearParameters.h
1 // -*- C++ -*-
2 #ifndef GEAR_GEARPARAMETERS_H
3 #define GEAR_GEARPARAMETERS_H 1
4 
5 #include <string>
6 #include <vector>
7 
8 #include "GEAR.h"
9 
10 namespace gear {
11 
21 
22 public:
24  virtual ~GearParameters() { /* nop */; }
25 
29  virtual int getIntVal(const std::string & key) const = 0;
30 
34  virtual double getDoubleVal(const std::string & key) const = 0;
35 
39  virtual const std::string & getStringVal(const std::string & key) const = 0;
40 
44  virtual const std::vector<int> & getIntVals(const std::string & key) const = 0;
45 
49  virtual const std::vector<double> & getDoubleVals(const std::string & key) const = 0;
50 
54  virtual const std::vector<std::string> & getStringVals(const std::string & key) const = 0;
55 
57  virtual const std::vector<std::string> & getIntKeys() const = 0;
58 
60  virtual const std::vector<std::string> & getDoubleKeys() const = 0;
61 
63  virtual const std::vector<std::string> & getStringKeys() const = 0;
64 
66  virtual const std::vector<std::string> & getIntVecKeys() const = 0;
67 
69  virtual const std::vector<std::string> & getDoubleVecKeys() const = 0;
70 
72  virtual const std::vector<std::string> & getStringVecKeys() const = 0;
73 }; // class
74 } // namespace gear
75 #endif /* ifndef GEAR_GEARPARAMETERS_H */
virtual const std::vector< std::string > & getIntVecKeys() const =0
All keys of IntVec variables.
virtual const std::vector< std::string > & getStringVecKeys() const =0
All keys of StringVec variables.
virtual int getIntVal(const std::string &key) const =0
Integer value for key.
virtual const std::vector< std::string > & getDoubleKeys() const =0
All keys of double variables.
virtual const std::vector< std::string > & getIntKeys() const =0
All keys of int variables.
virtual const std::vector< double > & getDoubleVals(const std::string &key) const =0
Double values for key.
Abstract interface for a set of parameters that can be used to describe the geometrical properties of...
virtual const std::vector< std::string > & getStringKeys() const =0
All keys of string variables.
virtual const std::vector< int > & getIntVals(const std::string &key) const =0
Integer values for key.
virtual const std::vector< std::string > & getDoubleVecKeys() const =0
All keys of DoubleVec variables.
virtual const std::string & getStringVal(const std::string &key) const =0
String value for key.
virtual const std::vector< std::string > & getStringVals(const std::string &key) const =0
String values for key.
virtual ~GearParameters()
Destructor.
virtual double getDoubleVal(const std::string &key) const =0
Double value for key.