summaryrefslogtreecommitdiff
path: root/ACE/protocols/ace/INet/URLBase.inl
blob: c998e47a3f72dc65b861bd50d819c715b8d87995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
// -*- C++ -*-
//
// $Id$

ACE_BEGIN_VERSIONED_NAMESPACE_DECL

namespace ACE
{
  namespace INet
  {
    ACE_INLINE
    const ACE_CString& URL_Base::get_protocol () const
      {
        return this->get_scheme ();
      }

    ACE_INLINE
    const ACE_CString& URL_Base::get_path () const
      {
        return this->path_;
      }

    ACE_INLINE
    void URL_Base::set_path (const ACE_CString& path)
      {
        this->path_ = path;
      }

    ACE_INLINE
    void URL_Base::set_query (const ACE_CString& /*query*/)
      {
      }

    ACE_INLINE
    void URL_Base::set_fragment (const ACE_CString& /*fragment*/)
      {
      }

    ACE_INLINE
    const ACE_CString& URL_Base::get_query () const
      {
        return empty_;
      }

    ACE_INLINE
    const ACE_CString& URL_Base::get_fragment () const
      {
        return empty_;
      }

    ACE_INLINE
    ACE_CString URL_Base::get_authority () const
      {
        return empty_;
      }

    ACE_INLINE
    const ACE_CString& URL_INetBase::get_host () const
      {
        return this->host_;
      }

    ACE_INLINE
    u_short URL_INetBase::get_port () const
      {
        return this->port_;
      }

    ACE_INLINE
    void URL_INetBase::set_host (const ACE_CString& host)
      {
        this->host_ = host;
      }

    ACE_INLINE
    void URL_INetBase::set_port (u_short port)
      {
        this->port_ = port;
      }

    ACE_INLINE
    const ACE_CString& URL_INetAuthBase::get_user_info () const
      {
        return this->userinfo_;
      }

    ACE_INLINE
    void URL_INetAuthBase::set_user_info (const ACE_CString& userinfo)
      {
        this->userinfo_ = userinfo;
      }
  }
}

ACE_END_VERSIONED_NAMESPACE_DECL