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

 1 karl  1.3 //%2003////////////////////////////////////////////////////////////////////////
 2 chip  1.1 //
 3 karl  1.3 // Copyright (c) 2000, 2001, 2002  BMC Software, Hewlett-Packard Development
 4           // Company, L. P., IBM Corp., The Open Group, Tivoli Systems.
 5           // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.;
 6           // IBM Corp.; EMC Corporation, The Open Group.
 7 chip  1.1 //
 8           // Permission is hereby granted, free of charge, to any person obtaining a copy
 9           // of this software and associated documentation files (the "Software"), to
10           // deal in the Software without restriction, including without limitation the
11           // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
12           // sell copies of the Software, and to permit persons to whom the Software is
13           // furnished to do so, subject to the following conditions:
14 karl  1.3 // 
15 chip  1.1 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
16           // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
17           // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
18           // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
19           // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20           // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
21           // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22           // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23           //
24           //==============================================================================
25           //
26           // Author: Chip Vincent (cvincent@us.ibm.com)
27           //
28 schuur 1.4.2.1 // Modified By:  Adrian Schuur (schuur@de.ibm.com)
29 chip   1.1     //
30                //%/////////////////////////////////////////////////////////////////////////////
31                
32                #ifndef Pegasus_ProviderName_h
33                #define Pegasus_ProviderName_h
34                
35                #include <Pegasus/Common/Config.h>
36                #include <Pegasus/Common/String.h>
37 schuur 1.4.2.1 #include <Pegasus/Common/CIMName.h>
38                #include <Pegasus/Common/CIMObjectPath.h>
39 chip   1.1     
40                #include <Pegasus/Server/Linkage.h>
41                
42                PEGASUS_NAMESPACE_BEGIN
43                
44                class PEGASUS_SERVER_LINKAGE ProviderName
45                {
46                public:
47                    ProviderName(void);
48                
49                    ProviderName(
50 chip   1.2             const String & logicalName,
51                        const String & physicalName,
52                        const String & interfaceName,
53 schuur 1.4.2.1         const Uint32 capabilities,
54                        const CIMName & method=CIMName());
55 chip   1.1     
56 schuur 1.4.2.1     ProviderName(
57                        const CIMNamespaceName & nameSpace,
58                        const CIMName & className,
59                        const Uint32 capabilities,
60                        const CIMName & method=CIMName());
61                
62                     ProviderName(
63                        const CIMObjectPath & path,
64                        const Uint32 capabilities,
65                        const CIMName & method=CIMName());
66 chip   1.1     
67 schuur 1.4.2.1    ~ProviderName(void);
68 chip   1.1     
69 schuur 1.4.2.1     String getLogicalName() const;
70                    String getPhysicalName() const;
71 chip   1.1         void setPhysicalName(const String & physicalName);
72                    String getInterfaceName(void) const;
73                    Uint32 getCapabilitiesMask(void) const;
74 schuur 1.4.2.1     CIMName getMethodName(void) const;
75                    CIMNamespaceName getNameSpace() const;
76                    CIMName getClassName() const;
77 chip   1.1     
78                private:
79 schuur 1.4.2.1     CIMNamespaceName _nameSpace;
80                    CIMName _className;
81 chip   1.1         String _physicalName;
82                    String _interfaceName;
83                    String _logicalName;
84                    Uint32 _capabilities;
85 schuur 1.4.2.1 
86                    CIMName _method;
87 chip   1.1     
88                };
89                
90                PEGASUS_NAMESPACE_END
91                
92                #endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2