C++ API Reference
MTimeSliderDrawPrimitives Class Reference

Introduced in 2023.0 More...

#include <MTimeSliderCustomDrawManager.h>

Public Member Functions

 MTimeSliderDrawPrimitives ()
 MTimeSliderDrawPrimitives is a array of primitive.
 
 MTimeSliderDrawPrimitives (MTimeSliderDrawPrimitives &&other)
 Move constructor.
 
MTimeSliderDrawPrimitivesoperator= (const MTimeSliderDrawPrimitives &)
 Copy operator. More...
 
MTimeSliderDrawPrimitivesoperator= (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...
 

Detailed Description

Introduced in 2023.0

2023.0:
Introduced in this version.

Member Function Documentation

MTimeSliderDrawPrimitives & operator= ( const MTimeSliderDrawPrimitives other)

Copy operator.

Parameters
otherto be copied
Returns
self

Move operator.

Parameters
otherto be moved
Returns
self
bool empty ( ) const
Returns
True if the array is empty.
size_t length ( ) const
Returns
The number of element in the array.
void append ( const MTimeSliderDrawPrimitive value)

Append an element at the end of the array.

Parameters
valueto be appended
void append ( const MTimeSliderDrawPrimitives list)

Append an array of element at the end of the array.

Parameters
listto be appended
void setAt ( size_t  pos,
const MTimeSliderDrawPrimitive prim 
)

Update the element at the given index.

Parameters
posThe position to be overriden.
primThe new primitive to be set at specified position.
MTimeSliderDrawPrimitive operator[] ( size_t  pos) const

index operator

Parameters
posThe position to be returned.
Returns
The element at specified position.

The documentation for this class was generated from the following files: