34 #ifndef CARTOBASE_OBJECT_SWRITER_H
35 #define CARTOBASE_OBJECT_SWRITER_H
41 #ifndef CARTOBASE_OBJECT_SYNTAX_H
102 void write(
const SemanticSet& set, std::string::size_type tab1,
103 std::string::size_type tab2);
108 std::string _filename;
109 std::ofstream _stream;
Write a SyntaxSet to a file.
void write(const SyntaxSet &rules)
read the referenced attribute I/O properties to a stream
SyntaxWriter(const std::string &filename)
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.
CARTOBASE_API carto::SyntaxWriter & operator<<(carto::SyntaxWriter &writer, const carto::SyntaxSet &rules)