22 #ifndef __TERRALIB_COMMON_INTERNAL_DOMAIN_NAME_H 
   23 #define __TERRALIB_COMMON_INTERNAL_DOMAIN_NAME_H 
   24 #include "../Config.h" 
   48           bool is_null()
 const {
return string_.empty();} 
 
   49           const std::string& 
string()
 const {
return string_;} 
 
   58           static const char char_class[256]; 
 
   68       bool TECOMMONEXPORT parse(std::string::const_iterator& first, std::string::const_iterator last, domain_name& v);
 
std::ostream & operator<<(std::ostream &os, const authority &v)
Stream out URI authority. 
 
bool is_null() const 
Test if null. 
 
#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. 
 
bool 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...
 
static const char SEPARATOR_CHAR
separator ('.')