Kea 2.5.8
option_definition.h File Reference
#include <dhcp/option.h>
#include <dhcp/option_data_types.h>
#include <dhcp/option_space_container.h>
#include <cc/stamped_element.h>
#include <cc/user_context.h>
#include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/mem_fun.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index/sequenced_index.hpp>
#include <boost/multi_index_container.hpp>
#include <boost/shared_ptr.hpp>
#include <map>
#include <string>
+ Include dependency graph for option_definition.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  isc::dhcp::DuplicateOptionDefinition
 Exception to be thrown when the particular option definition duplicates existing option definition. More...
 
class  isc::dhcp::InvalidOptionValue
 Exception to be thrown when invalid option value has been specified for a particular option definition. More...
 
class  isc::dhcp::MalformedOptionDefinition
 Exception to be thrown when option definition is invalid. More...
 
class  isc::dhcp::OptionDefinition
 Base class representing a DHCP option definition. More...
 
class  isc::dhcp::OptionDefSpaceContainer
 Class of option definition space container. More...
 

Namespaces

namespace  isc
 Defines the logger used by the top-level component of kea-lfc.
 
namespace  isc::dhcp
 

Typedefs

typedef OptionSpaceContainer< OptionDefContainer, OptionDefinitionPtr, std::string > isc::dhcp::BaseOptionDefSpaceContainer
 Base type of option definition space container.
 
typedef boost::multi_index_container< OptionDefinitionPtr, boost::multi_index::indexed_by< boost::multi_index::sequenced<>, boost::multi_index::hashed_non_unique< boost::multi_index::const_mem_fun< OptionDefinition, uint16_t, &OptionDefinition::getCode > >, boost::multi_index::hashed_non_unique< boost::multi_index::const_mem_fun< OptionDefinition, std::string, &OptionDefinition::getName > >, boost::multi_index::ordered_non_unique< boost::multi_index::const_mem_fun< data::BaseStampedElement, boost::posix_time::ptime, &data::StampedElement::getModificationTime > >, boost::multi_index::hashed_non_unique< boost::multi_index::tag< OptionIdIndexTag >, boost::multi_index::const_mem_fun< data::BaseStampedElement, uint64_t, &data::BaseStampedElement::getId > > > > isc::dhcp::OptionDefContainer
 Multi index container for DHCP option definitions.
 
typedef OptionDefContainer::nth_index< 2 >::type isc::dhcp::OptionDefContainerNameIndex
 Type of the index #2 - option name.
 
typedef std::pair< OptionDefContainerNameIndex::const_iterator, OptionDefContainerNameIndex::const_iterator > isc::dhcp::OptionDefContainerNameRange
 Pair of iterators to represent the range of options definitions having the same option name.
 
typedef boost::shared_ptr< OptionDefContainer > isc::dhcp::OptionDefContainerPtr
 Pointer to an option definition container.
 
typedef std::map< std::string, OptionDefContainerPtr > isc::dhcp::OptionDefContainers
 Container that holds option definitions for various option spaces.
 
typedef OptionDefContainer::nth_index< 1 >::type isc::dhcp::OptionDefContainerTypeIndex
 Type of the index #1 - option type.
 
typedef std::pair< OptionDefContainerTypeIndex::const_iterator, OptionDefContainerTypeIndex::const_iterator > isc::dhcp::OptionDefContainerTypeRange
 Pair of iterators to represent the range of options definitions having the same option type value.
 
typedef boost::shared_ptr< OptionDefinition > isc::dhcp::OptionDefinitionPtr
 Pointer to option definition object.
 
typedef std::map< uint32_t, OptionDefContainerPtr > isc::dhcp::VendorOptionDefContainers
 Container that holds various vendor option containers.