C++ API Reference
MSequencerDrawPrimitives Class Reference

Introduced in 2027.1 More...

#include <MSequencerCustomDrawManager.h>

Public Member Functions

 MSequencerDrawPrimitives ()
 MSequencerDrawPrimitives is a array of primitive.
 
 MSequencerDrawPrimitives (MSequencerDrawPrimitives &&other)
 Move constructor.
 
MSequencerDrawPrimitivesoperator= (const MSequencerDrawPrimitives &)
 Copy operator. More...
 
MSequencerDrawPrimitivesoperator= (MSequencerDrawPrimitives &&)
 Move operator. More...
 
 ~MSequencerDrawPrimitives ()
 Destructor.
 
void clear ()
 Clear all element of the array.
 
bool empty () const
 
size_t length () const
 
void append (const MSequencerDrawPrimitive &value)
 Append an element at the end of the array. More...
 
void append (const MSequencerDrawPrimitives &list)
 Append an array of element at the end of the array. More...
 
void setAt (size_t pos, const MSequencerDrawPrimitive &prim)
 Update the element at the given index. More...
 
MSequencerDrawPrimitive operator[] (size_t pos) const
 index operator More...
 

Detailed Description

Introduced in 2027.1

2027.1:
Introduced in this version.
Examples:
demoSequencerDrawManagerPlugin/sequencerDrawObject.cpp.

Member Function Documentation

MSequencerDrawPrimitives & operator= ( const MSequencerDrawPrimitives 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.
Examples:
demoSequencerDrawManagerPlugin/sequencerDrawObject.cpp.
void append ( const MSequencerDrawPrimitive value)

Append an element at the end of the array.

Parameters
valueto be appended
Examples:
demoSequencerDrawManagerPlugin/sequencerDrawObject.cpp.
void append ( const MSequencerDrawPrimitives list)

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

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

Update the element at the given index.

Parameters
posThe position to be overriden.
primThe new primitive to be set at specified position.
MSequencerDrawPrimitive 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: