summaryrefslogtreecommitdiff
path: root/apps/JAWS/clients/Caching/URL_Properties.i
diff options
context:
space:
mode:
Diffstat (limited to 'apps/JAWS/clients/Caching/URL_Properties.i')
-rw-r--r--apps/JAWS/clients/Caching/URL_Properties.i197
1 files changed, 0 insertions, 197 deletions
diff --git a/apps/JAWS/clients/Caching/URL_Properties.i b/apps/JAWS/clients/Caching/URL_Properties.i
deleted file mode 100644
index 63722c4e6f8..00000000000
--- a/apps/JAWS/clients/Caching/URL_Properties.i
+++ /dev/null
@@ -1,197 +0,0 @@
-/* -*- C++ -*- */
-
-// $Id$
-
-ACE_INLINE size_t
-ACE_WString_Helper::bsize (const ACE_WString *wstr)
-{
- return (wstr->length () + 1) * sizeof (ACE_USHORT16);
-}
-
-ACE_INLINE
-ACE_URL_Property::ACE_URL_Property (const char *name, const char *value)
-{
- ACE_NEW (this->name_, ACE_WString (name));
- ACE_NEW (this->value_, ACE_WString (value));
-}
-
-ACE_INLINE
-ACE_URL_Property::ACE_URL_Property (const ACE_USHORT16 *name,
- const ACE_USHORT16 *value)
-{
- ACE_NEW (this->name_, ACE_WString (name));
- ACE_NEW (this->value_, ACE_WString (value));
-}
-
-ACE_INLINE
-ACE_URL_Property::ACE_URL_Property (const ACE_URL_Property &p)
-{
- ACE_NEW (this->name_, ACE_WString (*p.name_));
- ACE_NEW (this->value_, ACE_WString (*p.value_));
-}
-
-ACE_INLINE ACE_URL_Property &
-ACE_URL_Property::operator= (const ACE_URL_Property &rhs)
-{
- if (this != &rhs)
- {
- delete this->name_;
- delete this->value_;
- ACE_NEW_RETURN (this->name_, ACE_WString(*rhs.name_), *this);
- ACE_NEW_RETURN (this->value_, ACE_WString(*rhs.value_), *this);
- }
- return *this;
-}
-
-ACE_INLINE int
-ACE_URL_Property::operator== (const ACE_URL_Property &rhs) const
-{
- if (this == &rhs || *this->name_ != *rhs.name_ ||
- *this->value_ != *rhs.value_)
- return 1;
- else
- return 0;
-}
-
-ACE_INLINE int
-ACE_URL_Property::operator!= (const ACE_URL_Property &rhs) const
-{
- return !(*this == rhs);
-}
-
-ACE_INLINE ACE_WString *
-ACE_URL_Property::name_rep (void)
-{
- return this->name_;
-}
-
-ACE_INLINE const ACE_WString *
-ACE_URL_Property::name (void) const
-{
- return this->name_;
-}
-
-ACE_INLINE void
-ACE_URL_Property::name (const char *n)
-{
- delete this->name_;
- ACE_NEW (this->name_, ACE_WString (n));
-}
-
-ACE_INLINE void
-ACE_URL_Property::name (const ACE_USHORT16 *n)
-{
- delete this->name_;
- ACE_NEW (this->name_, ACE_WString (n));
-}
-
-ACE_INLINE ACE_WString *
-ACE_URL_Property::value_rep (void)
-{
- return this->value_;
-}
-
-ACE_INLINE const ACE_WString *
-ACE_URL_Property::value (void) const
-{
- return this->value_;
-}
-
-ACE_INLINE void
-ACE_URL_Property::value (const char *v)
-{
- delete this->value_;
- ACE_NEW (this->value_, ACE_WString (v));
-}
-
-ACE_INLINE void
-ACE_URL_Property::value (const ACE_USHORT16 *v)
-{
- delete this->value_;
- ACE_NEW (this->value_, ACE_WString (v));
-}
-
-
-ACE_INLINE size_t
-ACE_URL_Property::bsize (void) const
-{
- size_t len = 2;
- if (this->name_ != 0)
- len += this->name_->length ();
- if (this->value_ != 0)
- len += this->value_->length ();
- return len * sizeof (ACE_USHORT16);
-}
-
-ACE_INLINE
-ACE_URL_Offer::ACE_URL_Offer (const size_t size, const char *url)
- : prop_ (size)
-{
- ACE_NEW (this->url_, ACE_WString (url));
-}
-
-ACE_INLINE ACE_URL_Offer &
-ACE_URL_Offer::operator= (const ACE_URL_Offer &rhs)
-{
- if (this != &rhs)
- {
- *this->url_ = *rhs.url_;
- this->prop_ = rhs.prop_;
- }
- return *this;
-}
-
-ACE_INLINE int
-ACE_URL_Offer::operator== (const ACE_URL_Offer &rhs) const
-{
- if (this == &rhs
- && this->url_ == rhs.url_
- && this->prop_ == rhs.prop_)
- return 1;
- else
- return 0;
-}
-
-ACE_INLINE int
-ACE_URL_Offer::operator!= (const ACE_URL_Offer &rhs) const
-{
- return !(*this == rhs);
-}
-
-ACE_INLINE ACE_WString *
-ACE_URL_Offer::url_rep (void)
-{
- return this->url_;
-}
-
-ACE_INLINE const ACE_WString *
-ACE_URL_Offer::url (void) const
-{
- return this->url_;
-}
-
-ACE_INLINE void
-ACE_URL_Offer::url (const ACE_USHORT16 *url)
-{
- delete this->url_;
- ACE_NEW (this->url_, ACE_WString (url));
-}
-
-ACE_INLINE void
-ACE_URL_Offer::url (const char *url)
-{
- delete this->url_;
- ACE_NEW (this->url_, ACE_WString (url));
-}
-
-ACE_INLINE ACE_URL_Property_Seq &
-ACE_URL_Offer::url_properties (void)
-{
- return this->prop_;
-}
-
-ACE_INLINE void
-ACE_URL_Offer::url_properties (const ACE_URL_Property_Seq &prop)
-{
- this->prop_ = prop;
-}