#include <rule.hpp>
Public Member Functions | |
rule () | |
rule (const std::string &name, const std::string &title="", double min_scale_denominator=0, double max_scale_denominator=std::numeric_limits< double >::infinity()) | |
rule (const rule &rhs) | |
rule & | operator= (rule const &rhs) |
bool | operator== (rule const &other) |
void | set_max_scale (double scale) |
double | get_max_scale () const |
void | set_min_scale (double scale) |
double | get_min_scale () const |
void | set_name (std::string const &name) |
std::string const & | get_name () const |
std::string const & | get_title () const |
void | set_title (std::string const &title) |
void | set_abstract (std::string const &abstract) |
std::string const & | get_abstract () const |
void | append (const symbolizer &sym) |
void | remove_at (size_t index) |
const symbolizers & | get_symbolizers () const |
symbolizers::const_iterator | begin () const |
symbolizers::const_iterator | end () const |
symbolizers::iterator | begin () |
symbolizers::iterator | end () |
void | set_filter (const filter_ptr &filter) |
filter_ptr const & | get_filter () const |
void | set_else (bool else_filter) |
bool | has_else_filter () const |
bool | active (double scale) const |
void | accept (filter_visitor< FeatureT > &v) const |
mapnik::rule< FeatureT, Filter >::rule | ( | ) | [inline] |
mapnik::rule< FeatureT, Filter >::rule | ( | const std::string & | name, | |
const std::string & | title = "" , |
|||
double | min_scale_denominator = 0 , |
|||
double | max_scale_denominator = std::numeric_limits<double>::infinity() | |||
) | [inline] |
mapnik::rule< FeatureT, Filter >::rule | ( | const rule< FeatureT, Filter > & | rhs | ) | [inline] |
rule& mapnik::rule< FeatureT, Filter >::operator= | ( | rule< FeatureT, Filter > const & | rhs | ) | [inline] |
bool mapnik::rule< FeatureT, Filter >::operator== | ( | rule< FeatureT, Filter > const & | other | ) | [inline] |
void mapnik::rule< FeatureT, Filter >::set_max_scale | ( | double | scale | ) | [inline] |
double mapnik::rule< FeatureT, Filter >::get_max_scale | ( | ) | const [inline] |
Referenced by mapnik::serialize_rule().
void mapnik::rule< FeatureT, Filter >::set_min_scale | ( | double | scale | ) | [inline] |
double mapnik::rule< FeatureT, Filter >::get_min_scale | ( | ) | const [inline] |
Referenced by mapnik::serialize_rule().
void mapnik::rule< FeatureT, Filter >::set_name | ( | std::string const & | name | ) | [inline] |
std::string const& mapnik::rule< FeatureT, Filter >::get_name | ( | ) | const [inline] |
Referenced by mapnik::serialize_rule().
std::string const& mapnik::rule< FeatureT, Filter >::get_title | ( | ) | const [inline] |
Referenced by mapnik::serialize_rule().
void mapnik::rule< FeatureT, Filter >::set_title | ( | std::string const & | title | ) | [inline] |
void mapnik::rule< FeatureT, Filter >::set_abstract | ( | std::string const & | abstract | ) | [inline] |
std::string const& mapnik::rule< FeatureT, Filter >::get_abstract | ( | ) | const [inline] |
void mapnik::rule< FeatureT, Filter >::append | ( | const symbolizer & | sym | ) | [inline] |
void mapnik::rule< FeatureT, Filter >::remove_at | ( | size_t | index | ) | [inline] |
const symbolizers& mapnik::rule< FeatureT, Filter >::get_symbolizers | ( | ) | const [inline] |
Referenced by mapnik::serialize_rule(), and mapnik::attribute_collector< FeatureT >::visit().
symbolizers::const_iterator mapnik::rule< FeatureT, Filter >::begin | ( | ) | const [inline] |
symbolizers::const_iterator mapnik::rule< FeatureT, Filter >::end | ( | ) | const [inline] |
symbolizers::iterator mapnik::rule< FeatureT, Filter >::begin | ( | ) | [inline] |
symbolizers::iterator mapnik::rule< FeatureT, Filter >::end | ( | ) | [inline] |
void mapnik::rule< FeatureT, Filter >::set_filter | ( | const filter_ptr & | filter | ) | [inline] |
filter_ptr const& mapnik::rule< FeatureT, Filter >::get_filter | ( | ) | const [inline] |
Referenced by mapnik::serialize_rule(), and mapnik::attribute_collector< FeatureT >::visit().
void mapnik::rule< FeatureT, Filter >::set_else | ( | bool | else_filter | ) | [inline] |
bool mapnik::rule< FeatureT, Filter >::has_else_filter | ( | ) | const [inline] |
Referenced by mapnik::serialize_rule().
bool mapnik::rule< FeatureT, Filter >::active | ( | double | scale | ) | const [inline] |
void mapnik::rule< FeatureT, Filter >::accept | ( | filter_visitor< FeatureT > & | v | ) | const [inline] |