OW_NAMESPACE::CIMOMInfo Class Reference

A CIMOMInfo object represents information about a CIMOM that is known via a discovery mechanism (slp). More...

#include <OW_CIMOMInfo.hpp>

Collaboration diagram for OW_NAMESPACE::CIMOMInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

String getURL () const
 Get a URL that can be used to access the CIMOM.
void setURL (const String &url)
const String operator[] (const String &key) const
 The subscript operator can be used to access the various attributes associated with a CIMOM.
Stringoperator[] (const String &key)

Private Attributes

String m_url
Map< String, Stringm_attributes

Detailed Description

A CIMOMInfo object represents information about a CIMOM that is known via a discovery mechanism (slp).

Definition at line 49 of file OW_CIMOMInfo.hpp.


Member Function Documentation

String OW_NAMESPACE::CIMOMInfo::getURL  )  const [inline]
 

Get a URL that can be used to access the CIMOM.

This url is suitable for passing to a HTTPClient ctor.

Returns:
An String containing a URL to the CIMOM.

Definition at line 57 of file OW_CIMOMInfo.hpp.

Referenced by OW_NAMESPACE::operator<(), OW_NAMESPACE::operator==(), and OW_NAMESPACE::registerCIMOMInfo().

String & OW_NAMESPACE::CIMOMInfo::operator[] const String key  ) 
 

Definition at line 57 of file OW_CIMOMInfo.cpp.

References m_attributes.

const String OW_NAMESPACE::CIMOMInfo::operator[] const String key  )  const
 

The subscript operator can be used to access the various attributes associated with a CIMOM.

Definition at line 43 of file OW_CIMOMInfo.cpp.

References OW_NAMESPACE::Map< Key, T, Compare >::end(), OW_NAMESPACE::Map< Key, T, Compare >::find(), and m_attributes.

void OW_NAMESPACE::CIMOMInfo::setURL const String url  )  [inline]
 

Definition at line 58 of file OW_CIMOMInfo.hpp.


Member Data Documentation

Map<String, String> OW_NAMESPACE::CIMOMInfo::m_attributes [private]
 

Definition at line 73 of file OW_CIMOMInfo.hpp.

Referenced by operator[]().

String OW_NAMESPACE::CIMOMInfo::m_url [private]
 

Definition at line 66 of file OW_CIMOMInfo.hpp.


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:13:16 2006 for openwbem by  doxygen 1.4.6