NamedSliceProp Class Reference

Class to manage the UI and execution of slice properties. More...

#include <ngprop.h>

Inheritance diagram for NamedSliceProp:

NamedTickboxProp SGNameProp List of all members.

Public Types

enum  { nIndex = 1 }

Public Member Functions

 NamedSliceProp (const StringBase &strName, INT32 nState=0)
 Constructs a NamedSliceProp object.

Protected Member Functions

virtual SGNamePropClone ()
virtual BOOL Write (CXaraFileRecord *pRec)
 Writes out a NamedSliceProp record.
virtual BOOL Read (CXaraFileRecord *pRec)
 Reads in a NamedSliceProp record.

Detailed Description

Class to manage the UI and execution of slice properties.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/8/99
See also:
SGNameProp; NamedTickboxProp; SGNameItem; NameGallery

Definition at line 294 of file ngprop.h.


Member Enumeration Documentation

anonymous enum
 

Enumerator:
nIndex 

Definition at line 301 of file ngprop.h.

00301 { nIndex = 1 };


Constructor & Destructor Documentation

NamedSliceProp::NamedSliceProp const StringBase strName,
INT32  nState = 0
 

Constructs a NamedSliceProp object.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/8/99
Parameters:
nState --- the initial state of the tickbox (default is unticked). [INPUTS]

Definition at line 1634 of file ngprop.cpp.

01635   : NamedTickboxProp(strName, NamedSliceProp::nIndex, nState)
01636 {
01637     // Empty.
01638 }


Member Function Documentation

SGNameProp * NamedSliceProp::Clone void   )  [protected, virtual]
 

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/8/99
Returns:
A copy of this object in the heap.

Implements SGNameProp.

Definition at line 1650 of file ngprop.cpp.

01651 {
01652     return new NamedSliceProp(*this);
01653 }

BOOL NamedSliceProp::Read CXaraFileRecord pRec  )  [protected, virtual]
 

Reads in a NamedSliceProp record.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
31/9/99
Parameters:
pRec --- record to read in [INPUTS]
Returns:
TRUE if the object has successfully read in its record.

Reimplemented from NamedTickboxProp.

Definition at line 1684 of file ngprop.cpp.

01685 {
01686     return NamedTickboxProp::Read(pRec);
01687 }

BOOL NamedSliceProp::Write CXaraFileRecord pRec  )  [protected, virtual]
 

Writes out a NamedSliceProp record.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
31/9/99
Parameters:
pRec --- record to write to [INPUTS]
Returns:
TRUE if the object has successfully written out its record.

Reimplemented from NamedTickboxProp.

Definition at line 1667 of file ngprop.cpp.

01668 {
01669     return NamedTickboxProp::Write(pRec);
01670 }


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