Collection#
-
template<typename T, typename Index = typename T::Index>
class OpenMfx::Collection# Common mechanism for propoerty, input and attribute sets Element type must implement following methods: void setIndex(const Index& index); Index index() const; and it is advised to define the Index type: using Index = …; They must be movable but not necessarily copyable
Public Functions
-
Collection()#
-
void append(int count)#
-
void remove(int index)#
-
void deep_copy_from(const Collection<T, Index> &other)#
-
int count() const#
-
template<typename U = T, typename = typename std::enable_if<std::is_same<U, std::string>::value>::type>
T &operator[](const char *charIndex)#
-
template<typename U = T, typename = typename std::enable_if<std::is_same<U, std::string>::value>::type>
const T &operator[](const char *charIndex) const#
-
void clear()#
-
Collection()#