Package mapnik :: Module _mapnik :: Class Rule

Class Rule

 object --+    
          |    
??.instance --+
              |
             Rule

Instance Methods
 
__init__(...)
__init__( (object)arg1) -> None : default constructor
 
__reduce__(...)
helper for pickle
 
active(...)
active( (Rule)arg1, (float)arg2) -> bool :
 
has_also(...)
has_also( (Rule)arg1) -> bool :
 
has_else(...)
has_else( (Rule)arg1) -> bool :
 
set_also(...)
set_also( (Rule)arg1, (bool)arg2) -> None :
 
set_else(...)
set_else( (Rule)arg1, (bool)arg2) -> None :

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  __instance_size__ = 88
Properties
  copy_symbols
  filter
  max_scale
  min_scale
  name
  symbols

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :
    default constructor

    C++ signature :
        void __init__(_object*)

__init__( (object)arg1, (str)arg2 [, (float)arg3 [, (float)arg4]]) -> None :

    C++ signature :
        void __init__(_object*,std::string [,double [,double]])

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

active(...)

 

active( (Rule)arg1, (float)arg2) -> bool :

    C++ signature :
        bool active(mapnik::rule {lvalue},double)

has_also(...)

 

has_also( (Rule)arg1) -> bool :

    C++ signature :
        bool has_also(mapnik::rule {lvalue})

has_else(...)

 

has_else( (Rule)arg1) -> bool :

    C++ signature :
        bool has_else(mapnik::rule {lvalue})

set_also(...)

 

set_also( (Rule)arg1, (bool)arg2) -> None :

    C++ signature :
        void set_also(mapnik::rule {lvalue},bool)

set_else(...)

 

set_else( (Rule)arg1, (bool)arg2) -> None :

    C++ signature :
        void set_else(mapnik::rule {lvalue},bool)


Property Details

copy_symbols

Get Method:
unreachable(...)

filter

Get Method:
unreachable(...)
Set Method:
unreachable(...)

max_scale

Get Method:
unreachable(...)
Set Method:
unreachable(...)

min_scale

Get Method:
unreachable(...)
Set Method:
unreachable(...)

name

Get Method:
unreachable(...)
Set Method:
unreachable(...)

symbols

Get Method:
unreachable(...)