C++ API Reference
|
Introduced in 2023.0 More...
#include <MTimeSliderCustomDrawManager.h>
Public Member Functions | |
MTimeSliderDrawPrimitives () | |
MTimeSliderDrawPrimitives is a array of primitive. | |
MTimeSliderDrawPrimitives (MTimeSliderDrawPrimitives &&other) | |
Move constructor. | |
MTimeSliderDrawPrimitives & | operator= (const MTimeSliderDrawPrimitives &) |
Copy operator. More... | |
MTimeSliderDrawPrimitives & | operator= (MTimeSliderDrawPrimitives &&) |
Move operator. More... | |
~MTimeSliderDrawPrimitives () | |
Destructor. | |
void | clear () |
Clear all element of the array. | |
bool | empty () const |
size_t | length () const |
void | append (const MTimeSliderDrawPrimitive &value) |
Append an element at the end of the array. More... | |
void | append (const MTimeSliderDrawPrimitives &list) |
Append an array of element at the end of the array. More... | |
void | setAt (size_t pos, const MTimeSliderDrawPrimitive &prim) |
Update the element at the given index. More... | |
MTimeSliderDrawPrimitive | operator[] (size_t pos) const |
index operator More... | |
Introduced in 2023.0
MTimeSliderDrawPrimitives & operator= | ( | const MTimeSliderDrawPrimitives & | other | ) |
Copy operator.
other | to be copied |
MTimeSliderDrawPrimitives & operator= | ( | MTimeSliderDrawPrimitives && | other | ) |
Move operator.
other | to be moved |
bool empty | ( | ) | const |
size_t length | ( | ) | const |
void append | ( | const MTimeSliderDrawPrimitive & | value | ) |
Append an element at the end of the array.
value | to be appended |
void append | ( | const MTimeSliderDrawPrimitives & | list | ) |
Append an array of element at the end of the array.
list | to be appended |
void setAt | ( | size_t | pos, |
const MTimeSliderDrawPrimitive & | prim | ||
) |
Update the element at the given index.
pos | The position to be overriden. |
prim | The new primitive to be set at specified position. |
MTimeSliderDrawPrimitive operator[] | ( | size_t | pos | ) | const |
index operator
pos | The position to be returned. |