#include <OWBI1_CIMMethod.hpp>
Inheritance diagram for OWBI1::CIMMethod:


| Public Types | |
| typedef COWIntrusiveReference< METHData > CIMMethod::* | safe_bool | 
| Public Member Functions | |
| CIMMethod () | |
| Create a new CIMMethod object. | |
| CIMMethod (CIMNULL_t) | |
| Create a NULL CIMMethod object. | |
| CIMMethod (const CIMName &name) | |
| Create an CIMMethod with a name. | |
| CIMMethod (const char *name) | |
| Create an CIMMethod with a name. | |
| CIMMethod (const CIMMethod &arg) | |
| Copy constructor. | |
| ~CIMMethod () | |
| Destroy this CIMMethod object. | |
| virtual void | setNull () | 
| Set this to a null object. | |
| CIMMethod & | operator= (const CIMMethod &arg) | 
| Assignment operator. | |
| CIMMethod & | setQualifiers (const CIMQualifierArray &quals) | 
| Set the qualifiers for this method. | |
| CIMMethod & | addQualifier (const CIMQualifier &qual) | 
| Add a qualifier to this CIMMethod. | |
| CIMQualifierArray | getQualifiers () const | 
| Get the qualifiers for this method. | |
| CIMQualifier | getQualifier (const CIMName &name) const | 
| Get the qualifier associated with a specified name. | |
| CIMName | getOriginClass () const | 
| Get the origin class for this method. | |
| CIMMethod & | setOriginClass (const CIMName &originCls) | 
| Set thr origin class for this method. | |
| CIMMethod & | addParameter (const CIMParameter ¶m) | 
| Add a parameter to this CIMMethod. | |
| CIMMethod & | setParameters (const CIMParameterArray &inParms) | 
| Set the parameters for this method. | |
| CIMParameterArray | getParameters () const | 
| Get the parameters for this method. | |
| CIMParameterArray | getINParameters () const | 
| Get the IN parameters for this method. | |
| CIMParameterArray | getOUTParameters () const | 
| Get the OUT parameters for this method. | |
| CIMMethod & | setReturnType (const CIMDataType &type) | 
| Set the return data type for this parameter. | |
| CIMDataType | getReturnType () const | 
| Int32 | getReturnDataSize () const | 
| CIMMethod & | setOverridingMethod (const CIMName &omname) | 
| Set name of overriding method. | |
| CIMName | getOverridingMethod () const | 
| CIMMethod & | setPropagated (bool propagated=true) | 
| Set the propagated flag for this method. | |
| bool | getPropagated () const | 
| Get the propagated flag. | |
| CIMMethod | clone (WBEMFlags::EIncludeQualifiersFlag includeQualifiers=WBEMFlags::E_INCLUDE_QUALIFIERS, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin=WBEMFlags::E_INCLUDE_CLASS_ORIGIN) const | 
| Create an CIMMethod object based on this one, using the criteria specified in the parameters. | |
| virtual CIMName | getName () const | 
| virtual void | setName (const CIMName &name) | 
| Set the name of this method. | |
| virtual void | readObject (std::istream &istrm) | 
| Read this object from an input stream. | |
| virtual void | writeObject (std::ostream &ostrm) const | 
| Write this object to an output stream. | |
| virtual String | toMOF () const | 
| virtual String | toString () const | 
| operator safe_bool () const | |
| bool | operator! () const | 
| Protected Attributes | |
| COWIntrusiveReference< METHData > | m_pdata | 
| Friends | |
| OWBI1_OWBI1PROVIFC_API bool | operator< (const CIMMethod &x, const CIMMethod &y) | 
| Classes | |
| struct | METHData | 
CIMMethods are ref counted, copy on write objects. It is possible to have an CIMMethod object that is NULL. The method to check for this condition is as follows:
CIMMethod ch = cc.getMethod(...); if (!ch) { // Null method } else { // Valid method }
Definition at line 65 of file OWBI1_CIMMethod.hpp.
| 
 | 
| 
 Definition at line 255 of file OWBI1_CIMMethod.hpp. | 
| 
 | 
| Create a new CIMMethod object. 
 Definition at line 85 of file OWBI1_CIMMethod.cpp. Referenced by clone(). | 
| 
 | 
| Create a NULL CIMMethod object. 
 Definition at line 90 of file OWBI1_CIMMethod.cpp. | 
| 
 | 
| Create an CIMMethod with a name. 
 
 Definition at line 101 of file OWBI1_CIMMethod.cpp. | 
| 
 | 
| Create an CIMMethod with a name. 
 
 Definition at line 95 of file OWBI1_CIMMethod.cpp. References m_pdata. | 
| 
 | 
| Copy constructor. 
 
 Definition at line 107 of file OWBI1_CIMMethod.cpp. | 
| 
 | 
| Destroy this CIMMethod object. 
 Definition at line 112 of file OWBI1_CIMMethod.cpp. | 
| 
 | 
| Add a parameter to this CIMMethod. 
 
 
 Definition at line 178 of file OWBI1_CIMMethod.cpp. References m_pdata. | 
| 
 | 
| Add a qualifier to this CIMMethod. 
 
 
 Definition at line 130 of file OWBI1_CIMMethod.cpp. References m_pdata. | 
| 
 | ||||||||||||
| Create an CIMMethod object based on this one, using the criteria specified in the parameters. 
 
 
 Definition at line 266 of file OWBI1_CIMMethod.cpp. References CIMMethod(), OWBI1::CIMNULL, and m_pdata. | 
| 
 | 
| Get the IN parameters for this method. 
 
 Definition at line 198 of file OWBI1_CIMMethod.cpp. References OWBI1::CIMQualifier::CIM_QUAL_IN, i, m_pdata, and OWBI1::Array< T >::push_back(). | 
| 
 | 
| 
 
 Implements OWBI1::CIMElement. Definition at line 304 of file OWBI1_CIMMethod.cpp. References m_pdata. Referenced by OWBI1::CIMClass::setMethod(). | 
| 
 | 
| Get the origin class for this method. 
 
 Definition at line 165 of file OWBI1_CIMMethod.cpp. References m_pdata. | 
| 
 | 
| Get the OUT parameters for this method. 
 
 Definition at line 219 of file OWBI1_CIMMethod.cpp. References OWBI1::CIMQualifier::CIM_QUAL_OUT, i, m_pdata, and OWBI1::Array< T >::push_back(). | 
| 
 | 
| 
 
 Definition at line 260 of file OWBI1_CIMMethod.cpp. References m_pdata. | 
| 
 | 
| Get the parameters for this method. 
 
 Definition at line 192 of file OWBI1_CIMMethod.cpp. References m_pdata. | 
| 
 | 
| Get the propagated flag. 
 
 Definition at line 298 of file OWBI1_CIMMethod.cpp. References m_pdata. | 
| 
 | 
| Get the qualifier associated with a specified name. 
 
 
 Definition at line 150 of file OWBI1_CIMMethod.cpp. | 
| 
 | 
| Get the qualifiers for this method. 
 
 Definition at line 144 of file OWBI1_CIMMethod.cpp. References m_pdata. | 
| 
 | 
| 
 
 Definition at line 247 of file OWBI1_CIMMethod.cpp. References m_pdata. | 
| 
 | 
| 
 
 Definition at line 241 of file OWBI1_CIMMethod.cpp. References m_pdata. | 
| 
 | 
| 
 Definition at line 256 of file OWBI1_CIMMethod.hpp. References m_pdata. | 
| 
 | 
| 
 Definition at line 258 of file OWBI1_CIMMethod.hpp. | 
| 
 | 
| Assignment operator. 
 
 
 Definition at line 123 of file OWBI1_CIMMethod.cpp. References m_pdata. | 
| 
 | 
| Read this object from an input stream. 
 
 Implements OWBI1::SerializableIFC. | 
| 
 | 
| Set the name of this method. 
 
 Implements OWBI1::CIMElement. Definition at line 310 of file OWBI1_CIMMethod.cpp. | 
| 
 | 
| Set this to a null object. All subsequent operation will fail after this method is called. Implements OWBI1::CIMBase. Definition at line 117 of file OWBI1_CIMMethod.cpp. References m_pdata. | 
| 
 | 
| Set thr origin class for this method. 
 
 
 Definition at line 171 of file OWBI1_CIMMethod.cpp. References m_pdata. | 
| 
 | 
| Set name of overriding method. 
 
 
 Definition at line 253 of file OWBI1_CIMMethod.cpp. References m_pdata. | 
| 
 | 
| Set the parameters for this method. 
 
 
 Definition at line 185 of file OWBI1_CIMMethod.cpp. References m_pdata. | 
| 
 | 
| Set the propagated flag for this method. 
 
 
 Definition at line 291 of file OWBI1_CIMMethod.cpp. References m_pdata. | 
| 
 | 
| Set the qualifiers for this method. 
 
 
 Definition at line 137 of file OWBI1_CIMMethod.cpp. References m_pdata. | 
| 
 | 
| Set the return data type for this parameter. 
 
 
 Definition at line 234 of file OWBI1_CIMMethod.cpp. | 
| 
 | 
| 
 
 Implements OWBI1::CIMBase. Definition at line 360 of file OWBI1_CIMMethod.cpp. | 
| 
 | 
| 
 
 Implements OWBI1::CIMElement. Definition at line 399 of file OWBI1_CIMMethod.cpp. References m_pdata. | 
| 
 | 
| Write this object to an output stream. 
 
 Implements OWBI1::SerializableIFC. | 
| 
 | ||||||||||||
| 
 Definition at line 406 of file OWBI1_CIMMethod.cpp. | 
| 
 | 
 1.4.6
 1.4.6