#include <xpfcaps.h>
Inheritance diagram for XPFCShadow:
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) |
Definition at line 393 of file xpfcaps.h.
|
Definition at line 399 of file xpfcaps.h. 00400 : XPFCComplexClass(CC_RUNTIME_CLASS(NodeShadowController), ConvertType) 00401 { 00402 m_Type = Type; 00403 }
|
|
Definition at line 404 of file xpfcaps.h.
|
|
|
|
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 }
|
|
|