• Main Page
  • Classes
  • Files
  • File List

/var/tmp/axbld-11697/rpm/BUILD/pegasus/src/Pegasus/Provider/CIMAssociationProvider.h

00001 //%LICENSE////////////////////////////////////////////////////////////////
00002 //
00003 // Licensed to The Open Group (TOG) under one or more contributor license
00004 // agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
00005 // this work for additional information regarding copyright ownership.
00006 // Each contributor licenses this file to you under the OpenPegasus Open
00007 // Source License; you may not use this file except in compliance with the
00008 // License.
00009 //
00010 // Permission is hereby granted, free of charge, to any person obtaining a
00011 // copy of this software and associated documentation files (the "Software"),
00012 // to deal in the Software without restriction, including without limitation
00013 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
00014 // and/or sell copies of the Software, and to permit persons to whom the
00015 // Software is furnished to do so, subject to the following conditions:
00016 //
00017 // The above copyright notice and this permission notice shall be included
00018 // in all copies or substantial portions of the Software.
00019 //
00020 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
00021 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00022 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
00023 // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
00024 // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
00025 // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
00026 // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00027 //
00029 //
00030 //%/////////////////////////////////////////////////////////////////////////////
00031 
00032 #ifndef Pegasus_CIMAssociationProvider_h
00033 #define Pegasus_CIMAssociationProvider_h
00034 
00035 #include <Pegasus/Common/Config.h>
00036 #include <Pegasus/Provider/CIMProvider.h>
00037 
00038 #include <Pegasus/Common/Array.h>
00039 #include <Pegasus/Common/String.h>
00040 #include <Pegasus/Common/CIMName.h>
00041 #include <Pegasus/Common/CIMPropertyList.h>
00042 #include <Pegasus/Common/CIMObjectPath.h>
00043 #include <Pegasus/Common/CIMInstance.h>
00044 #include <Pegasus/Provider/Linkage.h>
00045 
00046 PEGASUS_NAMESPACE_BEGIN
00047 
00066 class PEGASUS_PROVIDER_LINKAGE CIMAssociationProvider :
00067     public virtual CIMProvider
00068 {
00069 public:
00073     CIMAssociationProvider();
00074 
00078     virtual ~CIMAssociationProvider();
00079 
00141     virtual void associators(
00142         const OperationContext & context,
00143         const CIMObjectPath & objectName,
00144         const CIMName & associationClass,
00145         const CIMName & resultClass,
00146         const String & role,
00147         const String & resultRole,
00148         const Boolean includeQualifiers,
00149         const Boolean includeClassOrigin,
00150         const CIMPropertyList & propertyList,
00151         ObjectResponseHandler & handler) = 0;
00152 
00197     virtual void associatorNames(
00198         const OperationContext & context,
00199         const CIMObjectPath & objectName,
00200         const CIMName & associationClass,
00201         const CIMName & resultClass,
00202         const String & role,
00203         const String & resultRole,
00204         ObjectPathResponseHandler & handler) = 0;
00205 
00253     virtual void references(
00254         const OperationContext & context,
00255         const CIMObjectPath & objectName,
00256         const CIMName & resultClass,
00257         const String & role,
00258         const Boolean includeQualifiers,
00259         const Boolean includeClassOrigin,
00260         const CIMPropertyList & propertyList,
00261         ObjectResponseHandler & handler) = 0;
00262 
00293     virtual void referenceNames(
00294         const OperationContext & context,
00295         const CIMObjectPath & objectName,
00296         const CIMName & resultClass,
00297         const String & role,
00298         ObjectPathResponseHandler & handler) = 0;
00299 };
00300 
00301 PEGASUS_NAMESPACE_END
00302 
00303 #endif