Changes between Version 8 and Version 9 of DhcpLibDesign


Ignore:
Timestamp:
Aug 11, 2011, 2:10:41 PM (6 years ago)
Author:
tomek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DhcpLibDesign

    v8 v9  
    3939    };
    4040}}}
    41   * Q: Do we want to have Addr (common structure for IPv4 and IPv6) or separate Addr4 and Addr6 classes?
     41  * Q: We can have:
     42     1. Addr class (common for IPv4 and IPv6)
     43     2. Separate Addr4 and Addr6 classes?
     44     3. An (empty) Addr class with Addr4 and Addr6 classes derived from it.
     45    Third answer looks most object-oriented, but I see a lot of dynamic_cast<Addr6> ahead. Maybe it would be better to have simple boolean field in base class?
    4246
    4347== Option Structures ==