13 namespace confparser {
21 std::ofstream f( fileName.c_str() );
22 f <<
"# Automatically generated config file\n\n";
35 std::map<std::string,std::string>::iterator mit;
36 for ( mit =
props_.begin(); mit !=
props_.end(); ++mit ) {
37 fileHandle << indent << mit->first <<
" " << mit->second <<
";\n";
44 fileHandle << indent << bit->first <<
" {\n\n";
46 bit->second.writeConfigFileRec( fileHandle, indent +
" " );
48 fileHandle << indent <<
"}\n\n";