Package openalea :: Package plantgl :: Package scenegraph :: Module _pglsg :: Class Index
[frames] | no frames]

Class Index

 object --+    
          |    
??.instance --+
              |
             Index

A set of indices

Instance Methods
 
__add__(...)
__add__( (Index)arg1, (int)arg2) -> Index :
 
__contains__(...)
__contains__( (Index)arg1, (int)arg2) -> bool :
 
__delitem__(...)
__delitem__( (Index)arg1, (int)arg2) -> None :
 
__delslice__(...)
__delslice__( (Index)arg1, (int)arg2, (int)arg3) -> None :
 
__getinitargs__(...)
__getinitargs__( (Index)arg1) -> tuple :
 
__getitem__(...)
__getitem__( (Index)arg1, (int)arg2) -> int :
 
__getslice__(...)
__getslice__( (Index)arg1, (int)arg2, (int)arg3) -> Index :
 
__iadd__(...)
__iadd__( (Index)arg1, (int)arg2) -> Index :
 
__init__(...)
__init__( (object)arg1, (int)size) -> None : Index(int size)
 
__len__(...)
__len__( (Index)arg1) -> int :
 
__reduce__(...)
helper for pickle
 
__repr__(...)
__repr__( (Index)arg1) -> str :
 
__setitem__(...)
__setitem__( (Index)arg1, (int)arg2, (int)arg3) -> None :
 
__str__(...)
__str__( (Index)arg1) -> str :
 
append(...)
append( (Index)arg1, (int)arg2) -> None :
 
clear(...)
clear( (Index)arg1) -> None :
 
getId(...)
getId( (Index)arg1) -> int :
 
insert(...)
insert( (Index)arg1, (int)arg2, (int)arg3) -> None :
 
pop(...)
pop( (Index)arg1 [, (int)arg2]) -> int :
 
reverse(...)
reverse( (Index)arg1) -> None :

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce_ex__, __setattr__

Class Variables
  __instance_size__ = 32
  __safe_for_unpickling__ = True
Properties

Inherited from object: __class__

Method Details

__add__(...)
(Addition operator)

 

__add__( (Index)arg1, (int)arg2) -> Index :

    C++ signature :
        class TOOLS::Array1<unsigned int> * __add__(class TOOLS::Array1<unsigned int> *,unsigned int)

__contains__(...)
(In operator)

 

__contains__( (Index)arg1, (int)arg2) -> bool :

    C++ signature :
        bool __contains__(class TOOLS::Array1<unsigned int> *,unsigned int)

__delitem__(...)
(Index deletion operator)

 

__delitem__( (Index)arg1, (int)arg2) -> None :

    C++ signature :
        void __delitem__(class TOOLS::Array1<unsigned int> *,int)

__delslice__(...)
(Slice deletion operator)

 

__delslice__( (Index)arg1, (int)arg2, (int)arg3) -> None :

    C++ signature :
        void __delslice__(class TOOLS::Array1<unsigned int> *,int,int)

__getinitargs__(...)

 

__getinitargs__( (Index)arg1) -> tuple :

    C++ signature :
        class boost::python::tuple __getinitargs__(class TOOLS::Array1<unsigned int>)

__getitem__(...)
(Indexing operator)

 

__getitem__( (Index)arg1, (int)arg2) -> int :

    C++ signature :
        unsigned int __getitem__(class TOOLS::Array1<unsigned int> *,int)

__getslice__(...)
(Slicling operator)

 

__getslice__( (Index)arg1, (int)arg2, (int)arg3) -> Index :

    C++ signature :
        class TOOLS::Array1<unsigned int> * __getslice__(class TOOLS::Array1<unsigned int> *,int,int)

__iadd__(...)

 

__iadd__( (Index)arg1, (int)arg2) -> Index :

    C++ signature :
        class TOOLS::Array1<unsigned int> * __iadd__(class TOOLS::Array1<unsigned int> *,unsigned int)

__iadd__( (Index)arg1, (object)arg2) -> Index :

    C++ signature :
        class TOOLS::Array1<unsigned int> * __iadd__(class TOOLS::Array1<unsigned int> *,class TOOLS::RefCountPtr<class TOOLS::Array1<unsigned int> >)

__init__(...)
(Constructor)

 

__init__( (object)arg1, (int)size) -> None :
    Index(int size)

    C++ signature :
        void __init__(struct _object *,unsigned int)

__init__( (object)arg1, (object)arg2) -> object :
    Index([int i, int j, int k, ...])

    C++ signature :
        void * __init__(class boost::python::api::object,class boost::python::api::object)

__init__( (object)arg1, (int)arg2, (int)arg3, (int)arg4) -> object :
    Index(int i, int j, int k)

    C++ signature :
        void * __init__(class boost::python::api::object,unsigned int,unsigned int,unsigned int)

__init__( (object)arg1, (int)arg2, (int)arg3, (int)arg4, (int)arg5) -> object :
    Index(int i, int j, int k, int l)

    C++ signature :
        void * __init__(class boost::python::api::object,unsigned int,unsigned int,unsigned int,unsigned int)

__init__( (object)arg1, (int)arg2, (int)arg3, (int)arg4, (int)arg5, (int)arg6) -> object :
    Index(int i, int j, int k, int l, int m)

    C++ signature :
        void * __init__(class boost::python::api::object,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)

Overrides: object.__init__

__len__(...)
(Length operator)

 

__len__( (Index)arg1) -> int :

    C++ signature :
        unsigned int __len__(class TOOLS::Array1<unsigned int> *)

__reduce__(...)

 
helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__repr__(...)
(Representation operator)

 

__repr__( (Index)arg1) -> str :

    C++ signature :
        class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __repr__(class TOOLS::Array1<unsigned int> *)

Overrides: object.__repr__

__setitem__(...)
(Index assignment operator)

 

__setitem__( (Index)arg1, (int)arg2, (int)arg3) -> None :

    C++ signature :
        void __setitem__(class TOOLS::Array1<unsigned int> *,int,unsigned int)

__str__(...)
(Informal representation operator)

 

__str__( (Index)arg1) -> str :

    C++ signature :
        class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __str__(class TOOLS::Array1<unsigned int> *)

Overrides: object.__str__

append(...)

 

append( (Index)arg1, (int)arg2) -> None :

    C++ signature :
        void append(class TOOLS::Array1<unsigned int> *,unsigned int)

clear(...)

 

clear( (Index)arg1) -> None :

    C++ signature :
        void clear(class TOOLS::Array1<unsigned int> {lvalue})

getId(...)

 

getId( (Index)arg1) -> int :

    C++ signature :
        unsigned int getId(class TOOLS::Array1<unsigned int> *)

insert(...)

 

insert( (Index)arg1, (int)arg2, (int)arg3) -> None :

    C++ signature :
        void insert(class TOOLS::Array1<unsigned int> *,int,unsigned int)

pop(...)

 

pop( (Index)arg1 [, (int)arg2]) -> int :

    C++ signature :
        unsigned int pop(class TOOLS::Array1<unsigned int> * [,int])

reverse(...)

 

reverse( (Index)arg1) -> None :

    C++ signature :
        void reverse(class TOOLS::Array1<unsigned int> {lvalue})