22 #ifndef __TERRALIB_COMMON_INTERNAL_SCHEME_H 23 #define __TERRALIB_COMMON_INTERNAL_SCHEME_H 24 #include "../Config.h" 48 scheme(
const std::string& v);
49 bool empty()
const {
return is_null();}
50 bool is_null()
const {
return string_.empty();}
51 const std::string&
string()
const {
return string_;}
53 friend bool TECOMMONEXPORT parse(std::string::const_iterator& first, std::string::const_iterator last,
scheme& v,
char* endc);
61 bool TECOMMONEXPORT parse(std::string::const_iterator& first, std::string::const_iterator last, scheme& v,
char* endc = 0);
std::ostream & operator<<(std::ostream &os, const authority &v)
Stream out URI authority.
bool TECOMMONEXPORT parse(std::string::const_iterator &first, std::string::const_iterator last, authority &v)
Parse URI authority, returning whether found or not and advancing first and setting authority if foun...
bool empty() const
Test if null/empty.
bool is_null() const
Test if null/empty.
#define TECOMMONEXPORT
You can use this macro in order to export/import classes and functions from this module.
const std::string & string() const
Get string.