2025-04-27 07:49:33 -04:00

52 lines
1.1 KiB
C++
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*++
Copyright (C) 2000-2001 Microsoft Corporation
Module Name:
Abstract:
History:
--*/
//***************************************************************************
//
// DYNASTY.H
//
// raymcc 24-Apr-00 Created
//
//***************************************************************************
#ifndef _DYNASTY_H_
#define _DYNASTY_H_
class CDynasty
{
public:
LPWSTR m_wszClassName;
IWbemClassObject* m_pClassObj; // AddRef'ed, Released
CFlexArray *m_pChildren; // Child classes
LPWSTR m_wszKeyScope;
BOOL m_bKeyed;
BOOL m_bDynamic;
BOOL m_bAbstract;
BOOL m_bAmendment;
CDynasty();
CDynasty(IWbemClassObject* pClassObj);
~CDynasty();
BOOL IsKeyed() {return m_bKeyed;}
BOOL IsDynamic() {return m_bDynamic;}
BOOL IsAbstract() {return m_bAbstract;}
BOOL IsAmendment() {return m_bAbstract;}
LPCWSTR GetKeyScope() { return m_wszKeyScope; }
void AddChild(CDynasty* pChild);
void SetKeyScope(LPCWSTR wszKeyScope);
};
#endif