XPFCShadow Class Reference

This is the class for Shadow capabilities. More...

#include <xpfcaps.h>

Inheritance diagram for XPFCShadow:

XPFCComplexClass XPFCapability List of all members.

Public Member Functions

 XPFCShadow (XPFConvertType ConvertType, XPFProp Type)
virtual ~XPFCShadow ()

Protected Member Functions

virtual BOOL DoesNodeMatch (Node *pNode)

Protected Attributes

XPFProp m_Type

Private Member Functions

 CC_DECLARE_MEMDUMP (XPFCShadow)

Detailed Description

This is the class for Shadow capabilities.

Author:
Gerry_Iles (Xara Group Ltd) <camelotdev@xara.com>
Date:
26/01/05

Definition at line 393 of file xpfcaps.h.


Constructor & Destructor Documentation

XPFCShadow::XPFCShadow XPFConvertType  ConvertType,
XPFProp  Type
[inline]
 

Definition at line 399 of file xpfcaps.h.

00400         : XPFCComplexClass(CC_RUNTIME_CLASS(NodeShadowController), ConvertType)
00401     {
00402         m_Type = Type;
00403     }

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

Definition at line 404 of file xpfcaps.h.

00405     {
00406     }


Member Function Documentation

XPFCShadow::CC_DECLARE_MEMDUMP XPFCShadow   )  [private]
 

BOOL XPFCShadow::DoesNodeMatch Node pNode  )  [protected, virtual]
 

Reimplemented from XPFCComplexClass.

Definition at line 390 of file xpfcaps.cpp.

00391 {
00392     // If we aren't the correct type of node then return
00393     if (!XPFCComplexClass::DoesNodeMatch(pNode))
00394         return(FALSE);
00395 
00396     NodeShadowController* pCont = (NodeShadowController*)pNode;
00397 
00398     // Now test the property attributes
00399     if (m_Type != XPFP_UNKNOWN && pCont->GetShadowType() != m_Type)
00400         return(FALSE);
00401 
00402     return(TRUE);
00403 }


Member Data Documentation

XPFProp XPFCShadow::m_Type [protected]
 

Definition at line 412 of file xpfcaps.h.


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