24 #ifndef CPN_NODEATTR_H
25 #define CPN_NODEATTR_H
61 const std::string &nodetype_)
96 std::ostringstream oss;
98 params[key] = oss.str();
107 const std::string &
GetKernel()
const {
return kernelname; }
110 const std::string &
GetName()
const {
return name; }
114 const std::map<std::string, std::string> &
GetParams()
const {
return params; }
123 std::map<std::string, std::string>
params;
NodeAttr & SetTypeName(const std::string &nodetype_)
NodeAttr & SetKernel(const std::string &kname)
NodeAttr & SetKernelKey(Key_t k)
NodeAttr & SetKey(Key_t key_)
const std::map< std::string, std::string > & GetParams() const
NodeAttr & SetParam(const std::string &key, const std::string value)
NodeAttr & SetParam(const std::string &key, T value)
std::map< std::string, std::string > params
const std::string & GetName() const
const std::string & GetTypeName() const
const std::string & GetKernel() const
Key_t GetKernelKey() const
NodeAttr(const std::string &name_, const std::string &nodetype_)
NodeAttr & SetName(const std::string &name_)