#include <customgui_inexclude.h>
Public Member Functions | |
Bool | InsertObject (BaseList2D *pObject, Int32 lFlags) |
Bool | DeleteObject (BaseDocument *doc, BaseList2D *pObject) |
Bool | DeleteObject (Int32 lIndex) |
Int32 | GetObjectIndex (BaseDocument *doc, BaseList2D *pObject) const |
BaseList2D * | ObjectFromIndex (BaseDocument *doc, Int32 lIndex) const |
Int32 | GetObjectCount () const |
Int32 | GetFlags (Int32 lIndex) const |
void | SetFlags (Int32 lIndex, Int32 lFlags) |
Int32 | GetFlags (BaseDocument *doc, BaseList2D *pObject) const |
BaseContainer * | GetData (Int32 lIndex) const |
BaseContainer * | GetData (BaseDocument *doc, BaseList2D *pObject) const |
InclusionTable * | BuildInclusionTable (BaseDocument *doc, Int32 hierarchy_bit=NOTOK) |
Private Member Functions | |
InExcludeData () | |
~InExcludeData () | |
InExclude data type (CUSTOMDATATYPE_INEXCLUDE_LIST).
Example: Accessing include/exclude object list in light object:
|
private |
|
private |
Bool InsertObject | ( | BaseList2D * | pObject, |
Int32 | lFlags | ||
) |
Inserts a link to pObject into the list.
[in] | pObject | The object to add to the list. |
[in] | lFlags | A bit field for the initial selection state of pObject. |
Bool DeleteObject | ( | BaseDocument * | doc, |
BaseList2D * | pObject | ||
) |
Removes pObject from the list.
[in] | doc | The document to evaluate the links in. The caller owns the pointed document. |
[in] | pObject | The object to remove. The caller owns the pointed object. |
Removes the object at index lIndex in the list.
[in] | lIndex | The object index. 0 <= lIndex < GetObjectCount() |
Int32 GetObjectIndex | ( | BaseDocument * | doc, |
BaseList2D * | pObject | ||
) | const |
Gets the index of pObject in the list.
[in] | doc | The document to evaluate the links in. The caller owns the pointed document. |
[in] | pObject | The object to search for. The caller owns the pointed object. |
BaseList2D* ObjectFromIndex | ( | BaseDocument * | doc, |
Int32 | lIndex | ||
) | const |
Gets the object at index lIndex in the list.
[in] | doc | The document to evaluate the links in. The caller owns the pointed document. |
[in] | lIndex | The object index. 0 <= lIndex < GetObjectCount() |
Int32 GetObjectCount | ( | ) | const |
Gets the number of object in the inexclude list.
Gets the flags for the object at index lIndex in the list.
[in] | lIndex | The object index. 0 <= lIndex < GetObjectCount() |
Sets set flags for the object at index lIndex in the list.
[in] | lIndex | The object index. 0 <= lIndex < GetObjectCount() |
[in] | lFlags | A bit field for the selection state of the object. |
Int32 GetFlags | ( | BaseDocument * | doc, |
BaseList2D * | pObject | ||
) | const |
Gets the flags for pObject.
[in] | doc | The document to evaluate the links in. The caller owns the pointed document. |
[in] | pObject | The object to get the flags for. The caller owns the pointed object. |
BaseContainer* GetData | ( | Int32 | lIndex | ) | const |
Gets the data container for the object at index lIndex in the list.
[in] | lIndex | The object index. 0 <= lIndex < GetObjectCount() |
BaseContainer* GetData | ( | BaseDocument * | doc, |
BaseList2D * | pObject | ||
) | const |
Gets the data container for pObject.
[in] | doc | The document to evaluate the links in. The caller owns the pointed document. |
[in] | pObject | The object to get the data for. The caller owns the pointed object. |
InclusionTable* BuildInclusionTable | ( | BaseDocument * | doc, |
Int32 | hierarchy_bit = NOTOK |
||
) |
Builds an inclusion table for a specific bit.
[in] | doc | The document to evaluate the links in. The caller owns the pointed document. |
[in] | hierarchy_bit | The bit position to generate the table for, starts at 0. |