#include <ipv6_address.h>
 | 
| bool  | zero_run (size_t &first, size_t &last) const  | 
|   | 
 | 
| bool TECOMMONEXPORT  | parse (std::string::const_iterator &first, std::string::const_iterator last, ipv6_address &v) | 
|   | Parse IP v6 address, returning whether found or not and advancing first and setting address if found.  More...
  | 
|   | 
Definition at line 52 of file ipv6_address.h.
 
      
        
          | te::common::uri::ipv6_address::ipv6_address  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | te::common::uri::ipv6_address::ipv6_address  | 
          ( | 
          const std::string &  | 
          v | ) | 
           | 
        
      
 
Construct from string. 
Note that the string cannot be empty, it must contain valid chars. 
- Exceptions
 - 
  
    | std::invalid_argument | if invalid  | 
  
   
 
 
      
        
          | bool te::common::uri::ipv6_address::is_null  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | std::string te::common::uri::ipv6_address::string  | 
          ( | 
          bool  | 
          compress = false | ) | 
           const | 
        
      
 
Calculate string representation. 
Leading zeros are dropped, i.e. "3F" instead of "003F". Compress the longest run of 0's into "::" if compress is true. 
 
 
      
        
          | std::ostream& te::common::uri::ipv6_address::write  | 
          ( | 
          std::ostream &  | 
          os,  | 
        
        
           | 
           | 
          bool  | 
          compress = false  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
 
  
  
      
        
          | bool te::common::uri::ipv6_address::zero_run  | 
          ( | 
          size_t &  | 
          first,  | 
         
        
           | 
           | 
          size_t &  | 
          last  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
private   | 
  
 
 
Parse IP v6 address, returning whether found or not and advancing first and setting address if found. 
Does not skip leading space. 
 
 
  
  
      
        
          | unsigned short te::common::uri::ipv6_address::hextets_[8] | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | const char te::common::uri::ipv6_address::SEPARATOR_CHAR | 
         
       
   | 
  
static   | 
  
 
 
The documentation for this class was generated from the following file: