8 #ifndef SCARAB_PARAM_CODEC_HH_ 9 #define SCARAB_PARAM_CODEC_HH_ 23 #define REGISTER_PARAM_INPUT_CODEC(codec_class, encoding) \ 24 static registrar< param_input_codec, codec_class > s_param_input_codec##codec_class##_registrar( encoding ); 43 virtual bool write_file(
const param& a_param,
const std::string& a_filename,
const param_node& a_options =
param_node() ) = 0;
47 #define REGISTER_PARAM_OUTPUT_CODEC(codec_class, encoding) \ 48 static registrar< param_output_codec, codec_class > s_param_output_codec##codec_class##_registrar( encoding ); 65 bool write_string(
const param& a_param, std::string& a_string,
const std::string& a_encoding,
const param_node& a_options =
param_node() );
std::unique_ptr< param > param_ptr_t