#include <Leap.h>
Public Types | |
typedef ConstListIterator< MaskList, Mask > | const_iterator |
Public Member Functions | |
def | __getitem__ (self, index) |
def | __init__ (self) |
def | __iter__ (self) |
def | __len__ (self) |
def | append (self, other) |
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 Member Functions inherited from Leap::Interface | |
def | __init__ (self, args, kwargs) |
Public Attributes | |
this | |
Static Public Attributes | |
is_empty = _swig_property(LeapPython.MaskList_is_empty_get) | |
Static Private Attributes | |
__getattr__ = lambdaself,name:_swig_getattr(self, MaskList, name) | |
__repr__ = _swig_repr | |
__setattr__ = lambdaself,name,value:_swig_setattr(self, MaskList, name, value) | |
__swig_destroy__ = LeapPython.delete_MaskList | |
dictionary | __swig_getmethods__ = {} |
dictionary | __swig_setmethods__ = {} |
Additional Inherited Members | |
Protected Member Functions inherited from Leap::Interface | |
template<typename T > | |
T * | get () const |
LEAP_EXPORT | Interface (void *owner) |
LEAP_EXPORT | Interface (Implementation *reference, void *owner) |
LEAP_EXPORT | Interface (const Interface &rhs) |
Interface (class SharedObject *object) | |
LEAP_EXPORT Interface & | operator= (const Interface &rhs) |
virtual LEAP_EXPORT | ~Interface () |
Static Protected Member Functions inherited from Leap::Interface | |
static LEAP_EXPORT void | deleteCString (const char *cstr) |
Protected Attributes inherited from Leap::Interface | |
class SharedObject * | m_object |
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 > & | ) |
LEAP_EXPORT Leap::MaskList::MaskList | ( | ) |
Constructs an empty list for Mask objects.
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.
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
static |