00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00035 #ifndef OW_CIM_NAME_SPACE_UTILS_HPP_INCLUDE_GUARD_
00036 #define OW_CIM_NAME_SPACE_UTILS_HPP_INCLUDE_GUARD_
00037 #include "OW_config.h"
00038 #include "OW_CIMOMHandleIFC.hpp"
00039 #include "OW_String.hpp"
00040 #include "OW_Array.hpp"
00041 #include "OW_ConfigOpts.hpp"
00042
00043 namespace OW_NAMESPACE
00044 {
00045
00046 namespace CIMNameSpaceUtils
00047 {
00048 #ifndef OW_DISABLE_INSTANCE_MANIPULATION
00049
00076 OW_COMMON_API void createCIM_Namespace(CIMOMHandleIFC& hdl, const String& ns,
00077 UInt16 classInfo = 0, const String& descriptionOfClassInfo = "", const String& interopNs = OW_DEFAULT_INTEROP_SCHEMA_NAMESPACE);
00091 OW_COMMON_API void deleteCIM_Namespace(CIMOMHandleIFC& hdl, const String& ns, const String& interopNs = OW_DEFAULT_INTEROP_SCHEMA_NAMESPACE);
00092 #endif // #ifndef OW_DISABLE_INSTANCE_MANIPULATION
00093
00106 OW_COMMON_API StringArray enumCIM_Namespace(CIMOMHandleIFC& hdl, const String& interopNs = OW_DEFAULT_INTEROP_SCHEMA_NAMESPACE);
00121 OW_COMMON_API void enumCIM_Namespace(CIMOMHandleIFC& hdl,
00122 StringResultHandlerIFC& result, const String& interopNs = OW_DEFAULT_INTEROP_SCHEMA_NAMESPACE);
00123 #ifndef OW_DISABLE_INSTANCE_MANIPULATION
00124
00133 OW_COMMON_API void create__Namespace(CIMOMHandleIFC& hdl, const String& ns);
00143 OW_COMMON_API void delete__Namespace(CIMOMHandleIFC& hdl, const String& ns);
00144 #endif
00145
00160 OW_COMMON_API StringArray enum__Namespace(CIMOMHandleIFC& hdl, const String& ns, WBEMFlags::EDeepFlag deep=WBEMFlags::E_DEEP);
00177 OW_COMMON_API void enum__Namespace(CIMOMHandleIFC& hdl, const String& ns,
00178 StringResultHandlerIFC& result, WBEMFlags::EDeepFlag deep=WBEMFlags::E_DEEP);
00189 OW_COMMON_API String prepareNamespace(const String& ns);
00190 }
00191
00192 }
00193
00194 #endif