12             type(_type), a(_a), b(_b){}
 
   15         vector<string> s_vec = 
split(s_addr, 
'.');
 
   16         if(s_vec.size() != 3) {
 
   19             type = atoi(s_vec[0].c_str());
 
   20             a = atoi(s_vec[1].c_str());
 
   21             b = atoi(s_vec[2].c_str());
 
   29         if(
a < o.
a) { 
return true; }
 
   30         if(
a > o.
a) { 
return false;}
 
   32         if(
b < o.
b) { 
return true; }
 
   46         return to_string (
type) + 
"." +to_string (
a)  + 
"." +to_string (
b);
 
   50       o << a.
type << 
"." << a.
a << 
"."<<a.
b;
 
bool operator!=(const DCAddr &n) const 
std::vector< std::string > & split(const std::string &s, char delim, std::vector< std::string > &elems)
bool operator==(const DCAddr &n) const 
bool operator<(const DCAddr &n) const 
std::ostream & operator<<(std::ostream &o, const DCAddr &a)