boost::multi_index::tag<DurationKeyTag>,
boost::multi_index::identity<DurationKey>
>
- /// @todo more indexes start here...
-#if 0
- /// @todo toss this ... did this before I figured out how to use
- /// DurationKey::operator<
- ,
- boost::multi_index::ordered_unique<
- boost::multi_index::tag<KeyTag>,
- boost::multi_index::composite_key<
- MonitoredDuration,
- // The query packet type
- boost::multi_index::const_mem_fun<DurationKey, uint8_t,
- &DurationKey::getQueryType>,
- // The response packet type
- boost::multi_index::const_mem_fun<DurationKey, uint8_t,
- &DurationKey::getResponseType>,
- // The start event label
- boost::multi_index::const_mem_fun<DurationKey, std::string,
- &DurationKey::getStartEventLabel>,
- // The end event label
- boost::multi_index::const_mem_fun<DurationKey, std::string,
- &DurationKey::getEndEventLabel>,
- // The subnet id
- boost::multi_index::const_mem_fun<DurationKey, dhcp::SubnetID,
- &DurationKey::getSubnetId>
- >
- >
-#endif
>
> MonitoredDurationContainer;