Library | File

Class pfcDimensionAttachment

# include <pfcSelect.h>

class pfcDimensionAttachment
 : public xobject
{
    xdeclare(pfcDimensionAttachment)
    ...
};
This is a COMPACT class.



Description

Fixed dimention array.

Array provides methods for accessing its elemnts by index(indices) and for modifying its elements. Array object "does not know" its dimentions.

Array Dimensions: [2]



Method Summary

static pfcDimensionAttachment *create ()
Creates new array object with uninitialized elements.
pfcSelection_ptrget (xint idx0)
Gets an array element with the specified index(indices). If an index is out of range throws exception cipXInvalidArrayIndex.
voidset (xint idx0, pfcSelection_ptr value)
Assignes a new value to an array element with the specified index(indices). If an index is out of range throws exception cipXInvalidArrayIndex.



Method Detail

pfcSelection_ptrget (xint idx0)

Gets an array element with the specified index(indices). If an index is out of range throws exception cipXInvalidArrayIndex.
Parameters:
idx0
First element index.
Returns:
Element value.



voidset (xint idx0, pfcSelection_ptr value)

Assignes a new value to an array element with the specified index(indices). If an index is out of range throws exception cipXInvalidArrayIndex.
Parameters:
idx0
First element index.
value
New element value.
Returns:



static pfcDimensionAttachment *create ()

Creates new array object with uninitialized elements.
Returns:
Created array.