version 1.17, 2003/10/22 14:26:02
|
version 1.18, 2003/10/27 19:48:06
|
|
|
public: | public: |
| |
/** Constructs a CIMScope object with no value set (default constructor). | /** Constructs a CIMScope object with no value set (default constructor). |
|
The values are null. |
*/ | */ |
CIMScope (); | CIMScope (); |
| |
/** Constructs a CIMScope object from an existing CIMScope object (copy | /** Constructs a CIMScope object from an existing CIMScope object (copy |
constructor). | constructor). |
@param scope another CIMScope object |
@param scope Specifies an instance of CIMScope object. |
*/ | */ |
CIMScope (const CIMScope & scope); | CIMScope (const CIMScope & scope); |
| |
/** Assigns the value of one CIMScope object to another (assignment | /** Assigns the value of one CIMScope object to another (assignment |
operator). | operator). |
@param scope - a CIMScope object. |
@param scope Specifies the name of a CIMScope object that contains |
@return the CIMScope object. |
the values that you want to assign to another CIMScope object. |
|
@return The CIMScope object with the values of the specified CIMScope |
|
object. For example: |
<pre> | <pre> |
CimScope s0; |
CIMScope s0; |
CIMScope s1(s0); | CIMScope s1(s0); |
</pre> | </pre> |
|
The values in CIMScope s0 are assigned to the CIMScope s1 instance. |
*/ | */ |
CIMScope & operator= (const CIMScope & scope); | CIMScope & operator= (const CIMScope & scope); |
| |
/** Determines if every value in the specified CIMScope object is included | /** Determines if every value in the specified CIMScope object is included |
in this CIMScope object. | in this CIMScope object. |
@param scope - a CIMScope object. |
@param scope - Specifies a name of a CIMScope object. |
@return true if every value in the specified CIMScope object is |
@return True if every value in the specified CIMScope object is |
included in the CIMScope object, false otherwise. |
included in the CIMScope object; otherwise, false. |
<pre> |
|
CIMScope s0; |
|
CIMScope s2; |
|
s0.addScope (CIMScope::INDICATION); |
|
s3 = s0; |
|
</pre> |
|
*/ | */ |
Boolean hasScope (const CIMScope & scope) const; | Boolean hasScope (const CIMScope & scope) const; |
| |
/** Adds the specified scope value to the CIMScope object. | /** Adds the specified scope value to the CIMScope object. |
@param scope - a scope value. |
@param scope - Specifies a scope value. For example: |
<pre> | <pre> |
CIMScope s0; | CIMScope s0; |
s0.addScope (CIMScope::INDICATION); | s0.addScope (CIMScope::INDICATION); |
|
|
void addScope (const CIMScope & scope); | void addScope (const CIMScope & scope); |
| |
/** Compares two CIMScope objects. | /** Compares two CIMScope objects. |
@param scope - a CIMScope object. |
@param scope - Specifies a CIMScope object. |
@return true if the two CIMScope objects are equal, |
@return True if the two CIMScope objects are equal; otherwise, false. |
false otherwise. |
For example, |
<pre> | <pre> |
CIMScope s0; | CIMScope s0; |
s0.addScope (CIMScope::CLASS + CIMScope::PARAMETER); | s0.addScope (CIMScope::CLASS + CIMScope::PARAMETER); |
|
|
Boolean equal (const CIMScope & scope) const; | Boolean equal (const CIMScope & scope) const; |
| |
/** Combines two CIMScope objects. | /** Combines two CIMScope objects. |
@param scope - a CIMScope object to add. |
@param scope - Specifies a CIMScope object to add. |
@return A new CIMScope object that represents the combination of this | @return A new CIMScope object that represents the combination of this |
scope object with the specified scope object. | scope object with the specified scope object. |
<pre> | <pre> |
|
|
| |
private: | private: |
| |
/// |
// |
CIMScope (const Uint32 scope); | CIMScope (const Uint32 scope); |
|
// Private member for storing he CIMScope |
Uint32 cimScope; | Uint32 cimScope; |
}; | }; |
| |