From bf840e619b720e404727aca68735203950004a97 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Thu, 19 Feb 2015 21:51:28 +0100 Subject: Added a comment to the default field name constant --- src/core/model/Domain.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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_ */ -- cgit v1.2.3