📄 cimclient.h
字号:
flavor attribute settings of the <TT><QUALIFIER></TT> element, and the value of the CIMQualifier).</LI> </UL> </LI></UL> @return If successful, the specified Instance MUST have been updated by the CIM Server. If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses <UL> <LI>CIM_ERR_ACCESS_DENIED <LI>CIM_ERR_NOT_SUPPORTED <LI>CIM_ERR_INVALID_NAMESPACE <LI>CIM_ERR_INVALID_PARAMETER (including missing, duplicate, unrecognized or otherwise incorrect parameters) <LI>CIM_ERR_INVALID_CLASS (the CIM Class of which this is to be a new Instance does not exist) <LI>CIM_ERR_NOT_FOUND (the CIM Instance does not exist) <LI>CIM_ERR_FAILED (some other unspecified error occurred)</LI></UL> */ void modifyInstance( const CIMNamespaceName& nameSpace, const CIMInstance& modifiedInstance, Boolean includeQualifiers = true, const CIMPropertyList& propertyList = CIMPropertyList() ); /** The <TT>enumerateClasses</TT> method is used to enumerate subclasses of a CIM Class in the target Namespace. @param nameSpace The nameSpace parameter is a string that defines the target namespace. See defintion of \URL[Namespace]{DefinitionofTerms.html#NAMESPACE}. @param className The <TT>className</TT> input parameter defines the Class that is the basis for the enumeration. @param deepInheritance If the <TT>deepInheritance</TT> input parameter is <TT>true</TT>, this specifies that all subclasses of the specified Class should be returned (if the <TT>ClassName</TT> input parameter is absent, this implies that all Classes in the target Namespace should be returned). If <TT>false</TT>, only immediate child subclasses are returned (if the <TT>ClassName</TT> input parameter is NULL, this implies that all base Classes in the target Namespace should be returned). @param localOnly If the <TT>localOnly</TT> input parameter is <TT>true</TT>, it specifies that, for each returned Class, only elements (properties, methods and qualifiers) overriden within the definition of that Class are included. If <TT>false</TT>, all elements are returned. This parameter therefore effects a CIM Server-side mechanism to filter certain elements of the returned object based on whether or not they have been propagated from the parent Class (as defined by the <TT>PROPAGATED</TT> attribute). @param includeQualifiers If the <TT>includeQualifiers</TT> input parameter is <TT>true</TT>, this specifies that all Qualifiers for each Class (including Qualifiers on the Class and on any returned Properties, Methods or CIMMethod Parameters) MUST be included as <TT><QUALIFIER></TT> elements in the response. If false no <TT><QUALIFIER></TT> elements are present in each returned Class. @param includeClassOrigin If the <TT>IncludeClassOrigin</TT> input parameter is <TT>true</TT>, this specifies that the <TT>CLASSORIGIN</TT> attribute MUST be present on all appropriate elements in each returned Class. If false, no <TT>CLASSORIGIN</TT> attributes are present in each returned Class. @return If successful, the method returns zero or more Classes that meet the required criteria. If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses. <UL> <LI>CIM_ERR_ACCESS_DENIED <LI>CIM_ERR_NOT_SUPPORTED <LI>CIM_ERR_INVALID_NAMESPACE <LI>CIM_ERR_INVALID_PARAMETER (including missing, duplicate, unrecognized or otherwise incorrect parameters) <LI>CIM_ERR_INVALID_CLASS (the CIM Class that is the basis for this enumeration does not exist) <LI>CIM_ERR_FAILED (some other unspecified error occurred) </LI> </UL> */ Array<CIMClass> enumerateClasses( const CIMNamespaceName& nameSpace, const CIMName& className = CIMName(), Boolean deepInheritance = false, Boolean localOnly = true, Boolean includeQualifiers = true, Boolean includeClassOrigin = false ); /** The <TT>enumerateClassNames</TT> operation is used to enumerate the names of subclasses of a CIM Class in the target Namespace. @param nameSpace The nameSpace parameter is a string that defines the target namespace. See defintion of \URL[Namespace]{DefinitionofTerms.html#NAMESPACE}. @param className The <TT>className</TT> input parameter defines the Class that is the basis for the enumeration. @param deepInheritance If the <TT>deepInheritance</TT> input parameter is true, this specifies that the names of all subclasses of the specified Class should be returned (if the ClassName input parameter is absent, this implies that the names of all Classes in the target Namespace should be returned). If false, only the names of immediate child subclasses are returned (if the className input parameter is NULL, this implies that the names of all base Classes in the target Namespace should be returned). @return If successful, the method returns zero or more names of Classes that meet the requested criteria. If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses. <UL> <LI>CIM_ERR_ACCESS_DENIED <LI>CIM_ERR_NOT_SUPPORTED <LI>CIM_ERR_INVALID_NAMESPACE <LI>CIM_ERR_INVALID_PARAMETER (including missing, duplicate, unrecognized or otherwise incorrect parameters) <LI>CIM_ERR_INVALID_CLASS (the CIM Class that is the basis for this enumeration does not exist) <LI>CIM_ERR_FAILED (some other unspecified error occurred)</LI> </UL> */ Array<CIMName> enumerateClassNames( const CIMNamespaceName& nameSpace, const CIMName& className = CIMName(), Boolean deepInheritance = false ); /** The <TT>enumerateInstances</TT> method enumerates instances of a CIM Class in the target Namespace. @param nameSpace The nameSpace parameter is a string that defines the target namespace. See defintion of \URL[Namespace]{DefinitionofTerms.html#NAMESPACE}. @param className The <TT>className</TT> input parameter defines the Class that is the basis for the enumeration. @param localOnly If the <TT>localOnly</TT> input parameter is <TT>true</TT>, this specifies that, for each returned Instance, only elements (properties and qualifiers) overriden within the definition of that Instance are included. If <TT>false</TT>, all elements are returned. This parameter therefore effects a CIM Server-side mechanism to filter certain elements of the returned object based on whether or not they have been propagated from the parent Class (as defined by the <TT>PROPAGATED</TT> attribute). Only elements (properties, methods and qualifiers) defined or overridden within the class are included in the response. Propagated properties are not included because their values are based on another class information. If not specified, all elements of the class definition are returned. Note: When instances are returned, the InstanceName must include all keys, including propagated keys. Therefore, these attributes are included in the name part of the method response, but not in the value information. @param deepInheritance If the <TT>deepInheritance</TT> input parameter is <TT>true</TT>, this specifies that, for each returned Instance of the Class, all properties of the Instance MUST be present (subject to constraints imposed by the other parameters), including any which were added by subclassing the specified Class. If <TT>false</TT>, each returned Instance includes only properties defined for the specified Class. The Enumerate Instances operation returns the same number of instances regardless of whether or not the DeepInheritance flag is set. The DeepInheritance flag is only used to determine whether or not the subclass property values should be returned. @param includeQualifiersIf the <TT>includeQualifiers</TT> input parameter is <TT>true</TT>, this specifies that all Qualifiers for each Instance (including Qualifiers on the Instance and on any returned Properties) MUST be included as <TT><QUALIFIER></TT> elements in the response. If false no <TT><QUALIFIER></TT> elements are present in each returned Instance. @param includeClassOrigin If the <TT>includeClassOrigin</TT> input parameter is <TT>true</TT>, this specifies that the <TT>CLASSORIGIN</TT> attribute MUST be present on all appropriate elements in each returned Instance. If false, no <TT>CLASSORIGIN</TT> attributes are present in each returned Instance. @param propertyList If the <TT>propertyList</TT> input parameter is not <TT>NULL</TT>, the members of the array define one or more CIMProperty names. Each returned Instance MUST NOT include elements for any Properties missing from this list. Note that if <TT>LocalOnly</TT> is specified as <TT>true</TT> (or <TT>DeepInheritance</TT> is specified as <TT>false</TT>) this acts as an additional filter on the set of Properties returned (for example, if CIMProperty <TT>A</TT> is included in the <TT>PropertyList</TT> but <TT>LocalOnly</TT> is set to true and <TT>A</TT> is not local to a returned Instance, then it will not be included in that Instance). If the <TT>PropertyList</TT> input parameter is an empty array this signifies that no Properties are included in each returned Instance. If the <TT>PropertyList</TT> input parameter is NULL this specifies that all Properties (subject to the conditions expressed by the other parameters) are included in each returned Instance. If the <TT>propertyList</TT> contains duplicate elements, the Server MUST ignore the duplicates but otherwise process the request normally. If the <TT>PropertyList</TT> contains elements which are invalid CIMProperty names for any target Instance, the Server MUST ignore such entries but otherwise process the request normally. @return If successful, the method returns zero or more named Instances that meet the required criteria. If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses. <UL> <LI>CIM_ERR_ACCESS_DENIED <LI>CIM_ERR_NOT_SUPPORTED <LI>CIM_ERR_INVALID_NAMESPACE <LI>CIM_ERR_INVALID_PARAMETER (including missing, duplicate, unrecognized or otherwise incorrect parameters) <LI>CIM_ERR_INVALID_CLASS (the CIM Class that is the basis for this enumeration does not exist) <LI>CIM_ERR_FAILED (some other unspecified erroroccurred)</LI> </UL> */ Array<CIMInstance> enumerateInstances( const CIMNamespaceName& nameSpace, const CIMName& className, Boolean deepInheritance = true, Boolean localOnly = true, Boolean includeQualifiers = false, Boolean includeClassOrigin = false, const CIMPropertyList& propertyList = CIMPropertyList() ); /** The <TT>enumerateInstanceNames</TT> operation enumerates the names (model paths) of the instances of a CIM Class in the target Namespace. @param nameSpace The nameSpace parameter is a string that defines the target namespace. See defintion of \URL[Namespace]{DefinitionofTerms.html#NAMESPACE}. @param className The <TT>className</TT> input parameter defines the Class that is the basis for the enumeration. @return If successful, the method returns zero or more names of Instances (model paths) that meet the requsted criteria. If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -