#include <shpsels.h>

Public Member Functions |
|
| CoreExport | ShapePSel () |
| CoreExport | ShapePSel (ShapePSel &from) |
| CoreExport | ~ShapePSel () |
| CoreExport ShapePSel & | operator= (ShapePSel &from) |
| CoreExport BOOL | operator== (ShapePSel &s) |
| CoreExport void | Insert (int where) |
| CoreExport void | Delete (int where) |
| CoreExport void | SetSize (ShapePSel &selset, BOOL save=FALSE) |
| CoreExport void | SetSize (BezierShape &shape, BOOL save=FALSE) |
| CoreExport void | SetSize (PolyShape &shape, BOOL save=FALSE) |
| CoreExport void | Set (int index) |
| CoreExport void | Set (int index, int value) |
| CoreExport void | Clear (int index) |
| CoreExport int | operator[] (int index) const |
| CoreExport void | ClearAll () |
| CoreExport void | SetAll () |
| CoreExport void | Toggle () |
| CoreExport void | Empty () |
| CoreExport BOOL | IsCompatible (ShapePSel &selset) |
| CoreExport BOOL | IsCompatible (BezierShape &shape) |
| CoreExport BOOL | IsCompatible (PolyShape &shape) |
| CoreExport IOResult | Save (ISave *isave) |
| CoreExport IOResult | Load (ILoad *iload) |
| CoreExport bool | Delete (const unsigned int *pIndices, unsigned int n) |
| Delete multiple entries at once. |
|
Public Attributes |
|
| int | polys |
| BitArray | sel |
| CoreExport ShapePSel | ( | ) |
| CoreExport ~ShapePSel | ( | ) |
| CoreExport BOOL operator== | ( | ShapePSel & | s | ) |
| CoreExport void Insert | ( | int | where | ) |
| CoreExport void Delete | ( | int | where | ) |
| CoreExport void SetSize | ( | ShapePSel & | selset, |
| BOOL | save = FALSE |
||
| ) |
| CoreExport void SetSize | ( | BezierShape & | shape, |
| BOOL | save = FALSE |
||
| ) |
| CoreExport void SetSize | ( | PolyShape & | shape, |
| BOOL | save = FALSE |
||
| ) |
| CoreExport void Set | ( | int | index | ) |
| CoreExport void Set | ( | int | index, |
| int | value | ||
| ) |
| CoreExport void Clear | ( | int | index | ) |
| CoreExport int operator[] | ( | int | index | ) | const |
| CoreExport void ClearAll | ( | ) |
| CoreExport void SetAll | ( | ) |
| CoreExport void Toggle | ( | ) |
| CoreExport void Empty | ( | ) |
| CoreExport BOOL IsCompatible | ( | ShapePSel & | selset | ) |
| CoreExport BOOL IsCompatible | ( | BezierShape & | shape | ) |
| CoreExport BOOL IsCompatible | ( | PolyShape & | shape | ) |
| CoreExport bool Delete | ( | const unsigned int * | pIndices, |
| unsigned int | n | ||
| ) |
Delete multiple entries at once.
Deleting multiple entries at once is faster than deleting one by one by calling Delete(), because the internal bookkeeping only needs to be done once.
| [in] | indices | Point to an array of indices to delete. Indices should be unique, and sorted in ascending order. |
| [in] | n | Number of entries in the indices array. |