BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | Friends | List of all members
fc::url Class Reference

#include <url.hpp>

Public Member Functions

 url ()
 
 url (const string &u)
 
 url (const url &c)
 
 url (url &&c)
 
 url (mutable_url &&c)
 
 url (const mutable_url &c)
 
 ~url ()
 
urloperator= (const url &c)
 
urloperator= (url &&c)
 
urloperator= (const mutable_url &c)
 
urloperator= (mutable_url &&c)
 
bool operator== (const url &cmp) const
 
 operator string () const
 
string proto () const
 
ostring host () const
 
ostring user () const
 
ostring pass () const
 
opath path () const
 
ovariant_object args () const
 
fc::optional< uint16_t > port () const
 

Friends

class mutable_url
 

Detailed Description

Used to pass an immutable URL and query its parts.

Definition at line 22 of file url.hpp.

Constructor & Destructor Documentation

◆ url() [1/6]

fc::url::url ( )

Definition at line 116 of file url.cpp.

◆ url() [2/6]

fc::url::url ( const string &  u)
explicit

Definition at line 104 of file url.cpp.

◆ url() [3/6]

fc::url::url ( const url c)

Definition at line 120 of file url.cpp.

◆ url() [4/6]

fc::url::url ( url &&  c)

Definition at line 123 of file url.cpp.

◆ url() [5/6]

fc::url::url ( mutable_url &&  c)

Definition at line 134 of file url.cpp.

◆ url() [6/6]

fc::url::url ( const mutable_url c)

Definition at line 129 of file url.cpp.

◆ ~url()

fc::url::~url ( )

Definition at line 138 of file url.cpp.

Member Function Documentation

◆ args()

ovariant_object fc::url::args ( ) const

Definition at line 186 of file url.cpp.

◆ host()

ostring fc::url::host ( ) const

Definition at line 170 of file url.cpp.

◆ operator string()

fc::url::operator string ( ) const

Definition at line 87 of file url.cpp.

◆ operator=() [1/4]

url & fc::url::operator= ( const mutable_url c)

Definition at line 155 of file url.cpp.

◆ operator=() [2/4]

url & fc::url::operator= ( const url c)

Definition at line 140 of file url.cpp.

◆ operator=() [3/4]

url & fc::url::operator= ( mutable_url &&  c)

Definition at line 160 of file url.cpp.

◆ operator=() [4/4]

url & fc::url::operator= ( url &&  c)

Definition at line 146 of file url.cpp.

◆ operator==()

bool fc::url::operator== ( const url cmp) const

◆ pass()

ostring fc::url::pass ( ) const

Definition at line 178 of file url.cpp.

◆ path()

opath fc::url::path ( ) const

Definition at line 182 of file url.cpp.

◆ port()

fc::optional< uint16_t > fc::url::port ( ) const

Definition at line 190 of file url.cpp.

◆ proto()

string fc::url::proto ( ) const

Definition at line 166 of file url.cpp.

◆ user()

ostring fc::url::user ( ) const

Definition at line 174 of file url.cpp.

Friends And Related Function Documentation

◆ mutable_url

friend class mutable_url
friend

Definition at line 53 of file url.hpp.


The documentation for this class was generated from the following files: