Kea: isc::dhcp::HostPageSize Class Reference

| Kea 2.2.0

Public Member Functions | Public Attributes | List of all members
isc::dhcp::HostPageSize Class Reference

Wraps value holding size of the page with host reservations. More...

`#include <base_host_data_source.h>`

## Public Member Functions
| HostPageSize (const size_t page_size)
| Constructor. More...

## Public Attributes
const size_t | page_size_
| Holds page size. More...

## Detailed Description

Wraps value holding size of the page with host reservations.

Definition at line 45 of file base_host_data_source.h.

## Constructor & Destructor Documentation

## ◆ HostPageSize()

isc::dhcp::HostPageSize::HostPageSize | ( | const size_t | page_size | ) |
| inlineexplicit

Constructor.

Parameters

  page_size | page size value.

Exceptions

  OutOfRange | if page size is 0 or greater than uint32_t numeric limit.

Definition at line 53 of file base_host_data_source.h.

References isc_throw, and page_size_.

## Member Data Documentation

## ◆ page_size_

const size_t isc::dhcp::HostPageSize::page_size_

Holds page size.

Definition at line 63 of file base_host_data_source.h.

Referenced by HostPageSize(), isc::dhcp::MySqlHostDataSource::getPage4(), isc::dhcp::PgSqlHostDataSource::getPage4(), isc::dhcp::MySqlHostDataSource::getPage6(), and isc::dhcp::PgSqlHostDataSource::getPage6().

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

- base_host_data_source.h