(file) Return to CIM_LogicalElement.h CVS log (file) (dir) Up to [OMI] / omi / base / tests

File: [OMI] / omi / base / tests / Attic / CIM_LogicalElement.h (download)
Revision: 1.1.1.1 (vendor branch), Wed May 30 21:47:49 2012 UTC (12 years, 1 month ago) by mike
Branch: TOG
CVS Tags: OMI_1_0_2_Branch, OMI_1_0_2, OMI_1_0_1_PRE, OMI_1_0_1, OMI_1_0_0
Changes since 1.1: +0 -0 lines
Initial Import

/* @migen@ */
/*
**==============================================================================
**
** WARNING: THIS FILE WAS AUTOMATICALLY GENERATED. PLEASE DO NOT EDIT.
**
**==============================================================================
*/
#ifndef _CIM_LogicalElement_h
#define _CIM_LogicalElement_h

#include <MI.h>
#include "CIM_ManagedSystemElement.h"

/*
**==============================================================================
**
** CIM_LogicalElement [CIM_LogicalElement]
**
** Keys:
**
**==============================================================================
*/

typedef struct _CIM_LogicalElement /* extends CIM_ManagedSystemElement */
{
    MI_Instance __instance;
    /* CIM_ManagedElement properties */
    MI_ConstStringField InstanceID;
    MI_ConstStringField Caption;
    MI_ConstStringField Description;
    MI_ConstStringField ElementName;
    /* CIM_ManagedSystemElement properties */
    MI_ConstDatetimeField InstallDate;
    MI_ConstStringField Name;
    MI_ConstUint16AField OperationalStatus;
    MI_ConstStringAField StatusDescriptions;
    MI_ConstStringField Status;
    MI_ConstUint16Field HealthState;
    MI_ConstUint16Field CommunicationStatus;
    MI_ConstUint16Field DetailedStatus;
    MI_ConstUint16Field OperatingStatus;
    MI_ConstUint16Field PrimaryStatus;
    /* CIM_LogicalElement properties */
}
CIM_LogicalElement;

typedef struct _CIM_LogicalElement_Ref
{
    CIM_LogicalElement* value;
    MI_Boolean exists;
    MI_Uint8 flags;
}
CIM_LogicalElement_Ref;

typedef struct _CIM_LogicalElement_ConstRef
{
    MI_CONST CIM_LogicalElement* value;
    MI_Boolean exists;
    MI_Uint8 flags;
}
CIM_LogicalElement_ConstRef;

typedef struct _CIM_LogicalElement_Array
{
    struct _CIM_LogicalElement** data;
    MI_Uint32 size;
}
CIM_LogicalElement_Array;

typedef struct _CIM_LogicalElement_ConstArray
{
    struct _CIM_LogicalElement MI_CONST* MI_CONST* data;
    MI_Uint32 size;
}
CIM_LogicalElement_ConstArray;

typedef struct _CIM_LogicalElement_ArrayRef
{
    CIM_LogicalElement_Array value;
    MI_Boolean exists;
    MI_Uint8 flags;
}
CIM_LogicalElement_ArrayRef;

typedef struct _CIM_LogicalElement_ConstArrayRef
{
    CIM_LogicalElement_ConstArray value;
    MI_Boolean exists;
    MI_Uint8 flags;
}
CIM_LogicalElement_ConstArrayRef;

MI_EXTERN_C MI_CONST MI_ClassDecl CIM_LogicalElement_rtti;


/*
**==============================================================================
**
** CIM_LogicalElement_Class
**
**==============================================================================
*/

#ifdef __cplusplus
# include <micxx/micxx.h>

MI_BEGIN_NAMESPACE

class CIM_LogicalElement_Class : public CIM_ManagedSystemElement_Class
{
public:
    
    typedef CIM_LogicalElement Self;
    
    CIM_LogicalElement_Class() :
        CIM_ManagedSystemElement_Class(&CIM_LogicalElement_rtti)
    {
    }
    
    CIM_LogicalElement_Class(
        const CIM_LogicalElement* instanceName,
        bool keysOnly) :
        CIM_ManagedSystemElement_Class(
            &CIM_LogicalElement_rtti,
            &instanceName->__instance,
            keysOnly)
    {
    }
    
    CIM_LogicalElement_Class(
        const MI_ClassDecl* clDecl,
        const MI_Instance* instance,
        bool keysOnly) :
        CIM_ManagedSystemElement_Class(clDecl, instance, keysOnly)
    {
    }
    
    CIM_LogicalElement_Class(
        const MI_ClassDecl* clDecl) :
        CIM_ManagedSystemElement_Class(clDecl)
    {
    }
    
    CIM_LogicalElement_Class& operator=(
        const CIM_LogicalElement_Class& x)
    {
        CopyRef(x);
        return *this;
    }
    
    CIM_LogicalElement_Class(
        const CIM_LogicalElement_Class& x) :
        CIM_ManagedSystemElement_Class(x)
    {
    }

    static const MI_ClassDecl* GetClassDecl()
    {
        return &CIM_LogicalElement_rtti;
    }

};

typedef Array<CIM_LogicalElement_Class> CIM_LogicalElement_ClassA;

MI_END_NAMESPACE

#endif /* __cplusplus */

#endif /* _CIM_LogicalElement_h */

ViewCVS 0.9.2