StyleContainer Class Reference

Provides a container for a load of Style's. More...

Inheritance diagram for StyleContainer:

List CCObject SimpleCCObject List of all members.

Public Member Functions

 ~StyleContainer ()
BOOL AddStyle (Style &TheStyle)

Detailed Description

Provides a container for a load of Style's.

Author:
Colin_Barfoot (Xara Group Ltd) <camelotdev@xara.com>
Date:
15/07/96
See also:
Styles
Notes: At present this is a list. Someone might want a more efficient data structure for searching...

Definition at line 244 of file styles.cpp.


Constructor & Destructor Documentation

StyleContainer::~StyleContainer  )  [inline]
 

Definition at line 248 of file styles.cpp.

00248 {   DeleteAll();    }


Member Function Documentation

BOOL StyleContainer::AddStyle Style TheStyle  ) 
 

Definition at line 292 of file styles.cpp.

00293 {
00294     BOOL Ok = TRUE;
00295 
00296     StyleContainerItem* const pLink = new StyleContainerItem(TheStyle);
00297     Ok = (pLink != NULL);
00298 
00299     if (Ok)
00300     {
00301         AddTail(pLink);
00302     }
00303 
00304     return Ok;
00305 }


The documentation for this class was generated from the following file:
Generated on Sat Nov 10 04:01:34 2007 for Camelot by  doxygen 1.4.4