13 #ifndef ML_DISC_LIST_H
14 #define ML_DISC_LIST_H
71 std::vector<Disc> objects;
Class representing general ML objects that support import/export via strings (setPersistentState() an...
Base object class DiscList.
void addValue(const Disc &obj)
add Disc at end of list
void print(const char *txt)
debug print
void getValue(MLssize_t index, Disc &obj) const
get Disc at given index
Disc * getPtr(MLssize_t index=-1)
get Pointer to Disc at given index, if index is -1, last element is given
void clear()
clear all entries
MLssize_t getNum() const
returns the number of contained Discs
Disc getValue(MLssize_t index) const
get Disc at given index
void setValue(MLssize_t index, const Disc &obj)
set value at index
void removeValue(MLssize_t index=-1)
remove Disc from list, if index is -1, last element is removed
Class to handle the geometry primitive "Disc" consisting of a center, a normal and a radius.
#define MLBASEEXPORT
defined Header file mlBaseInit.h
#define ML_CLASS_HEADER(className)
Same like ML_CLASS_HEADER_EXPORTED with a non-existing export symbol.
SSIZE_T MLssize_t
The signed ML size type that is a signed 32-bit size_t on 32-bit platforms and 64-bit one on 64-bit p...