Class MaskDict

Class Documentation

class MaskDict

Public Types

typedef MaskPlaneDict::value_type value_type
typedef MaskPlaneDict::const_iterator const_iterator

Public Functions

MaskDict &operator=(MaskDict const&)
MaskDict &operator=(MaskDict&&)
~MaskDict()
std::shared_ptr<MaskDict> clone() const
int getUnusedPlane() const
int getMaskPlane(std::string const &name) const
void print() const
bool operator==(MaskDict const &rhs) const
bool operator!=(MaskDict const &rhs) const
const_iterator begin() const
const_iterator end() const
const_iterator find(std::string const &name) const
std::size_t size() const
bool empty() const
MaskPlaneDict const &getMaskPlaneDict() const
void add(std::string const &name, int bitId)
void erase(std::string const &name)
void clear()

Public Static Functions

static std::shared_ptr<MaskDict> copyOrGetDefault(MaskPlaneDict const &dict)
static std::shared_ptr<MaskDict> getDefault()
static void setDefault(std::shared_ptr<MaskDict> dict)
static std::shared_ptr<MaskDict> detachDefault()
static void addAllMasksPlane(std::string const &name, int bitId)