(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           // Modified By:
29           //
30           //%/////////////////////////////////////////////////////////////////////////////
31           
32           #ifndef Pegasus_ProviderName_h
33           #define Pegasus_ProviderName_h
34           
35           #include <Pegasus/Common/Config.h>
36 chip  1.1 #include <Pegasus/Common/String.h>
37           
38           #include <Pegasus/Server/Linkage.h>
39           
40           PEGASUS_NAMESPACE_BEGIN
41           
42           class PEGASUS_SERVER_LINKAGE ProviderName
43           {
44           public:
45               ProviderName(void);
46               //ProviderName(const String & s);
47               /*
48               physicalName - the fully qualified name to the physical component that is responsible for providing
49                   for the object named in objectName.
50           
51               logicalName - the logical name associated with the physical component. It is possible for one physical
52                   component to have one or more logical components.
53           
54               objectName - the relative or fully qualified CIM object name of interest.
55               */
56               ProviderName(
57 chip  1.1         const String & objectName,
58 chip  1.2         const String & logicalName,
59                   const String & physicalName,
60                   const String & interfaceName,
61                   const Uint32 capabilities);
62 chip  1.1 
63               ~ProviderName(void);
64           
65               //String toString(void) const;
66           
67               String getObjectName(void) const;
68               void setObjectName(const String & objectName);
69           
70               String getLogicalName(void) const;
71               void setLogicalName(const String & logicalName);
72           
73               String getPhysicalName(void) const;
74               void setPhysicalName(const String & physicalName);
75           
76               String getInterfaceName(void) const;
77               void setInterfaceName(const String & interfaceName);
78           
79               Uint32 getCapabilitiesMask(void) const;
80               void setCapabilitiesMask(const Uint32 capabilities);
81           
82           private:
83 chip  1.1     String _physicalName;
84               String _interfaceName;
85           
86               String _logicalName;
87               String _objectName;
88           
89               Uint32 _capabilities;
90           
91           };
92           
93           PEGASUS_NAMESPACE_END
94           
95           #endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2