summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-19 21:51:28 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-19 21:51:28 +0100
commitbf840e619b720e404727aca68735203950004a97 (patch)
tree38a515f2284bae846f724a7f054403bf4348a0ed /src/core
parent28f09ed1ed8d3defef1497f1f9c0f141e66bb812 (diff)
Added a comment to the default field name constant
Diffstat (limited to 'src/core')
-rw-r--r--src/core/model/Domain.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/model/Domain.hpp b/src/core/model/Domain.hpp
index b3fc6c2..7e10d91 100644
--- a/src/core/model/Domain.hpp
+++ b/src/core/model/Domain.hpp
@@ -182,6 +182,10 @@ class Descriptor;
class StructuredClass;
class Domain;
+/**
+ * Magic field name used to identify the default field. The default field is
+ * either the tree field or the only subtree field.
+ */
static const std::string DEFAULT_FIELD_NAME = "$default";
/**
@@ -1196,4 +1200,4 @@ extern const Rtti Domain;
}
}
-#endif /* _OUSIA_MODEL_DOMAIN_HPP_ */ \ No newline at end of file
+#endif /* _OUSIA_MODEL_DOMAIN_HPP_ */