+//--------------------------------------------------------------------
+bool clitk::AnatomicalFeatureDatabase::TagExist(std::string tag)
+{
+ return (m_MapOfTag.find(tag) != m_MapOfTag.end());
+}
+//--------------------------------------------------------------------
+
+//--------------------------------------------------------------------
+void clitk::AnatomicalFeatureDatabase::SetDouble(std::string tag, double value)
+{
+ m_MapOfTag[tag] = clitk::toString(value);
+}
+//--------------------------------------------------------------------
+
+//--------------------------------------------------------------------
+double clitk::AnatomicalFeatureDatabase::GetDouble(std::string tag)
+{
+ if (!TagExist(tag)) {
+ clitkExceptionMacro("Could not find the tag <" << tag << "> of type Double in the DB");
+ return -1;
+ }