OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OperDhcpOptions Class Reference

#include <oper_dhcp_options.h>

Classes

struct  HostRoute
 

Public Types

typedef std::vector
< autogen::DhcpOptionType > 
DhcpOptionsList
 
typedef std::vector
< autogen::RouteType > 
HostOptionsList
 

Public Member Functions

 OperDhcpOptions ()
 
 OperDhcpOptions (const OperDhcpOptions &options)
 
virtual ~OperDhcpOptions ()
 
const DhcpOptionsListdhcp_options () const
 
const std::vector< HostRoute > & host_routes () const
 
void set_options (const DhcpOptionsList &options)
 
void set_host_routes (const HostOptionsList &host_routes)
 
void update_host_routes (const HostOptionsList &host_routes)
 
bool are_dhcp_options_set () const
 
bool are_host_routes_set () const
 

Private Attributes

DhcpOptionsList dhcp_options_
 
std::vector< HostRoutehost_routes_
 

Detailed Description

Definition at line 16 of file oper_dhcp_options.h.

Member Typedef Documentation

typedef std::vector<autogen::DhcpOptionType> OperDhcpOptions::DhcpOptionsList

Definition at line 18 of file oper_dhcp_options.h.

typedef std::vector<autogen::RouteType> OperDhcpOptions::HostOptionsList

Definition at line 19 of file oper_dhcp_options.h.

Constructor & Destructor Documentation

OperDhcpOptions::OperDhcpOptions ( )
inline

Definition at line 46 of file oper_dhcp_options.h.

OperDhcpOptions::OperDhcpOptions ( const OperDhcpOptions options)
inline

Definition at line 47 of file oper_dhcp_options.h.

virtual OperDhcpOptions::~OperDhcpOptions ( )
inlinevirtual

Definition at line 51 of file oper_dhcp_options.h.

Member Function Documentation

bool OperDhcpOptions::are_dhcp_options_set ( ) const
inline

Definition at line 78 of file oper_dhcp_options.h.

bool OperDhcpOptions::are_host_routes_set ( ) const
inline

Definition at line 81 of file oper_dhcp_options.h.

const DhcpOptionsList& OperDhcpOptions::dhcp_options ( ) const
inline

Definition at line 53 of file oper_dhcp_options.h.

const std::vector<HostRoute>& OperDhcpOptions::host_routes ( ) const
inline

Definition at line 54 of file oper_dhcp_options.h.

void OperDhcpOptions::set_host_routes ( const HostOptionsList host_routes)
inline

Definition at line 56 of file oper_dhcp_options.h.

Here is the call graph for this function:

void OperDhcpOptions::set_options ( const DhcpOptionsList options)
inline

Definition at line 55 of file oper_dhcp_options.h.

void OperDhcpOptions::update_host_routes ( const HostOptionsList host_routes)
inline

Definition at line 60 of file oper_dhcp_options.h.

Here is the call graph for this function:

Member Data Documentation

DhcpOptionsList OperDhcpOptions::dhcp_options_
private

Definition at line 86 of file oper_dhcp_options.h.

std::vector<HostRoute> OperDhcpOptions::host_routes_
private

Definition at line 87 of file oper_dhcp_options.h.


The documentation for this class was generated from the following file: