ReactOS 0.4.16-dev-401-g45b008d
CNode Class Referenceabstract

#include <Node.h>

Inheritance diagram for CNode:
Collaboration diagram for CNode:

Public Member Functions

 CNode (_In_ NodeType Type, _In_ PSP_CLASSIMAGELIST_DATA ImageListData)
 
 CNode (_In_ const CNode &Node)
 
virtual ~CNode ()
 
virtual bool SetupNode ()=0
 
NodeType GetNodeType ()
 
LPGUID GetClassGuid ()
 
LPWSTR GetDisplayName ()
 
INT GetClassImage ()
 
LPWSTR GetDeviceId ()
 
bool HasProperties ()
 

Protected Attributes

NodeType m_NodeType
 
PSP_CLASSIMAGELIST_DATA m_ImageListData
 
LPWSTR m_DeviceId
 
WCHAR m_DisplayName [DISPLAY_NAME_LEN]
 
GUID m_ClassGuid
 
INT m_ClassImage
 

Detailed Description

Definition at line 12 of file Node.h.

Constructor & Destructor Documentation

◆ CNode() [1/2]

CNode::CNode ( _In_ NodeType  Type,
_In_ PSP_CLASSIMAGELIST_DATA  ImageListData 
)

Definition at line 17 of file Node.cpp.

18 :
23{
26}
Type
Definition: Type.h:7
LPWSTR m_DeviceId
Definition: Node.h:17
INT m_ClassImage
Definition: Node.h:20
PSP_CLASSIMAGELIST_DATA m_ImageListData
Definition: Node.h:16
NodeType m_NodeType
Definition: Node.h:15
GUID m_ClassGuid
Definition: Node.h:19
WCHAR m_DisplayName[DISPLAY_NAME_LEN]
Definition: Node.h:18
#define NULL
Definition: types.h:112
SP_CLASSIMAGELIST_DATA ImageListData
Definition: hdwwiz.c:34
#define GUID_NULL
Definition: ks.h:106
#define UNICODE_NULL

◆ CNode() [2/2]

CNode::CNode ( _In_ const CNode Node)

◆ ~CNode()

CNode::~CNode ( )
virtual

Definition at line 39 of file Node.cpp.

40{
41}

Member Function Documentation

◆ GetClassGuid()

LPGUID CNode::GetClassGuid ( )
inline

Definition at line 37 of file Node.h.

37{ return &m_ClassGuid; }

Referenced by CDeviceNode::IsHidden(), and CDeviceView::RecurseFindDevice().

◆ GetClassImage()

INT CNode::GetClassImage ( )
inline

Definition at line 39 of file Node.h.

39{ return m_ClassImage; }

◆ GetDeviceId()

LPWSTR CNode::GetDeviceId ( )
inline

Definition at line 40 of file Node.h.

40{ return m_DeviceId; }

Referenced by CDeviceView::RecurseFindDevice().

◆ GetDisplayName()

LPWSTR CNode::GetDisplayName ( )
inline

Definition at line 38 of file Node.h.

38{ return m_DisplayName; }

◆ GetNodeType()

NodeType CNode::GetNodeType ( )
inline

Definition at line 36 of file Node.h.

36{ return m_NodeType; }

Referenced by CDeviceView::RecurseFindDevice(), and CDeviceView::RefreshThread().

◆ HasProperties()

bool CNode::HasProperties ( )
inline

Definition at line 41 of file Node.h.

41{ return (m_DeviceId != NULL); }

◆ SetupNode()

virtual bool CNode::SetupNode ( )
pure virtual

Implemented in CClassNode, CDeviceNode, and CRootNode.

Member Data Documentation

◆ m_ClassGuid

GUID CNode::m_ClassGuid
protected

◆ m_ClassImage

INT CNode::m_ClassImage
protected

◆ m_DeviceId

LPWSTR CNode::m_DeviceId
protected

◆ m_DisplayName

WCHAR CNode::m_DisplayName[DISPLAY_NAME_LEN]
protected

◆ m_ImageListData

PSP_CLASSIMAGELIST_DATA CNode::m_ImageListData
protected

Definition at line 16 of file Node.h.

Referenced by CClassNode::SetupNode(), CDeviceNode::SetupNode(), and CRootNode::SetupNode().

◆ m_NodeType

NodeType CNode::m_NodeType
protected

Definition at line 15 of file Node.h.

Referenced by GetNodeType().


The documentation for this class was generated from the following files: