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 )
94 : type( t ), needed( need ), internal( intern )
std::map< std::string, Semantic > SemanticSet
This lookup table associates a semantic attribute with its properties.
std::map< std::string, Syntax > SyntaxSet
This lookup table associates a syntactic attribute with its syntax.
SemanticSet Syntax
Specify syntax for syntactic attributes.
Specify properties for semantic attributes - mainly for I/O purposes.
std::string type
type of semantic attribute, such as ‘float’
bool needed
is this semantic attribute mandatory?