#include <fillattr.h>
Inheritance diagram for FillAttrBlobState:
Public Member Functions | |
FillAttrBlobState () | |
Constructor. | |
~FillAttrBlobState () | |
Destruct this object. If the state pointer is not null delete it. | |
BOOL | operator== (FillAttrBlobState &BlobState) |
Compares two blob states to see if they are the same. | |
Public Attributes | |
AttrFillGeometry * | pFillAttr |
UINT32 | count |
BOOL * | SelectionState |
Definition at line 686 of file fillattr.h.
|
Constructor. FillAttrBlobState::FillAttrBlobState()
Definition at line 20204 of file fillattr.cpp. 20205 { 20206 count=0; 20207 pFillAttr=NULL; 20208 SelectionState=NULL; 20209 }
|
|
Destruct this object. If the state pointer is not null delete it. FillAttrBlobState::~FillAttrBlobState()
Definition at line 20221 of file fillattr.cpp. 20222 { 20223 if (SelectionState!=NULL) 20224 { 20225 free(SelectionState); 20226 SelectionState=NULL; 20227 } 20228 }
|
|
Compares two blob states to see if they are the same.
Definition at line 20242 of file fillattr.cpp. 20243 { 20244 if (pFillAttr != BlobState.pFillAttr) 20245 return FALSE; 20246 20247 if (count != BlobState.count) 20248 return FALSE; 20249 20250 if (pFillAttr != NULL) 20251 { 20252 if (SelectionState==NULL || BlobState.SelectionState==NULL) 20253 return FALSE; 20254 20255 for (UINT32 i=0; i<count; i++) 20256 { 20257 if (SelectionState[i] != BlobState.SelectionState[i]) 20258 return FALSE; 20259 } 20260 } 20261 20262 return TRUE; 20263 }
|
|
Definition at line 696 of file fillattr.h. |
|
Definition at line 695 of file fillattr.h. |
|
Definition at line 697 of file fillattr.h. |