34 #ifndef CARTOBASE_OBJECT_SYNTAX_H 35 #define CARTOBASE_OBJECT_SYNTAX_H 57 inline Semantic(
const std::string & t,
bool need =
false,
58 bool intern =
false );
87 : needed( false ), internal( false )
std::map< std::string, Semantic > SemanticSet
This lookup table associates a semantic attribute with its properties.
bool needed
is this semantic attribute mandatory?
bool internal
internal attributes are not written to disk
std::map< std::string, Syntax > SyntaxSet
This lookup table associates a syntactic attribute with its syntax.
SemanticSet Syntax
Specify syntax for syntactic attributes.
std::string type
type of semantic attribute, such as `float'
Specify properties for semantic attributes - mainly for I/O purposes.