Style Class Reference

#include <styles.h>

Inheritance diagram for Style:

WizOpStyle List of all members.

Public Member Functions

virtual ~Style ()=0
 Bizzaro pure implementation.
virtual StyleCreateCopy (const StringBase &NewName) const =0
virtual BOOL operator== (const Style &OtherStyle) const
 Compares two Style's.
const StringBaseGetName () const
 Derived class data member access.

Protected Member Functions

 Style (const StringBase &Name)
 Constructs a Style of the given Name and thereby makes sure this Style has a name (unless you give it an empty string).
BOOL SetName (const StringBase &Name)

Private Attributes

String_64 m_Name

Detailed Description

Author:
Colin_Barfoot (Xara Group Ltd) <camelotdev@xara.com>
Date:
15/07/96
See also:
Styles

Definition at line 120 of file styles.h.


Constructor & Destructor Documentation

Style::~Style  )  [pure virtual]
 

Bizzaro pure implementation.

Author:
Colin_Barfoot (Xara Group Ltd) <camelotdev@xara.com>
Date:
11/07/97

Definition at line 375 of file styles.cpp.

00376 {
00377 }

Style::Style const StringBase Name  )  [protected]
 

Constructs a Style of the given Name and thereby makes sure this Style has a name (unless you give it an empty string).

Author:
Colin_Barfoot (Xara Group Ltd) <camelotdev@xara.com>
Date:
11/07/97

Definition at line 358 of file styles.cpp.

00359 {
00360     SetName(Name);
00361 }


Member Function Documentation

virtual Style* Style::CreateCopy const StringBase NewName  )  const [pure virtual]
 

Implemented in WizOpStyle.

const StringBase & Style::GetName void   )  const
 

Derived class data member access.

Author:
Colin_Barfoot (Xara Group Ltd) <camelotdev@xara.com>
Date:
11/07/97

Definition at line 410 of file styles.cpp.

00411 {
00412     return m_Name;
00413 }

BOOL Style::operator== const Style OtherStyle  )  const [virtual]
 

Compares two Style's.

Author:
Colin_Barfoot (Xara Group Ltd) <camelotdev@xara.com>
Date:
11/07/97
Returns:
TRUE if the names are the same, FALSe if not

Reimplemented in WizOpStyle.

Definition at line 392 of file styles.cpp.

00393 {
00394     return GetName() == OtherStyle.GetName();
00395 }

BOOL Style::SetName const StringBase Name  )  [protected]
 

Definition at line 416 of file styles.cpp.

00417 {
00418     m_Name = Name;
00419 
00420     return TRUE;
00421 }


Member Data Documentation

String_64 Style::m_Name [private]
 

Definition at line 138 of file styles.h.


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