Kea  1.5.0
isc::dhcp::slice< T, S > Class Template Reference

Present a slice of the top of a stack. More...

#include <dhcp4_parser.h>

Public Member Functions

 slice (const S &stack, int range)
 
 slice (const S &stack, int range)
 
const T & operator[] (int i) const
 
const T & operator[] (int i) const
 

Detailed Description

template<typename T, typename S = stack<T>>
class isc::dhcp::slice< T, S >

Present a slice of the top of a stack.

Definition at line 269 of file dhcp4_parser.h.

Constructor & Destructor Documentation

◆ slice() [1/2]

template<typename T, typename S = stack<T>>
isc::dhcp::slice< T, S >::slice ( const S &  stack,
int  range 
)
inline

Definition at line 272 of file dhcp4_parser.h.

◆ slice() [2/2]

template<typename T, typename S = stack<T>>
isc::dhcp::slice< T, S >::slice ( const S &  stack,
int  range 
)
inline

Definition at line 272 of file dhcp6_parser.h.

Member Function Documentation

◆ operator[]() [1/2]

template<typename T, typename S = stack<T>>
const T& isc::dhcp::slice< T, S >::operator[] ( int  i) const
inline

Definition at line 278 of file dhcp4_parser.h.

◆ operator[]() [2/2]

template<typename T, typename S = stack<T>>
const T& isc::dhcp::slice< T, S >::operator[] ( int  i) const
inline

Definition at line 278 of file dhcp6_parser.h.


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