35 #ifndef LIBDCP_RATING_H
36 #define LIBDCP_RATING_H
40 #include <libcxml/cxml.h>
41 LIBDCP_DISABLE_WARNINGS
42 #include <libxml++/libxml++.h>
43 LIBDCP_ENABLE_WARNINGS
53 Rating (std::string agency_, std::string label_)
58 explicit Rating (cxml::ConstNodePtr node);
60 void as_xml (xmlpp::Element* parent)
const;
69 extern bool operator== (
Rating const & a,
Rating const & b);
75 RatingSystem (std::string agency_, std::string name_, std::string country_and_region_names_, std::string country_code_)
91 std::vector<Rating> ratings;
95 std::vector<RatingSystem> rating_systems();
97 void load_rating_list(boost::filesystem::path ratings_file);
std::string country_and_region_names
Namespace for everything in libdcp.