|
libmapper 2.4.12
|
#include <mapper_cpp.h>
Public Member Functions | |
| int | size () |
| List & | join (const List &rhs) |
| List & | intersect (const List &rhs) |
| template<typename P , typename V > | |
| List & | filter (P &&prop, V &&value, Operator op) |
| List & | subtract (const List &rhs) |
| List | operator+ (const List &rhs) const |
| List | operator* (const List &rhs) const |
| List | operator- (const List &rhs) const |
| List & | operator+= (const List &rhs) |
| List & | operator*= (const List &rhs) |
| List & | operator-= (const List &rhs) |
| template<typename... Values> | |
| List & | set_property (const Values... vals) |
| T | operator[] (int idx) |
| virtual | operator std::vector< T > () const |
List objects provide a lazily-computed iterable list of results from running queries against a mapper::Graph.
| List & mapper::List< T >::filter | ( | P && | prop, |
| V && | value, | ||
| Operator | op ) |
Filter items from this List based on property matching
| prop | The name or id of the property to match. |
| value | The property value. |
| op | The comparison operator. |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| List & mapper::List< T >::set_property | ( | const Values... | vals | ) |
|
inline |
Return the number ot items in a List
|
inline |