Specifies the attributes of the specified dimension.
typedef struct ESS_PARTOTL_DIM_ATTRIB_API_T { ESS_USHORT_T usDimType; ESS_USHORT_T usDimTag; ESS_ULONG_T ulOldDimNo; ESS_ULONG_T ulNewDimNo; ESS_ULONG_T ulNamedLevNum; ESS_PARTOTL_NAMED_GENLEV_API_T *pNamedLev; ESS_ULONG_T ulNamedGenNum; ESS_PARTOTL_NAMED_GENLEV_API_T *pNamedGen; ESS_STR_T pszBasememberName; ESS_STR_T pszOldName; ESS_STR_T pszNewName; } ESS_PARTOTL_DIM_ATTRIB_API_T, *ESS_PPARTOTL_DIM_ATTRIB_API_T, **ESS_PPPARTOTL_DIM_ATTRIB_API_T;
Data Type | Field | Description |
---|---|---|
ESS_USHORT_T | usDimType | One of the Dimension Type constants listed below. |
ESS_USHORT_T | usDimTag | One of the Dimension Tag constants listed as type ESS_TTYPE_XXX below. |
ESS_ULONG_T | ulOldDimNo | The dimension number in the old outline. |
ESS_ULONG_T | ulNewDimNo | The dimension number in the new outline. |
ESS_ULONG_T | ulNamedLevNum | The number of named levels. |
ESS_PARTOTL_NAMED_GENLEV_API_T | pNamedLev | The pointer to an array of named level structures. |
ESS_ULONG_T | ulNamedGenNum | The number of named generations. |
ESS_PARTOTL_NAMED_GENLEV_API_T | pNamedGen | The pointer to an array of named generations structures. |
ESS_STR_T | pszBasememberName | The base member name for the add and delete dimensions. |
ESS_STR_T | pszOldName | The old dimension name. |
ESS_STR_T | pszNewName | The new dimension names pszOldName and pszNewName are used only for rename. Note that a dimension rename implies renaming both the dimension and the top-most member in this dimension |
Dimension Type Constants (usDimType)
define ESS_DIMTYPE_DENSE 0 define ESS_DIMTYPE_SPARSE 1
Dimension Tag Constants (usDimTag)
#define ESS_TTYPE_NONE 0 #define ESS_TTYPE_CCATEGORY 1 /* Accounts - currency ACCOUNTS tag */ #define ESS_TTYPE_CNAME 2 /* Country - currency COUNTRY tag */ #define ESS_TTYPE_CTIME 3 /* Time - currency TIME tag */ #define ESS_TTYPE_CTYPE 4 /* Type - currency TYPE tag */ #define ESS_TTYPE_CPARTITION 5 /* Currency Partition tag */ #define ESS_TTYPE_ATTRIBUTE 6 /* Attribute tag */ #define ESS_TTYPE_ATTRCALC 7 /* Attribute calc tag(Internal) */