version 1.1, 2001/02/18 18:39:06
|
version 1.14.2.1, 2002/10/28 15:43:21
|
|
|
//BEGIN_LICENSE |
//%///////////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000 The Open Group, BMC Software, Tivoli Systems, IBM |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM, |
|
// The Open Group, Tivoli Systems |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a |
// Permission is hereby granted, free of charge, to any person obtaining a copy |
// copy of this software and associated documentation files (the "Software"), |
// of this software and associated documentation files (the "Software"), to |
// to deal in the Software without restriction, including without limitation |
// deal in the Software without restriction, including without limitation the |
// the rights to use, copy, modify, merge, publish, distribute, sublicense, |
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
// and/or sell copies of the Software, and to permit persons to whom the |
// sell copies of the Software, and to permit persons to whom the Software is |
// Software is furnished to do so, subject to the following conditions: |
// furnished to do so, subject to the following conditions: |
|
// |
|
// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN |
|
// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED |
|
// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT |
|
// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR |
|
// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN |
|
// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
// | // |
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
//============================================================================== |
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
|
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
|
// DEALINGS IN THE SOFTWARE. |
|
// | // |
//END_LICENSE |
// Author: Mike Brasher (mbrasher@bmc.com) |
//BEGIN_HISTORY |
|
// | // |
// Author: |
// Modified By: |
// | // |
// $Log$ |
//%///////////////////////////////////////////////////////////////////////////// |
// Revision 1.1 2001/02/18 18:39:06 mike |
|
// new |
|
// |
|
// Revision 1.1 2001/02/16 02:07:06 mike |
|
// Renamed many classes and headers (using new CIM prefixes). |
|
// |
|
// Revision 1.2 2001/01/30 23:39:00 karl |
|
// Add doc++ Documentation to header files |
|
// |
|
// Revision 1.1.1.1 2001/01/14 19:53:12 mike |
|
// Pegasus import |
|
// |
|
// |
|
//END_HISTORY |
|
|
|
/* |
|
CIMScope.h This file declares qualifier scope constants. |
|
*/ |
|
|
|
| |
#ifndef Pegasus_Scope_h | #ifndef Pegasus_Scope_h |
#define Pegasus_Scope_h | #define Pegasus_Scope_h |
|
|
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
#include <Pegasus/Common/Array.h> | #include <Pegasus/Common/Array.h> |
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
|
#include <Pegasus/Common/Linkage.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
/** | /** |
The CIMQualifier Scopes are as follows: | The CIMQualifier Scopes are as follows: |
NONE, Class, ASSOCIATION,INDICATION,PROPERTY, REFERENCE, METHOD, PARAMETER, ANY |
NONE, Class, ASSOCIATION,INDICATION,PROPERTY, REFERENCE, METHOD, |
|
PARAMETER, ANY |
*/ | */ |
namespace CIMScope |
struct PEGASUS_COMMON_LINKAGE CIMScope |
{ | { |
PEGASUS_COMMON_LINKAGE extern const Uint32 NONE; |
static const Uint32 NONE; |
PEGASUS_COMMON_LINKAGE extern const Uint32 CLASS; |
static const Uint32 CLASS; |
PEGASUS_COMMON_LINKAGE extern const Uint32 ASSOCIATION; |
static const Uint32 ASSOCIATION; |
PEGASUS_COMMON_LINKAGE extern const Uint32 INDICATION; |
static const Uint32 INDICATION; |
PEGASUS_COMMON_LINKAGE extern const Uint32 PROPERTY; |
static const Uint32 PROPERTY; |
PEGASUS_COMMON_LINKAGE extern const Uint32 REFERENCE; |
static const Uint32 REFERENCE; |
PEGASUS_COMMON_LINKAGE extern const Uint32 METHOD; |
static const Uint32 METHOD; |
PEGASUS_COMMON_LINKAGE extern const Uint32 PARAMETER; |
static const Uint32 PARAMETER; |
PEGASUS_COMMON_LINKAGE extern const Uint32 ANY; |
static const Uint32 ANY; |
} |
}; |
| |
|
/** The behavior of this method is undefined and is subject to change */ |
PEGASUS_COMMON_LINKAGE String ScopeToString(Uint32 scope); | PEGASUS_COMMON_LINKAGE String ScopeToString(Uint32 scope); |
| |
PEGASUS_COMMON_LINKAGE void ScopeToXml(Array<Sint8>& out, Uint32 scope); |
|
|
|
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |
| |
#endif /* Pegasus_Scope_h */ | #endif /* Pegasus_Scope_h */ |