#include <OWBI1_CIMUrl.hpp>
Inheritance diagram for OWBI1::CIMUrl:


Public Types | |
| typedef COWIntrusiveReference< URLData > CIMUrl::* | safe_bool |
Public Member Functions | |
| CIMUrl () | |
| Create a new CIMUrl object. | |
| CIMUrl (CIMNULL_t) | |
| Create a NULL CIMUrl object. | |
| CIMUrl (const String &spec) | |
| Create a new CIMUrl object from a URL string (i.e. | |
| CIMUrl (const String &protocol, const String &host, const String &file, Int32 port=0) | |
| Create a new CIMUrl object. | |
| CIMUrl (const CIMUrl &arg) | |
| Copy constructor. | |
| CIMUrl (const CIMUrl &context, const String &spec) | |
| Create a new CIMUrl object. | |
| ~CIMUrl () | |
| Destroy this CIMUrl object. | |
| virtual void | setNull () |
| Set this to a null object. | |
| CIMUrl & | operator= (const CIMUrl &arg) |
| Assignment operator. | |
| operator safe_bool () const | |
| bool | operator! () const |
| bool | equals (const CIMUrl &arg) const |
| Check this CIMUrl object against another for equality. | |
| bool | operator== (const CIMUrl &arg) const |
| Equality operator. | |
| bool | operator!= (const CIMUrl &arg) const |
| Inequality operator. | |
| String | getSpec () const |
| String | getProtocol () const |
| CIMUrl & | setProtocol (const String &protocol) |
| Set the protocol component of the url. | |
| String | getHost () const |
| CIMUrl & | setHost (const String &host) |
| Set the host component of the URL. | |
| Int32 | getPort () const |
| String | getFile () const |
| String | getRef () const |
| bool | sameFile (const CIMUrl &arg) const |
| Determine if the file component of this URL is the same as the file component on another URL. | |
| bool | isLocal () const |
| virtual void | readObject (std::istream &istrm) |
| Read this object from an input stream. | |
| virtual void | writeObject (std::ostream &ostrm) const |
| Write this object to an output stream. | |
| virtual String | toString () const |
| virtual String | toMOF () const |
Private Member Functions | |
| void | setLocalHost () |
| void | setComponents () |
| void | buildSpec () |
| void | checkRef () |
| void | setDefaultValues () |
Private Attributes | |
| COWIntrusiveReference< URLData > | m_pdata |
Friends | |
| bool | operator< (const CIMUrl::URLData &x, const CIMUrl::URLData &y) |
| OWBI1_OWBI1PROVIFC_API bool | operator< (const CIMUrl &lhs, const CIMUrl &rhs) |
Classes | |
| struct | URLData |
CIMUrl objects are ref counted and copy on write.
Definition at line 52 of file OWBI1_CIMUrl.hpp.
|
|
Definition at line 113 of file OWBI1_CIMUrl.hpp. |
|
|
Create a new CIMUrl object.
Definition at line 78 of file OWBI1_CIMUrl.cpp. References setDefaultValues(). |
|
|
Create a NULL CIMUrl object.
Definition at line 85 of file OWBI1_CIMUrl.cpp. |
|
|
Create a new CIMUrl object from a URL string (i.e.
Definition at line 91 of file OWBI1_CIMUrl.cpp. References m_pdata, and setComponents(). |
|
||||||||||||||||||||
|
Create a new CIMUrl object.
Definition at line 99 of file OWBI1_CIMUrl.cpp. References m_pdata, and setDefaultValues(). |
|
|
Copy constructor.
Definition at line 132 of file OWBI1_CIMUrl.cpp. |
|
||||||||||||
|
Create a new CIMUrl object. Creates an CIMUrl by parsing the specification spec within a specified context. If the context argument is not null and the spec argument is a partial URL specification, then any of the strings missing components are inherited from the context argument.
Definition at line 111 of file OWBI1_CIMUrl.cpp. References context, m_pdata, and setComponents(). |
|
|
Destroy this CIMUrl object.
Definition at line 137 of file OWBI1_CIMUrl.cpp. |
|
|
Definition at line 328 of file OWBI1_CIMUrl.cpp. References m_pdata. Referenced by setHost(), and setProtocol(). |
|
|
Definition at line 313 of file OWBI1_CIMUrl.cpp. References m_pdata, and OWBI1::String::npos. |
|
|
Check this CIMUrl object against another for equality.
Definition at line 236 of file OWBI1_CIMUrl.cpp. References m_pdata. |
|
|
Definition at line 167 of file OWBI1_CIMUrl.cpp. References m_pdata. |
|
|
Definition at line 161 of file OWBI1_CIMUrl.cpp. References m_pdata. |
|
|
Definition at line 164 of file OWBI1_CIMUrl.cpp. References m_pdata. |
|
|
Definition at line 158 of file OWBI1_CIMUrl.cpp. References m_pdata. |
|
|
Definition at line 170 of file OWBI1_CIMUrl.cpp. References m_pdata. |
|
|
Definition at line 155 of file OWBI1_CIMUrl.cpp. References m_pdata. |
|
|
Definition at line 173 of file OWBI1_CIMUrl.cpp. References m_pdata. Referenced by OWBI1::CIMObjectPath::toString(). |
|
|
Definition at line 114 of file OWBI1_CIMUrl.hpp. References m_pdata. |
|
|
Definition at line 116 of file OWBI1_CIMUrl.hpp. |
|
|
Inequality operator.
Definition at line 137 of file OWBI1_CIMUrl.hpp. |
|
|
Assignment operator.
Definition at line 142 of file OWBI1_CIMUrl.cpp. References m_pdata. |
|
|
Equality operator.
Definition at line 129 of file OWBI1_CIMUrl.hpp. |
|
|
Read this object from an input stream.
Implements OWBI1::SerializableIFC. |
|
|
Determine if the file component of this URL is the same as the file component on another URL.
Definition at line 247 of file OWBI1_CIMUrl.cpp. References m_pdata. |
|
|
Definition at line 257 of file OWBI1_CIMUrl.cpp. References m_pdata. Referenced by CIMUrl(). |
|
|
Definition at line 195 of file OWBI1_CIMUrl.cpp. References m_pdata. Referenced by CIMUrl(). |
|
|
Set the host component of the URL.
Definition at line 218 of file OWBI1_CIMUrl.cpp. References buildSpec(), m_pdata, and setLocalHost(). |
|
|
Definition at line 180 of file OWBI1_CIMUrl.cpp. References m_pdata. Referenced by setHost(). |
|
|
Set this to a null object.
Implements OWBI1::CIMBase. Definition at line 149 of file OWBI1_CIMUrl.cpp. References m_pdata. |
|
|
Set the protocol component of the url.
Definition at line 227 of file OWBI1_CIMUrl.cpp. References buildSpec(), and m_pdata. |
|
|
Implements OWBI1::CIMBase. Definition at line 377 of file OWBI1_CIMUrl.cpp. |
|
|
Implements OWBI1::CIMBase. Definition at line 176 of file OWBI1_CIMUrl.cpp. References m_pdata. |
|
|
Write this object to an output stream.
Implements OWBI1::SerializableIFC. |
|
||||||||||||
|
Definition at line 379 of file OWBI1_CIMUrl.cpp. |
|
||||||||||||
|
Definition at line 72 of file OWBI1_CIMUrl.cpp. |
|
|
Definition at line 216 of file OWBI1_CIMUrl.hpp. Referenced by buildSpec(), checkRef(), CIMUrl(), equals(), getFile(), getHost(), getPort(), getProtocol(), getRef(), getSpec(), isLocal(), operator safe_bool(), OWBI1::operator<(), operator=(), sameFile(), setComponents(), setDefaultValues(), setHost(), setLocalHost(), setNull(), setProtocol(), and toString(). |
1.4.6