Package mapnik :: Module _mapnik :: Class ColorizerStops

Class ColorizerStops

 object --+    
          |    
??.instance --+
              |
             ColorizerStops

A RasterColorizer's collection of ordered color stops. This class is not meant to be instantiated from python. However, it can be accessed at a RasterColorizer's "stops" attribute for introspection purposes

Instance Methods
 
__contains__(...)
__contains__( (ColorizerStops)arg1, (object)arg2) -> bool :
 
__delitem__(...)
__delitem__( (ColorizerStops)arg1, (object)arg2) -> None :
 
__getitem__(...)
__getitem__( (object)arg1, (object)arg2) -> object :
 
__init__(...)
Raises an exception This class cannot be instantiated from Python
 
__iter__(...)
__iter__( (object)arg1) -> object :
 
__len__(...)
__len__( (ColorizerStops)arg1) -> int :
 
__reduce__(...)
helper for pickle
 
__setitem__(...)
__setitem__( (ColorizerStops)arg1, (object)arg2, (object)arg3) -> None :
 
append(...)
append( (ColorizerStops)arg1, (object)arg2) -> None :
 
extend(...)
extend( (ColorizerStops)arg1, (object)arg2) -> None :

Inherited from unreachable.instance: __new__

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

Properties

Inherited from object: __class__

Method Details

__contains__(...)
(In operator)

 

__contains__( (ColorizerStops)arg1, (object)arg2) -> bool :

    C++ signature :
        bool __contains__(std::vector<mapnik::colorizer_stop, std::allocator<mapnik::colorizer_stop> > {lvalue},_object*)

__delitem__(...)
(Index deletion operator)

 

__delitem__( (ColorizerStops)arg1, (object)arg2) -> None :

    C++ signature :
        void __delitem__(std::vector<mapnik::colorizer_stop, std::allocator<mapnik::colorizer_stop> > {lvalue},_object*)

__getitem__(...)
(Indexing operator)

 

__getitem__( (object)arg1, (object)arg2) -> object :

    C++ signature :
        boost::python::api::object __getitem__(boost::python::back_reference<std::vector<mapnik::colorizer_stop, std::allocator<mapnik::colorizer_stop> >&>,_object*)

__init__(...)
(Constructor)

 

Raises an exception This class cannot be instantiated from Python

Overrides: object.__init__

__iter__(...)

 

__iter__( (object)arg1) -> object :

    C++ signature :
        boost::python::objects::iterator_range<boost::python::return_internal_reference<1ul, boost::python::default_call_policies>, __gnu_cxx::__normal_iterator<mapnik::colorizer_stop*, std::vector<mapnik::colorizer_stop, std::allocator<mapnik::colorizer_stop> > > > __iter__(boost::python::back_reference<std::vector<mapnik::colorizer_stop, std::allocator<mapnik::colorizer_stop> >&>)

__len__(...)
(Length operator)

 

__len__( (ColorizerStops)arg1) -> int :

    C++ signature :
        unsigned long __len__(std::vector<mapnik::colorizer_stop, std::allocator<mapnik::colorizer_stop> > {lvalue})

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__setitem__(...)
(Index assignment operator)

 

__setitem__( (ColorizerStops)arg1, (object)arg2, (object)arg3) -> None :

    C++ signature :
        void __setitem__(std::vector<mapnik::colorizer_stop, std::allocator<mapnik::colorizer_stop> > {lvalue},_object*,_object*)

append(...)

 

append( (ColorizerStops)arg1, (object)arg2) -> None :

    C++ signature :
        void append(std::vector<mapnik::colorizer_stop, std::allocator<mapnik::colorizer_stop> > {lvalue},boost::python::api::object)

extend(...)

 

extend( (ColorizerStops)arg1, (object)arg2) -> None :

    C++ signature :
        void extend(std::vector<mapnik::colorizer_stop, std::allocator<mapnik::colorizer_stop> > {lvalue},boost::python::api::object)