ListItem Class Reference

A list item is an abstract class which is used to derive all objects which are linked together in lists. It has no member functions because all useful operations are defined in the List class. The reason for doing this is that list operations may need to alter the list header. More...

#include <listitem.h>

Inheritance diagram for ListItem:

CCObject SimpleCCObject Action ActiveDlgStateItem AdditionalVirtKey AI5Gradient AnimatedBitmapItem AnimatedGIFImage AtomicTagListItem AttributeGroup AttributeGroupItem AttrRecordItem AttrTypeItem BarItem BaseDocument BitmapEffectBase BitmapPtr BlenderInfoItem BlendPath CachedFontItem CachedFractal CCDC CDRActionListItem CDRAttributeStoredItem CDRBBoxListItem CDRLayerListItem CDRPageListItem CDRTextOnPathLink CDRVectorStoredItem CGadgetImageList::ResIDListItem CGridDropDown ClipboardMapping CmdControl CMXGroupRecord CMXImportColourListItem CMXLensBBox CMXNestedTagRecord CMXNodeTypeStatistics CMXReferListItem ColourContext ColourPlate CommonAttributeItem CompatibleFilter CompoundNodeTreeFactory CompoundNodeTreeFactoryListItem ContextItem ContourWidthListItem ControlInfo CWindowIDItem CXaraFileNodeGroupRefListItem CXaraFilePathRecordRefListItem CXaraFileRecordHandler CXFNodeTypeStatistics DialogPosition DlgDiscardString DocComponent DocComponentClass DocPrintMark DragTarget DropDown EPSClipContextItem EPSSavedGraphicState EPSStackItem EssentialTagListItem ExportBitmap ExportColour FillAttrBlobState Filter FilterEntry FontComponentListItem FontDropItem FontListItem FormatPosition GadgetListItem GBrush GuidelineListItem HotKey HTMLFileListItem ImportBitmap ImportedString IndexedColour InsertLevelStackItem KernelBitmap KernelBmpListItem Library LibraryFile LibSettingsListItem ListItemIdx ListItemOpPtr ListItemPtrItem ListListItem LyrDetails MarkPosition MessageHandler MessageHandlerList ModuleListItem MultiCommonAttrItem NewColour NodeAttributeClassItem NodeAttributePtrItem NodeListItem NodePointer NodeRenderableInkDetailsItem NodeThreeBoolListItem ObjectItem OILBitmap OpListItem OptionsTabs OverrideListItem PageRect PageSize PathNameListItem PlugInHandler PlugInItem PlugInPath PPStackLevel PreDelFactorOutInfoItem PreferenceChunk PreferenceSection PrintMarkItem PropertyTabs RampItem RangeListItem RecordReferenceItem RectListItem RefItem RenderRegion RequiredAttributeItem RIFFFileLevel ScaleUnit ScaleUnitReference ScrollPageInc SelObjPathList SelObjPathListItem SnapShotItem SpanListItem SpecialEntry SpreadRedraws StringListItem StyleContainerItem SumAllPathsElem TagDescriptionListItem TempToolItem TextToolBlobPosItem ToolListItem ToolSwitch Unit ValueFunction View ViewItem VisibleListItemPtr WizOp List of all members.

Public Member Functions

 ListItem ()
virtual ~ListItem ()
virtual ListItemGetItem (void)
virtual void ClearPointers ()

Private Member Functions

 CC_DECLARE_DYNCREATE (ListItem)

Private Attributes

ListItemNext
ListItemPrevious

Friends

class List
class ActionList

Detailed Description

A list item is an abstract class which is used to derive all objects which are linked together in lists. It has no member functions because all useful operations are defined in the List class. The reason for doing this is that list operations may need to alter the list header.

Author:
Mario_Shamtani (Xara Group Ltd) <camelotdev@xara.com>
Date:
13/4/1993 Base Class: CObject
Returns:
Errors: None.

Definition at line 153 of file listitem.h.


Constructor & Destructor Documentation

ListItem::ListItem  ) 
 

Definition at line 109 of file listitem.cpp.

00110 {
00111     Next = NULL;
00112     Previous = NULL;
00113 }

virtual ListItem::~ListItem  )  [inline, virtual]
 

Definition at line 168 of file listitem.h.

00168 {}                      // base classes must have a virtual destructor


Member Function Documentation

ListItem::CC_DECLARE_DYNCREATE ListItem   )  [private]
 

void ListItem::ClearPointers  )  [virtual]
 

Definition at line 120 of file listitem.cpp.

00121 {
00122     Next = NULL;
00123     Previous = NULL;
00124 }

ListItem * ListItem::GetItem void   )  [virtual]
 

Definition at line 115 of file listitem.cpp.

00116 {
00117     return(this);
00118 }


Friends And Related Function Documentation

friend class ActionList [friend]
 

Definition at line 159 of file listitem.h.

friend class List [friend]
 

Definition at line 157 of file listitem.h.


Member Data Documentation

ListItem* ListItem::Next [private]
 

Definition at line 162 of file listitem.h.

ListItem* ListItem::Previous [private]
 

Definition at line 163 of file listitem.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:56:01 2007 for Camelot by  doxygen 1.4.4