27 #ifndef _SALOMEDSImpl_AttributeParameter_HeaderFile
28 #define _SALOMEDSImpl_AttributeParameter_HeaderFile
52 std::map<std::string, int>
_ints;
53 std::map<std::string, double>
_reals;
58 std::map< std::string, std::vector<std::string> >
_strarrays;
62 static const std::string& GetID() ;
67 void SetInt(
const std::string& theID,
const int& theValue);
68 int GetInt(
const std::string& theID);
70 void SetReal(
const std::string& theID,
const double& theValue);
71 double GetReal(
const std::string& theID);
73 void SetString(
const std::string& theID,
const std::string& theValue);
74 std::string GetString(
const std::string& theID);
76 void SetBool(
const std::string& theID,
const bool& theValue);
77 bool GetBool(
const std::string& theID);
79 void SetRealArray(
const std::string& theID,
const std::vector<double>& theArray);
80 std::vector<double> GetRealArray(
const std::string& theID);
82 void SetIntArray(
const std::string& theID,
const std::vector<int>& theArray);
83 std::vector<int> GetIntArray(
const std::string& theID);
85 void SetStrArray(
const std::string& theID,
const std::vector<std::string>& theArray);
86 std::vector<std::string> GetStrArray(
const std::string& theID);
100 virtual std::string
Save();
101 virtual void Load(
const std::string& theValue);
103 const std::string&
ID()
const;