(file) Return to CIMFlavor.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

 1 mike  1.1 //BEGIN_LICENSE
 2           //
 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           //
20           //END_LICENSE
21           //BEGIN_HISTORY
22 mike  1.1 //
23           // Author:
24           //
25           // $Log: CIMFlavor.h,v $
26           // Revision 1.1  2001/02/16 02:07:06  mike
27           // Renamed many classes and headers (using new CIM prefixes).
28           //
29           // Revision 1.3  2001/01/30 23:39:00  karl
30           // Add doc++ Documentation to header files
31           //
32           // Revision 1.2  2001/01/28 04:11:03  mike
33           // fixed qualifier resolution
34           //
35           // Revision 1.1.1.1  2001/01/14 19:51:53  mike
36           // Pegasus import
37           //
38           //
39           //END_HISTORY
40           
41           /*
42           
43 mike  1.1  CIMFlavor.h -- This file declares qualifier flavor constants.
44           
45           */
46           
47           #ifndef Pegasus_Flavor_h
48           #define Pegasus_Flavor_h
49           
50           #include <Pegasus/Common/Config.h>
51           #include <Pegasus/Common/Array.h>
52           #include <Pegasus/Common/String.h>
53           
54           PEGASUS_NAMESPACE_BEGIN
55           /**
56           CIMQualifier flavor constants
57           */
58           struct PEGASUS_COMMON_LINKAGE CIMFlavor
59           {
60               static const Uint32 NONE;
61               static const Uint32 OVERRIDABLE;
62               static const Uint32 TOSUBCLASS;
63               static const Uint32 TOINSTANCE;
64 mike  1.1     static const Uint32 TRANSLATABLE;
65           
66               // These are the defaults according to the CIM DTD:
67               // OVERRIDABLE, TOSUBCLASS
68           
69               static const Uint32 DEFAULTS;
70           };
71           
72           PEGASUS_COMMON_LINKAGE String FlavorToString(Uint32 scope);
73           
74           PEGASUS_COMMON_LINKAGE void FlavorToXml(
75               Array<Sint8>& out, 
76               Uint32 flavor);
77           
78           PEGASUS_NAMESPACE_END
79           
80           #endif /* Pegasus_Flavor_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2