![]() ![]() |
![]() |
File: [Pegasus] / pegasus / cgi / htdocs / Attic / EnumerateClassNames.html
(download)
/
(as text)
Revision: 1.3, Tue Jan 30 23:37:49 2001 UTC (23 years, 5 months ago) by karl Branch: MAIN Changes since 1.2: +65 -9 lines reorganize HTML forms |
<html> <body bgcolor="#CCCCCC"> <table width="100%"> <tr> <td width="50%" align="bottom"><h1>EnumerateClassNames Operation</h1><td> <td width="50%" align="right"> <img border=1 src="/icons/OpenGroupLogo.gif"> </td> </tr> </table> <hr> <form METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient"> <INPUT TYPE="hidden" NAME="Operation" VALUE="EnumerateClassNames"> <p> The <TT>enumerateClassNames</TT> operation is used to enumerate the names of subclasses of a CIM Class in the target Namespace. <p><b><a href="#NameSpace">NameSpace</a></b> <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv20"> String that defines the target namespace. See <a href="getnamespaces.html">NameSpace Operations</a> for more information<p><b><a href="http://www.opengroup.org/management#className">ClassName</a></b> <INPUT TYPE="text" NAME="ClassName" SIZE=30> Defines the name of the Class to be retrieved. Null (no entry) lists all class names in the Namespace<p><b><a href="#DeepInheritance">DeepInheritance</a></b> <INPUT TYPE="checkbox" NAME="DeepInheritance" VALUE="true" checked> If true return names of all subclasses of specified class. If false, only immediate subclasses are returned. <p><INPUT TYPE="submit" VALUE="Submit Request"> <INPUT TYPE="reset" VALUE="Reset"> </form> <hr> <h2>Request Return </h2> <p> If successful, the method returns zero or more names of Classes that meet the requested criteria as a CIM Array. <p>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> <hr> <h2>Additional Information on the Fields</h2> <p><a name="NameSpace"><b>NameSpace</b></a> - The NameSpace parameter is a string that defines the target namespace <p><a name="className"><b>className</b></a> - The <TT>ClassName</TT> input parameter defines the Class that is the basis for the enumeration. <p><a name="DeepInheritance"><b>DeepInheritance</b></a> - If the DeepInheritance 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). <hr> <h2>C++ Call</h2> <PRE> virtual Array<String> enumerateClassNames( const String& nameSpace, const String& className = String::EMPTY, Boolean deepInheritance = false) = 0; </PRE> </body> </html>
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |