#include <SL_Array.h>
CElemType | Element type contained in the array. |
CSubElemType |
Sub element type composing the CElemType . Can be the same as CElemType if StructSize equals one. |
StructSize |
Number of CSubElemType that composes a single CElemType . |
struct RGB { SI_Float m_fR; SI_Float m_fG; SI_Float m_fB; } l_RGB; // Connect the proxy to a parameter that stores an SI_Float array // for RGB values. The array in the template is a sequence of // float triplets that represent red, green and blue values. CSLArrayProxy<RGB, SI_Float, 3> l_RGBArrayProxy; l_RGBArrayProxy.Connect( l_pParentTemplate, l_nRGBParamIndex ); // get the first RGB entry l_RGB = l_RGBArrayProxy[0]; // the first 3 floats for the RGB value.
|
Constructor. Connects to an array parameter in the parent template.
|
|
Default Constructor. Does not call Connect. |
|
Destructor
|
|
Adds an element at the end of the array
|
|
Returns the total size of the allocated cells including the unused ones.
|
|
Returns a pointer to the internally referred array.
|
|
Connects to an array parameter in the parent template.
|
|
Copy data from another array
|
|
Copy data from another array
|
|
Deletes a given number of element at a the specified index
|
|
Releases the referred array
|
|
Extends the number of used cells by a substantial amount if there's not enough used cells.
|
|
Returns the number of allocated cells
|
|
Returns the number of used cells
|
|
Inserts an exact number of used cells at the provided index
|
|
Copy data from another array
|
|
Copy data from another array
|
|
Gets an element at a given index
|
|
Gets an element at a given index
|
|
Deallocates unused cells
|
|
Adds a specific number of used cells to the array as required
|
|
Adds used cells to the array as required.
|
|
Sets values in a given range
|
|
Returns The total size of the used cells
|
© Copyright 2001-2003 Avid Technology, Inc. All rights reserved.