22 #ifndef __TERRALIB_COMMON_INTERNAL_IPV6_ADDRESS_H
23 #define __TERRALIB_COMMON_INTERNAL_IPV6_ADDRESS_H
24 #include "../Config.h"
65 std::string string(
bool compress =
false)
const;
68 std::ostream& write(std::ostream& os,
bool compress =
false)
const;
72 bool zero_run(
size_t& first,
size_t& last)
const;
73 unsigned short hextets_[8];
80 bool TECOMMONEXPORT parse(std::string::const_iterator& first, std::string::const_iterator last, ipv6_address& v);
std::ostream & operator<<(std::ostream &os, const authority &v)
Stream out URI authority.
std::ostream & write(std::ostream &os, bool compress=false) const
Stream out.
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...
#define TECOMMONEXPORT
You can use this macro in order to export/import classes and functions from this module.
static const char SEPARATOR_CHAR
separator (':')