ReactOS  0.4.14-dev-77-gd9e7c48
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  :
22  m_ClassImage(0)
23 {
26 }
Type
Definition: Type.h:6
LPWSTR m_DeviceId
Definition: Node.h:17
INT m_ClassImage
Definition: Node.h:20
#define UNICODE_NULL
smooth NULL
Definition: ftsmooth.c:416
NodeType m_NodeType
Definition: Node.h:15
GUID m_ClassGuid
Definition: Node.h:19
PSP_CLASSIMAGELIST_DATA m_ImageListData
Definition: Node.h:16
#define GUID_NULL
Definition: ks.h:106
WCHAR m_DisplayName[DISPLAY_NAME_LEN]
Definition: Node.h:18
SP_CLASSIMAGELIST_DATA ImageListData
Definition: hdwwiz.c:34

◆ 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; }
GUID m_ClassGuid
Definition: Node.h:19

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

◆ GetClassImage()

INT CNode::GetClassImage ( )
inline

Definition at line 39 of file Node.h.

39 { return m_ClassImage; }
INT m_ClassImage
Definition: Node.h:20

◆ GetDeviceId()

LPWSTR CNode::GetDeviceId ( )
inline

Definition at line 40 of file Node.h.

40 { return m_DeviceId; }
LPWSTR m_DeviceId
Definition: Node.h:17

Referenced by CDeviceView::RecurseFindDevice().

◆ GetDisplayName()

LPWSTR CNode::GetDisplayName ( )
inline

Definition at line 38 of file Node.h.

38 { return m_DisplayName; }
WCHAR m_DisplayName[DISPLAY_NAME_LEN]
Definition: Node.h:18

◆ GetNodeType()

NodeType CNode::GetNodeType ( )
inline

Definition at line 36 of file Node.h.

36 { return m_NodeType; }
NodeType m_NodeType
Definition: Node.h:15

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); }
LPWSTR m_DeviceId
Definition: Node.h:17
smooth NULL
Definition: ftsmooth.c:416

◆ SetupNode()

virtual bool CNode::SetupNode ( )
pure virtual

Implemented in CDeviceNode, CClassNode, 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 CRootNode::SetupNode(), CClassNode::SetupNode(), and CDeviceNode::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: