TIBCO Adapter SDK C++ Reference
MSequenceClassDescription
Class Hierarchy | C++ Classes and Methods | Members | Methods
A subclass of MBaseClassDescription that encapsulates a type that is a sequence. A sequence is basically a typed array which may be bounded or unbounded. Applications use this class to define a sequence, which can then be used as an attribute type in a schema definition.
Remarks
This class is instantiated automatically when you use a sequence [ ] as a type for an attribute. Using custom sequence types can result in a more robust application.

The idea of a sequence is taken from CORBA-IDL. A sequence is basically a typed array, which may be bounded or unbounded. An upper bound for the array size may be specified. The general syntax is:

sequence[type, size]

Sequences may be nested, that is, they may be arrays of arrays. Here are some examples of sequence types:

sequence[i4] Unbounded sequence of 4-byte ints
sequence[string,10] Sequence of up to 10 strings
sequence[sequence[fixed.10.2],10] Sequence of up to 10 sequences, each containing an unbounded number of fixed-point values. 
sequence[any,4]  Sequence of up to 4 values whose type is not specified. 
Declaration
class MSequenceClassDescription : public MBaseClassDescription;
Class Hierarchy
MObject, MPropertyBag
        MMetaDescription
            MBaseClassDescription
                MSequenceClassDescription
File
MSequenceClassDescription.h
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.