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

  1 mike  1.1 /* @migen@ */
  2           /*
  3           **==============================================================================
  4           **
  5           ** WARNING: THIS FILE WAS AUTOMATICALLY GENERATED. PLEASE DO NOT EDIT.
  6           **
  7           **==============================================================================
  8           */
  9           #ifndef _CIM_LogicalElement_h
 10           #define _CIM_LogicalElement_h
 11           
 12           #include <MI.h>
 13           #include "CIM_ManagedSystemElement.h"
 14           
 15           /*
 16           **==============================================================================
 17           **
 18           ** CIM_LogicalElement [CIM_LogicalElement]
 19           **
 20           ** Keys:
 21           **
 22 mike  1.1 **==============================================================================
 23           */
 24           
 25           typedef struct _CIM_LogicalElement /* extends CIM_ManagedSystemElement */
 26           {
 27               MI_Instance __instance;
 28               /* CIM_ManagedElement properties */
 29               MI_ConstStringField InstanceID;
 30               MI_ConstStringField Caption;
 31               MI_ConstStringField Description;
 32               MI_ConstStringField ElementName;
 33               /* CIM_ManagedSystemElement properties */
 34               MI_ConstDatetimeField InstallDate;
 35               MI_ConstStringField Name;
 36               MI_ConstUint16AField OperationalStatus;
 37               MI_ConstStringAField StatusDescriptions;
 38               MI_ConstStringField Status;
 39               MI_ConstUint16Field HealthState;
 40               MI_ConstUint16Field CommunicationStatus;
 41               MI_ConstUint16Field DetailedStatus;
 42               MI_ConstUint16Field OperatingStatus;
 43 mike  1.1     MI_ConstUint16Field PrimaryStatus;
 44               /* CIM_LogicalElement properties */
 45           }
 46           CIM_LogicalElement;
 47           
 48           typedef struct _CIM_LogicalElement_Ref
 49           {
 50               CIM_LogicalElement* value;
 51               MI_Boolean exists;
 52               MI_Uint8 flags;
 53           }
 54           CIM_LogicalElement_Ref;
 55           
 56           typedef struct _CIM_LogicalElement_ConstRef
 57           {
 58               MI_CONST CIM_LogicalElement* value;
 59               MI_Boolean exists;
 60               MI_Uint8 flags;
 61           }
 62           CIM_LogicalElement_ConstRef;
 63           
 64 mike  1.1 typedef struct _CIM_LogicalElement_Array
 65           {
 66               struct _CIM_LogicalElement** data;
 67               MI_Uint32 size;
 68           }
 69           CIM_LogicalElement_Array;
 70           
 71           typedef struct _CIM_LogicalElement_ConstArray
 72           {
 73               struct _CIM_LogicalElement MI_CONST* MI_CONST* data;
 74               MI_Uint32 size;
 75           }
 76           CIM_LogicalElement_ConstArray;
 77           
 78           typedef struct _CIM_LogicalElement_ArrayRef
 79           {
 80               CIM_LogicalElement_Array value;
 81               MI_Boolean exists;
 82               MI_Uint8 flags;
 83           }
 84           CIM_LogicalElement_ArrayRef;
 85 mike  1.1 
 86           typedef struct _CIM_LogicalElement_ConstArrayRef
 87           {
 88               CIM_LogicalElement_ConstArray value;
 89               MI_Boolean exists;
 90               MI_Uint8 flags;
 91           }
 92           CIM_LogicalElement_ConstArrayRef;
 93           
 94           MI_EXTERN_C MI_CONST MI_ClassDecl CIM_LogicalElement_rtti;
 95           
 96           
 97           /*
 98           **==============================================================================
 99           **
100           ** CIM_LogicalElement_Class
101           **
102           **==============================================================================
103           */
104           
105           #ifdef __cplusplus
106 mike  1.1 # include <micxx/micxx.h>
107           
108           MI_BEGIN_NAMESPACE
109           
110           class CIM_LogicalElement_Class : public CIM_ManagedSystemElement_Class
111           {
112           public:
113               
114               typedef CIM_LogicalElement Self;
115               
116               CIM_LogicalElement_Class() :
117                   CIM_ManagedSystemElement_Class(&CIM_LogicalElement_rtti)
118               {
119               }
120               
121               CIM_LogicalElement_Class(
122                   const CIM_LogicalElement* instanceName,
123                   bool keysOnly) :
124                   CIM_ManagedSystemElement_Class(
125                       &CIM_LogicalElement_rtti,
126                       &instanceName->__instance,
127 mike  1.1             keysOnly)
128               {
129               }
130               
131               CIM_LogicalElement_Class(
132                   const MI_ClassDecl* clDecl,
133                   const MI_Instance* instance,
134                   bool keysOnly) :
135                   CIM_ManagedSystemElement_Class(clDecl, instance, keysOnly)
136               {
137               }
138               
139               CIM_LogicalElement_Class(
140                   const MI_ClassDecl* clDecl) :
141                   CIM_ManagedSystemElement_Class(clDecl)
142               {
143               }
144               
145               CIM_LogicalElement_Class& operator=(
146                   const CIM_LogicalElement_Class& x)
147               {
148 mike  1.1         CopyRef(x);
149                   return *this;
150               }
151               
152               CIM_LogicalElement_Class(
153                   const CIM_LogicalElement_Class& x) :
154                   CIM_ManagedSystemElement_Class(x)
155               {
156               }
157           
158               static const MI_ClassDecl* GetClassDecl()
159               {
160                   return &CIM_LogicalElement_rtti;
161               }
162           
163           };
164           
165           typedef Array<CIM_LogicalElement_Class> CIM_LogicalElement_ClassA;
166           
167           MI_END_NAMESPACE
168           
169 mike  1.1 #endif /* __cplusplus */
170           
171           #endif /* _CIM_LogicalElement_h */

ViewCVS 0.9.2