[an error occurred while processing this directive]
[an error occurred while processing this directive] [an error occurred while processing this directive]

Pegasus CIM Object Broker Documentation

[an error occurred while processing this directive]


[an error occurred while processing this directive]

 

Contents

o Introduction
o Objectives
o Overview
o Credits
o Pegasus Architecture
   o Design Goals
   o The Broker
   o Pegasus Providers.
   o Extension Services
   o Pegasus Clients.
   o Functional Flow
o Pegasus Components
   o Component Descriptions
   o Pegasus Directory Structure
o Pegasus Utilization
   o Pegasus Availability
   o Pegasus Installation
   o Pegasus Operation
   o Pegasus CIM Clients
   o Pegasus Providers
   o Pegasus MOF Compiler
o Programming Pegasus
   o CIM Objects in Pegasus
   o CIM Object Table
   o Class Definitions
o Pegasus Interfaces
   o CIM Operations over HTTP
   o Pegasus Client Interfaces
   o Pegasus Provider Interfaces
   o Pegasus Service Extension Interfaces
   o Repository Interfaces
o Writing Providers.
o Glossary
o Pegasus Code Examples
   o Client Examples
   o Client Coding Examples
   o Provider Coding Examples
o Document References
o Pegausus FAQ
o
In file ../../src/Pegasus/Common/CIMScope.h:

class PEGASUS_COMMON_LINKAGE CIMScope

The CIMScope class represents the DMTF standard CIM qualifier scope definition.

Documentation

The CIMScope class represents the DMTF standard CIM qualifier scope definition. The scope of a qualifier defines the types of CIM objects with which the qualifier may be used. A CIMScope contains zero or more of these values: CLASS, ASSOCIATION, INDICATION, PROPERTY, REFERENCE, METHOD, PARAMETER.

Inheritance:


Public Fields

[more]static const CIMScope NONE
Indicates that the CIMScope object has no value (is uninitialized).
[more]static const CIMScope CLASS
Indicates that the qualifier may be used with classes
[more]static const CIMScope ASSOCIATION
Indicates that the qualifier may be used with associations
[more]static const CIMScope INDICATION
Indicates that the qualifier may be used with indications
[more]static const CIMScope PROPERTY
Indicates that the qualifier may be used with properties
[more]static const CIMScope REFERENCE
Indicates that the qualifier may be used with references
[more]static const CIMScope METHOD
Indicates that the qualifier may be used with methods
[more]static const CIMScope PARAMETER
Indicates that the qualifier may be used with parameters
[more]static const CIMScope ANY
Indicates that the qualifier may be used with any of the types of objects (classes, associations, indications, properties, references, methods, parameters)

Public Methods

[more] CIMScope ()
Constructs a CIMScope object with the value NONE
[more] CIMScope (const CIMScope& scope)
Constructs a CIMScope object from the value of a specified CIMScope object.
[more]CIMScope& operator= (const CIMScope& scope)
Assigns the value of the specified CIMScope object to this object.
[more]Boolean hasScope (const CIMScope& scope) const
Checks whether the scope contains specified scope values.
[more]void addScope (const CIMScope & scope)
Adds scopes value to the CIMScope object.
[more]Boolean equal (const CIMScope & scope) const
Compares the CIMScope with a specified CIMScope.
[more]CIMScope operator+ (const CIMScope & scope) const
Adds two scope values.
[more]String toString () const
Returns a String representation of the CIMScope object.

o CIMScope()
Constructs a CIMScope object with the value NONE

o CIMScope(const CIMScope& scope)
Constructs a CIMScope object from the value of a specified CIMScope object.
Parameters:
scope - The CIMScope object from which to construct a new CIMScope object.

oCIMScope& operator=(const CIMScope& scope)
Assigns the value of the specified CIMScope object to this object.
Parameters:
scope - The CIMScope object from which to assign this CIMScope object.
Returns:
A reference to this CIMScope object.

oBoolean hasScope(const CIMScope& scope) const
Checks whether the scope contains specified scope values.
Parameters:
scope - A CIMScope specifying the scope values to check.
Returns:
True if the scope contains all the values in the specified CIMScope object, false otherwise.

ovoid addScope(const CIMScope & scope)
Adds scopes value to the CIMScope object.

Example:

            CIMScope s;
            s.addScope(CIMScope::INDICATION);
            assert(s.hasScope(CIMScope::INDICATION));
        
Parameters:
scope - A CIMScope containing the scope values to add.

oBoolean equal(const CIMScope & scope) const
Compares the CIMScope with a specified CIMScope.
Parameters:
scope - The CIMScope to be compared.
Returns:
True if this scope has the same set of values as the specified scope, false otherwise.

oCIMScope operator+(const CIMScope & scope) const
Adds two scope values.

Example:

            CIMScope s0(CIMScope::CLASS);
            CIMScope s1(CIMScope::PARAMETER);
            CIMScope s3 = s0 + S1;
        
Parameters:
scope - A CIMScope containing the scope value to add to this scope.
Returns:
A new CIMScope object containing a union of the values in the two scope objects.

oString toString() const
Returns a String representation of the CIMScope object. This method is for diagnostic purposes. The format of the output is subject to change.
Returns:
A String containing a human-readable representation of the scope value.

ostatic const CIMScope NONE
Indicates that the CIMScope object has no value (is uninitialized). This is not a valid qualifier scope.

ostatic const CIMScope CLASS
Indicates that the qualifier may be used with classes

ostatic const CIMScope ASSOCIATION
Indicates that the qualifier may be used with associations

ostatic const CIMScope INDICATION
Indicates that the qualifier may be used with indications

ostatic const CIMScope PROPERTY
Indicates that the qualifier may be used with properties

ostatic const CIMScope REFERENCE
Indicates that the qualifier may be used with references

ostatic const CIMScope METHOD
Indicates that the qualifier may be used with methods

ostatic const CIMScope PARAMETER
Indicates that the qualifier may be used with parameters

ostatic const CIMScope ANY
Indicates that the qualifier may be used with any of the types of objects (classes, associations, indications, properties, references, methods, parameters)


This class has no child classes.
Friends:
class BinaryStreamer

Alphabetic index HTML hierarchy of classes or Java


[an error occurred while processing this directive]