//============================================================================== // // PLEASE DO NOT EDIT THIS FILE; IT WAS AUTOMATICALLY GENERATED BY GENHND. // //============================================================================== #ifndef _cimple_CIM_RegisteredProfile_Hnd #define _cimple_CIM_RegisteredProfile_Hnd #include #include "CIM_RegisteredProfile.h" #include "CIM_ManagedElement_Hnd.h" CIMPLE_NAMESPACE_BEGIN class CIM_RegisteredProfile_Ref : public CIM_ManagedElement_Ref { public: typedef CIM_RegisteredProfile Class; CIM_RegisteredProfile_Ref(); CIM_RegisteredProfile_Ref(const CIM_RegisteredProfile_Ref& x); CIM_RegisteredProfile_Ref(CIM_RegisteredProfile* inst); explicit CIM_RegisteredProfile_Ref(const Instance_Ref& x); ~CIM_RegisteredProfile_Ref(); CIM_RegisteredProfile_Ref& operator=(const CIM_RegisteredProfile_Ref& x); static bool is_a(const Instance_Ref& x); // InstanceID: const String& InstanceID_value() const; void InstanceID_value(const String& x); bool InstanceID_null() const; void InstanceID_clear(); protected: CIM_RegisteredProfile_Ref(const Meta_Class* mc); CIM_RegisteredProfile_Ref(const Meta_Class* mc, const Instance_Ref& x); }; class CIM_RegisteredProfile_Hnd : public CIM_ManagedElement_Hnd { public: typedef CIM_RegisteredProfile Class; CIM_RegisteredProfile_Hnd(); CIM_RegisteredProfile_Hnd(const CIM_RegisteredProfile_Hnd& x); CIM_RegisteredProfile_Hnd(CIM_RegisteredProfile* inst); explicit CIM_RegisteredProfile_Hnd(const Instance_Hnd& x); ~CIM_RegisteredProfile_Hnd(); CIM_RegisteredProfile_Hnd& operator=(const CIM_RegisteredProfile_Hnd& x); static bool is_a(const Instance_Hnd& x); CIM_RegisteredProfile_Ref reference() const; // InstanceID: const String& InstanceID_value() const; void InstanceID_value(const String& x); bool InstanceID_null() const; void InstanceID_clear(); // RegisteredOrganization: const uint16& RegisteredOrganization_value() const; void RegisteredOrganization_value(const uint16& x); bool RegisteredOrganization_null() const; void RegisteredOrganization_clear(); // OtherRegisteredOrganization: const String& OtherRegisteredOrganization_value() const; void OtherRegisteredOrganization_value(const String& x); bool OtherRegisteredOrganization_null() const; void OtherRegisteredOrganization_clear(); // RegisteredName: const String& RegisteredName_value() const; void RegisteredName_value(const String& x); bool RegisteredName_null() const; void RegisteredName_clear(); // RegisteredVersion: const String& RegisteredVersion_value() const; void RegisteredVersion_value(const String& x); bool RegisteredVersion_null() const; void RegisteredVersion_clear(); // AdvertiseTypes: const Array_uint16& AdvertiseTypes_value() const; void AdvertiseTypes_value(const Array_uint16& x); bool AdvertiseTypes_null() const; void AdvertiseTypes_clear(); // AdvertiseTypeDescriptions: const Array_String& AdvertiseTypeDescriptions_value() const; void AdvertiseTypeDescriptions_value(const Array_String& x); bool AdvertiseTypeDescriptions_null() const; void AdvertiseTypeDescriptions_clear(); protected: CIM_RegisteredProfile_Hnd(const Meta_Class* mc); CIM_RegisteredProfile_Hnd(const Meta_Class* mc, const Instance_Hnd& x); }; inline CIM_RegisteredProfile_Ref::CIM_RegisteredProfile_Ref() : CIM_ManagedElement_Ref(&CIM_RegisteredProfile::static_meta_class) { } inline CIM_RegisteredProfile_Ref::CIM_RegisteredProfile_Ref(const CIM_RegisteredProfile_Ref& x) : CIM_ManagedElement_Ref(x) { } inline CIM_RegisteredProfile_Ref::CIM_RegisteredProfile_Ref(CIM_RegisteredProfile* inst) : CIM_ManagedElement_Ref((CIM_ManagedElement*)inst) { } inline CIM_RegisteredProfile_Ref::CIM_RegisteredProfile_Ref(const Instance_Ref& x) : CIM_ManagedElement_Ref(&CIM_RegisteredProfile::static_meta_class, x) { } inline CIM_RegisteredProfile_Ref::CIM_RegisteredProfile_Ref(const Meta_Class* mc) : CIM_ManagedElement_Ref(mc) { } inline CIM_RegisteredProfile_Ref::CIM_RegisteredProfile_Ref(const Meta_Class* mc, const Instance_Ref& x) : CIM_ManagedElement_Ref(mc, x) { } inline CIM_RegisteredProfile_Ref::~CIM_RegisteredProfile_Ref() { } inline CIM_RegisteredProfile_Ref& CIM_RegisteredProfile_Ref::operator=(const CIM_RegisteredProfile_Ref& x) { CIM_ManagedElement_Ref::operator=(x); return *this; } inline bool CIM_RegisteredProfile_Ref::is_a(const Instance_Ref& x) { return is_subclass(&CIM_RegisteredProfile::static_meta_class, x.meta_class()); } inline const String& CIM_RegisteredProfile_Ref::InstanceID_value() const { if (((Class*)_inst)->InstanceID.null) _throw_null_access("InstanceID"); return ((Class*)_inst)->InstanceID.value; } inline void CIM_RegisteredProfile_Ref::InstanceID_value(const String& x) { _cow(); ((Class*)_inst)->InstanceID.value = x; ((Class*)_inst)->InstanceID.null = false; } inline bool CIM_RegisteredProfile_Ref::InstanceID_null() const { return ((Class*)_inst)->InstanceID.null; } inline void CIM_RegisteredProfile_Ref::InstanceID_clear() { _cow(); __clear(((Class*)_inst)->InstanceID.value); ((Class*)_inst)->InstanceID.null = true;; } inline CIM_RegisteredProfile_Hnd::CIM_RegisteredProfile_Hnd() : CIM_ManagedElement_Hnd(&CIM_RegisteredProfile::static_meta_class) { } inline CIM_RegisteredProfile_Hnd::CIM_RegisteredProfile_Hnd(const CIM_RegisteredProfile_Hnd& x) : CIM_ManagedElement_Hnd(x) { } inline CIM_RegisteredProfile_Hnd::CIM_RegisteredProfile_Hnd(CIM_RegisteredProfile* inst) : CIM_ManagedElement_Hnd((CIM_ManagedElement*)inst) { } inline CIM_RegisteredProfile_Hnd::CIM_RegisteredProfile_Hnd(const Instance_Hnd& x) : CIM_ManagedElement_Hnd(&CIM_RegisteredProfile::static_meta_class, x) { } inline CIM_RegisteredProfile_Hnd::CIM_RegisteredProfile_Hnd(const Meta_Class* mc) : CIM_ManagedElement_Hnd(mc) { } inline CIM_RegisteredProfile_Hnd::CIM_RegisteredProfile_Hnd(const Meta_Class* mc, const Instance_Hnd& x) : CIM_ManagedElement_Hnd(mc, x) { } inline CIM_RegisteredProfile_Hnd::~CIM_RegisteredProfile_Hnd() { } inline CIM_RegisteredProfile_Hnd& CIM_RegisteredProfile_Hnd::operator=(const CIM_RegisteredProfile_Hnd& x) { CIM_ManagedElement_Hnd::operator=(x); return *this; } inline bool CIM_RegisteredProfile_Hnd::is_a(const Instance_Hnd& x) { return is_subclass(&CIM_RegisteredProfile::static_meta_class, x.meta_class()); } inline CIM_RegisteredProfile_Ref CIM_RegisteredProfile_Hnd::reference() const { return CIM_RegisteredProfile_Ref((CIM_RegisteredProfile*)key_clone(_inst)); } inline const String& CIM_RegisteredProfile_Hnd::InstanceID_value() const { if (((Class*)_inst)->InstanceID.null) _throw_null_access("InstanceID"); return ((Class*)_inst)->InstanceID.value; } inline void CIM_RegisteredProfile_Hnd::InstanceID_value(const String& x) { _cow(); ((Class*)_inst)->InstanceID.value = x; ((Class*)_inst)->InstanceID.null = false; } inline bool CIM_RegisteredProfile_Hnd::InstanceID_null() const { return ((Class*)_inst)->InstanceID.null; } inline void CIM_RegisteredProfile_Hnd::InstanceID_clear() { _cow(); __clear(((Class*)_inst)->InstanceID.value); ((Class*)_inst)->InstanceID.null = true;; } inline const uint16& CIM_RegisteredProfile_Hnd::RegisteredOrganization_value() const { if (((Class*)_inst)->RegisteredOrganization.null) _throw_null_access("RegisteredOrganization"); return ((Class*)_inst)->RegisteredOrganization.value; } inline void CIM_RegisteredProfile_Hnd::RegisteredOrganization_value(const uint16& x) { _cow(); ((Class*)_inst)->RegisteredOrganization.value = x; ((Class*)_inst)->RegisteredOrganization.null = false; } inline bool CIM_RegisteredProfile_Hnd::RegisteredOrganization_null() const { return ((Class*)_inst)->RegisteredOrganization.null; } inline void CIM_RegisteredProfile_Hnd::RegisteredOrganization_clear() { _cow(); __clear(((Class*)_inst)->RegisteredOrganization.value); ((Class*)_inst)->RegisteredOrganization.null = true;; } inline const String& CIM_RegisteredProfile_Hnd::OtherRegisteredOrganization_value() const { if (((Class*)_inst)->OtherRegisteredOrganization.null) _throw_null_access("OtherRegisteredOrganization"); return ((Class*)_inst)->OtherRegisteredOrganization.value; } inline void CIM_RegisteredProfile_Hnd::OtherRegisteredOrganization_value(const String& x) { _cow(); ((Class*)_inst)->OtherRegisteredOrganization.value = x; ((Class*)_inst)->OtherRegisteredOrganization.null = false; } inline bool CIM_RegisteredProfile_Hnd::OtherRegisteredOrganization_null() const { return ((Class*)_inst)->OtherRegisteredOrganization.null; } inline void CIM_RegisteredProfile_Hnd::OtherRegisteredOrganization_clear() { _cow(); __clear(((Class*)_inst)->OtherRegisteredOrganization.value); ((Class*)_inst)->OtherRegisteredOrganization.null = true;; } inline const String& CIM_RegisteredProfile_Hnd::RegisteredName_value() const { if (((Class*)_inst)->RegisteredName.null) _throw_null_access("RegisteredName"); return ((Class*)_inst)->RegisteredName.value; } inline void CIM_RegisteredProfile_Hnd::RegisteredName_value(const String& x) { _cow(); ((Class*)_inst)->RegisteredName.value = x; ((Class*)_inst)->RegisteredName.null = false; } inline bool CIM_RegisteredProfile_Hnd::RegisteredName_null() const { return ((Class*)_inst)->RegisteredName.null; } inline void CIM_RegisteredProfile_Hnd::RegisteredName_clear() { _cow(); __clear(((Class*)_inst)->RegisteredName.value); ((Class*)_inst)->RegisteredName.null = true;; } inline const String& CIM_RegisteredProfile_Hnd::RegisteredVersion_value() const { if (((Class*)_inst)->RegisteredVersion.null) _throw_null_access("RegisteredVersion"); return ((Class*)_inst)->RegisteredVersion.value; } inline void CIM_RegisteredProfile_Hnd::RegisteredVersion_value(const String& x) { _cow(); ((Class*)_inst)->RegisteredVersion.value = x; ((Class*)_inst)->RegisteredVersion.null = false; } inline bool CIM_RegisteredProfile_Hnd::RegisteredVersion_null() const { return ((Class*)_inst)->RegisteredVersion.null; } inline void CIM_RegisteredProfile_Hnd::RegisteredVersion_clear() { _cow(); __clear(((Class*)_inst)->RegisteredVersion.value); ((Class*)_inst)->RegisteredVersion.null = true;; } inline const Array_uint16& CIM_RegisteredProfile_Hnd::AdvertiseTypes_value() const { if (((Class*)_inst)->AdvertiseTypes.null) _throw_null_access("AdvertiseTypes"); return ((Class*)_inst)->AdvertiseTypes.value; } inline void CIM_RegisteredProfile_Hnd::AdvertiseTypes_value(const Array_uint16& x) { _cow(); ((Class*)_inst)->AdvertiseTypes.value = x; ((Class*)_inst)->AdvertiseTypes.null = false; } inline bool CIM_RegisteredProfile_Hnd::AdvertiseTypes_null() const { return ((Class*)_inst)->AdvertiseTypes.null; } inline void CIM_RegisteredProfile_Hnd::AdvertiseTypes_clear() { _cow(); __clear(((Class*)_inst)->AdvertiseTypes.value); ((Class*)_inst)->AdvertiseTypes.null = true;; } inline const Array_String& CIM_RegisteredProfile_Hnd::AdvertiseTypeDescriptions_value() const { if (((Class*)_inst)->AdvertiseTypeDescriptions.null) _throw_null_access("AdvertiseTypeDescriptions"); return ((Class*)_inst)->AdvertiseTypeDescriptions.value; } inline void CIM_RegisteredProfile_Hnd::AdvertiseTypeDescriptions_value(const Array_String& x) { _cow(); ((Class*)_inst)->AdvertiseTypeDescriptions.value = x; ((Class*)_inst)->AdvertiseTypeDescriptions.null = false; } inline bool CIM_RegisteredProfile_Hnd::AdvertiseTypeDescriptions_null() const { return ((Class*)_inst)->AdvertiseTypeDescriptions.null; } inline void CIM_RegisteredProfile_Hnd::AdvertiseTypeDescriptions_clear() { _cow(); __clear(((Class*)_inst)->AdvertiseTypeDescriptions.value); ((Class*)_inst)->AdvertiseTypeDescriptions.null = true;; } CIMPLE_NAMESPACE_END #endif /* _cimple_CIM_RegisteredProfile_Hnd_h */