Contains information about perspectives and validity sets.
typedef struct ESS_VALIDITYSET_T { ESS_USHORT_T, usValiditySetType; ESS_USHORT_T, usFiller; ESS_STR_T, szValiditySetExpr; ESS_INT32_T, countOfIndepDims; ESS_INT32_T, countOfIndepRanges; ESS_PVOID_T*, pIndepMbrs; } ESS_VALIDITYSET_T; *ESS_PVALIDITYSET_T
Data Type | Field | Description |
---|---|---|
ESS_USHORT_T | usValiditySetType | How members are specified. Possible values:
|
ESS_USHORT_T | usFiller | Set to zero |
ESS_STR_T | szValiditySetExpr | MDX expression spescified by the MDX type |
ESS_INT32_T | countOfIndepDims | Size of each of the tuples |
ESS_INT32_T | countOfIndepRanges | Number of tuple ranges |
ESS_PVOID_T | pIndepMbrs | Array of member handles (ESS_HMEMBER_T) or member names (ESS_STR_T) depending on usValiditySetType |
The terms perspective and validity set both designate collections of independent members.
Perspective designates any combination of independent members, and is used when querying either the client or server for associations.
Validity set designates the collection of independent members for which an association is true. The term also applies to the set of independent members used for an association or disassociation.
Independent members can be designated as:
ESS_VALIDITYSET_TYPE_MBRHDLS: Independent members are specified as a sequence of ranges (in the XRange sense i.e. Mar 2003-Feb 2004 consists of 2003 starting with March and Jan/Feb of 2004) of member handles.
ESS_VALIDITYSET_TYPE_MBRNAMS: Same as ESS_VALIDITYSET_TYPE_MBRHDLS, except that the ranges are specified with member names.