StyleRecordReference Class Reference

Represents an association twixt Style and Record reference. More...

Inheritance diagram for StyleRecordReference:

RecordReferenceItem ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 StyleRecordReference (const Style &StyleExported, XFileRef Ref=XFILEREF_ERROR)
RecordReferenceItemCreateCopy (const XFileRef &NewReference) const
 Creates a copy of this StyleRecordReference with the given NewReference.
virtual BOOL operator== (const RecordReferenceItem &Other) const
 Two StyleRecordReference's are equal if the addresses of the Style's they represent are equal.
const StyleGetStyle () const

Private Attributes

const Stylem_StyleExported

Detailed Description

Represents an association twixt Style and Record reference.

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

Definition at line 172 of file styles.cpp.


Constructor & Destructor Documentation

StyleRecordReference::StyleRecordReference const Style StyleExported,
XFileRef  Ref = XFILEREF_ERROR
[inline]
 

Definition at line 177 of file styles.cpp.

00177                                                                                     : 
00178         RecordReferenceItem(Ref),
00179         m_StyleExported(StyleExported) {}


Member Function Documentation

RecordReferenceItem * StyleRecordReference::CreateCopy const XFileRef NewReference  )  const [virtual]
 

Creates a copy of this StyleRecordReference with the given NewReference.

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

Implements RecordReferenceItem.

Definition at line 1985 of file styles.cpp.

01986 {
01987     return new StyleRecordReference(m_StyleExported, NewReference);
01988 }

const Style& StyleRecordReference::GetStyle  )  const [inline]
 

Definition at line 184 of file styles.cpp.

00184 {   return m_StyleExported; }

BOOL StyleRecordReference::operator== const RecordReferenceItem Other  )  const [virtual]
 

Two StyleRecordReference's are equal if the addresses of the Style's they represent are equal.

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

Implements RecordReferenceItem.

Definition at line 2003 of file styles.cpp.

02004 {
02005     ENSURE_KIND((&Other), StyleRecordReference);
02006     StyleRecordReference& OtherStyle = (StyleRecordReference&) Other;
02007 
02008     return &(GetStyle()) == &(OtherStyle.GetStyle());
02009 }


Member Data Documentation

const Style& StyleRecordReference::m_StyleExported [private]
 

Definition at line 187 of file styles.cpp.


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