MIRA
Public Types | Static Public Member Functions | List of all members
PythonSetAccessor< type > Struct Template Reference

#include <python/PythonSet.h>

Public Types

using SetType = std::set< type >
 

Static Public Member Functions

static std::string str (const SetType &s)
 
static int size (const SetType &s)
 
static bool contains (const SetType &s, const type &key)
 
static void add (SetType &s, type key)
 
static void remove (SetType &s, const type &key)
 
static SetType set_union (const SetType &s, const SetType &other)
 
static SetType set_intersection (const SetType &s, const SetType &other)
 
static SetType set_difference (const SetType &s, const SetType &other)
 
static SetType set_symmetric_difference (const SetType &s, const SetType &other)
 

Member Typedef Documentation

◆ SetType

using SetType = std::set<type>

Member Function Documentation

◆ str()

static std::string str ( const SetType s)
inlinestatic

◆ size()

static int size ( const SetType s)
inlinestatic

◆ contains()

static bool contains ( const SetType s,
const type key 
)
inlinestatic

◆ add()

static void add ( SetType s,
type  key 
)
inlinestatic

◆ remove()

static void remove ( SetType s,
const type key 
)
inlinestatic

◆ set_union()

static SetType set_union ( const SetType s,
const SetType other 
)
inlinestatic

◆ set_intersection()

static SetType set_intersection ( const SetType s,
const SetType other 
)
inlinestatic

◆ set_difference()

static SetType set_difference ( const SetType s,
const SetType other 
)
inlinestatic

◆ set_symmetric_difference()

static SetType set_symmetric_difference ( const SetType s,
const SetType other 
)
inlinestatic

The documentation for this struct was generated from the following file: