{
return group_;
}
+
+const String
+Layer::get_param_local_name(const String ¶m_name)const
+{
+ ParamVocab vocab = get_param_vocab();
+ // loop to find the parameter in the parameter vocab - this gives us its local name
+ for (ParamVocab::iterator iter = vocab.begin(); iter != vocab.end(); iter++)
+ if (iter->get_name() == param_name)
+ return iter->get_local_name();
+ return String();
+}
//! Returns the layer's description if it's not empty, else its local name
const String get_non_empty_description()const { return get_description().empty() ? get_local_name() : get_description(); }
+ //! Returns the localised version of the given layer parameter
+ const String get_param_local_name(const String ¶m_name)const;
+
/*
-- ** -- V I R T U A L F U N C T I O N S -----------------------------------
*/