2 mike 1.1 //
3 // Copyright (c) 2000 The Open Group, BMC Software, Tivoli Systems, IBM
4 //
5 // Permission is hereby granted, free of charge, to any person obtaining a
6 // copy of this software and associated documentation files (the "Software"),
7 // to deal in the Software without restriction, including without limitation
8 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 // and/or sell copies of the Software, and to permit persons to whom the
10 // Software is furnished to do so, subject to the following conditions:
11 //
12 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
15 // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
17 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
18 // DEALINGS IN THE SOFTWARE.
19 //
|
27 mike 1.1
28 /*
29 CIMScope.h This file declares qualifier scope constants.
30 */
31
32
33 #ifndef Pegasus_Scope_h
34 #define Pegasus_Scope_h
35
36 #include <Pegasus/Common/Config.h>
37 #include <Pegasus/Common/Array.h>
38 #include <Pegasus/Common/String.h>
39
40 PEGASUS_NAMESPACE_BEGIN
41
42 /**
43 The CIMQualifier Scopes are as follows:
44 NONE, Class, ASSOCIATION,INDICATION,PROPERTY, REFERENCE, METHOD, PARAMETER, ANY
45 */
46 namespace CIMScope
47 {
48 mike 1.1 PEGASUS_COMMON_LINKAGE extern const Uint32 NONE;
49 PEGASUS_COMMON_LINKAGE extern const Uint32 CLASS;
50 PEGASUS_COMMON_LINKAGE extern const Uint32 ASSOCIATION;
51 PEGASUS_COMMON_LINKAGE extern const Uint32 INDICATION;
52 PEGASUS_COMMON_LINKAGE extern const Uint32 PROPERTY;
53 PEGASUS_COMMON_LINKAGE extern const Uint32 REFERENCE;
54 PEGASUS_COMMON_LINKAGE extern const Uint32 METHOD;
55 PEGASUS_COMMON_LINKAGE extern const Uint32 PARAMETER;
56 PEGASUS_COMMON_LINKAGE extern const Uint32 ANY;
57 }
58
59 PEGASUS_COMMON_LINKAGE String ScopeToString(Uint32 scope);
60
61 PEGASUS_COMMON_LINKAGE void ScopeToXml(Array<Sint8>& out, Uint32 scope);
62
63 PEGASUS_NAMESPACE_END
64
65 #endif /* Pegasus_Scope_h */
|