19 #ifndef avro_CustomAttributes_hh__
20 #define avro_CustomAttributes_hh__
22 #include <boost/optional.hpp>
37 boost::optional<std::string> getAttribute(
const std::string &name)
const;
40 void addAttribute(
const std::string &name,
const std::string &value);
43 const std::map<std::string, std::string> &attributes()
const {
48 void printJson(std::ostream& os,
const std::string &name)
const;
51 std::map<std::string, std::string> attributes_;