#include <Leap.h>
Public Types | |
typedef ConstListIterator < MaskList, Mask > | const_iterator |
Public Member Functions | |
def | __getitem__ |
def | __init__ |
def | __iter__ |
def | __len__ |
def | append |
LEAP_EXPORT MaskList & | append (const MaskList &other) |
LEAP_EXPORT const_iterator | begin () const |
LEAP_EXPORT int | count () const |
LEAP_EXPORT const_iterator | end () const |
LEAP_EXPORT bool | isEmpty () const |
MaskList (const ListBaseImplementation< Mask > &) | |
LEAP_EXPORT | MaskList () |
LEAP_EXPORT Mask | operator[] (int index) const |
Public Attributes | |
this | |
Static Public Attributes | |
tuple | is_empty = _swig_property(LeapPython.MaskList_is_empty_get) |
Static Private Attributes | |
tuple | __getattr__ = lambdaself,name:_swig_getattr(self, MaskList, name) |
__repr__ = _swig_repr | |
tuple | __setattr__ = lambdaself,name,value:_swig_setattr(self, MaskList, name, value) |
__swig_destroy__ = LeapPython.delete_MaskList | |
dictionary | __swig_getmethods__ = {} |
dictionary | __swig_setmethods__ = {} |
Note: This class is an experimental API for internal use only. It may be removed without warning.
A list containing Mask objects.
Leap::MaskList::MaskList | ( | const ListBaseImplementation< Mask > & | ) |
Constructs an empty list for Mask objects.
def Leap::MaskList::__init__ | ( | self | ) |
def Leap::MaskList::__getitem__ | ( | self, | |
index | |||
) |
def Leap::MaskList::__iter__ | ( | self | ) |
def Leap::MaskList::__len__ | ( | self | ) |
def Leap::MaskList::append | ( | self, | |
other | |||
) |
LEAP_EXPORT MaskList& Leap::MaskList::append | ( | const MaskList & | other | ) |
Appends the contents of another list of masks to this one.
LEAP_EXPORT const_iterator Leap::MaskList::begin | ( | ) | const |
A list iterator set to the beginning of the list.
LEAP_EXPORT int Leap::MaskList::count | ( | ) | const |
The number of masks in this list.
LEAP_EXPORT const_iterator Leap::MaskList::end | ( | ) | const |
A list iterator set to the end of the list.
LEAP_EXPORT bool Leap::MaskList::isEmpty | ( | ) | const |
Reports whether this list is empty.
LEAP_EXPORT Mask Leap::MaskList::operator[] | ( | int | index | ) | const |
The MaskList supports array indexing.
tuple Leap::MaskList::__getattr__ = lambdaself,name:_swig_getattr(self, MaskList, name) [static, private] |
Reimplemented from Leap::Interface.
Leap::MaskList::__repr__ = _swig_repr [static, private] |
tuple Leap::MaskList::__setattr__ = lambdaself,name,value:_swig_setattr(self, MaskList, name, value) [static, private] |
Reimplemented from Leap::Interface.
Leap::MaskList::__swig_destroy__ = LeapPython.delete_MaskList [static, private] |
dictionary Leap::MaskList::__swig_getmethods__ = {} [static, private] |
Reimplemented from Leap::Interface.
dictionary Leap::MaskList::__swig_setmethods__ = {} [static, private] |
Reimplemented from Leap::Interface.
tuple Leap::MaskList::is_empty = _swig_property(LeapPython.MaskList_is_empty_get) [static] |