OpenSDN source code
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

◆ DhcpOptionsList

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

Definition at line 18 of file oper_dhcp_options.h.

◆ HostOptionsList

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

Definition at line 19 of file oper_dhcp_options.h.

Constructor & Destructor Documentation

◆ OperDhcpOptions() [1/2]

OperDhcpOptions::OperDhcpOptions ( )
inline

Definition at line 46 of file oper_dhcp_options.h.

◆ OperDhcpOptions() [2/2]

OperDhcpOptions::OperDhcpOptions ( const OperDhcpOptions options)
inline

Definition at line 47 of file oper_dhcp_options.h.

◆ ~OperDhcpOptions()

virtual OperDhcpOptions::~OperDhcpOptions ( )
inlinevirtual

Definition at line 51 of file oper_dhcp_options.h.

Member Function Documentation

◆ are_dhcp_options_set()

bool OperDhcpOptions::are_dhcp_options_set ( ) const
inline

Definition at line 78 of file oper_dhcp_options.h.

◆ are_host_routes_set()

bool OperDhcpOptions::are_host_routes_set ( ) const
inline

Definition at line 81 of file oper_dhcp_options.h.

◆ dhcp_options()

const DhcpOptionsList& OperDhcpOptions::dhcp_options ( ) const
inline

Definition at line 53 of file oper_dhcp_options.h.

◆ host_routes()

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

Definition at line 54 of file oper_dhcp_options.h.

◆ set_host_routes()

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:

◆ set_options()

void OperDhcpOptions::set_options ( const DhcpOptionsList options)
inline

Definition at line 55 of file oper_dhcp_options.h.

◆ update_host_routes()

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

◆ dhcp_options_

DhcpOptionsList OperDhcpOptions::dhcp_options_
private

Definition at line 86 of file oper_dhcp_options.h.

◆ host_routes_

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: