#include <filters.h>
Public Member Functions | |
AttrRecordList () | |
Constructor - initalises member variables. | |
~AttrRecordList () | |
Destructor - deletes any claimed memory. | |
BOOL | SaveContext (AttributeEntry *CurrAttrs) |
Stores the current state of the attribute entry array. | |
BOOL | RestoreContext (AttributeEntry *CurrAttrs) |
Returns the current attribute array back to the stored state. | |
List * | GetList () |
Protected Attributes | |
List | AttrRecord |
Private Member Functions | |
CC_DECLARE_MEMDUMP (AttrRecordList) |
Definition at line 409 of file filters.h.
|
Constructor - initalises member variables.
Definition at line 6767 of file filters.cpp.
|
|
Destructor - deletes any claimed memory.
Definition at line 6779 of file filters.cpp.
|
|
|
|
Definition at line 419 of file filters.h. 00419 {return &AttrRecord;}
|
|
Returns the current attribute array back to the stored state.
Definition at line 6825 of file filters.cpp. 06826 { 06827 AttrRecordItem* pItem = (AttrRecordItem*)AttrRecord.RemoveTail(); 06828 ERROR2IF(pItem == NULL, FALSE, "Record list empty"); 06829 pItem->Restore(pCurrAttrs); 06830 delete pItem; 06831 06832 return TRUE; 06833 }
|
|
Stores the current state of the attribute entry array.
Definition at line 6794 of file filters.cpp. 06795 { 06796 // Create a new record 06797 AttrRecordItem* pItem = new AttrRecordItem; 06798 if (pItem==NULL) 06799 return FALSE; 06800 06801 // Copy the attributes into it 06802 if (!pItem->Initialise(pCurrAttrs)) 06803 { 06804 delete pItem; 06805 return FALSE; 06806 } 06807 else 06808 { 06809 AttrRecord.AddTail(pItem); 06810 return TRUE; 06811 } 06812 }
|
|
|