Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HostID.h
Go to the documentation of this file.
1 /*
2  * Dibbler - a portable DHCPv6
3  *
4  * authors: Tomasz Mrugalski <thomson@klub.com.pl>
5  * Marek Senderski <msend@o2.pl>
6  *
7  * released under GNU GPL v2 only licence
8  */
9 
10 #ifndef STATIONID_H_
11 #define STATIONID_H_
12 
13 #include "SmartPtr.h"
14 #include "IPv6Addr.h"
15 #include "DUID.h"
16 
17 #include <iostream>
18 #include <iomanip>
19 
20 class THostID
21 {
22  friend std::ostream& operator<<(std::ostream& out, THostID& station);
23 public:
24 
26  THostID(SPtr<TDUID> duid);
27  bool operator==(SPtr<TIPv6Addr> addr);
28  bool operator==(SPtr<TDUID> duid);
29 
30  //THostID(const THostID& info);
31  //~THostID();
32 private:
36 };
37 
38 #endif
39