Kea 2.7.0
isc::http::CallSetGenericBody Struct Reference

Encapsulates the boolean value indicating if the HttpResponse constructor should call its setGenericBody method during construction. More...

#include <response.h>

Public Member Functions

 CallSetGenericBody (const bool set)
 Constructor.
 

Static Public Member Functions

static const CallSetGenericBodyno ()
 Returns encapsulated false.
 
static const CallSetGenericBodyyes ()
 Returns encapsulated true.
 

Public Attributes

bool set_
 A storage for the boolean flag.
 

Detailed Description

Encapsulates the boolean value indicating if the HttpResponse constructor should call its setGenericBody method during construction.

Definition at line 52 of file response.h.

Constructor & Destructor Documentation

◆ CallSetGenericBody()

isc::http::CallSetGenericBody::CallSetGenericBody ( const bool set)
inlineexplicit

Constructor.

Parameters
setA boolean value indicating if the method should be called or not.

Definition at line 58 of file response.h.

Member Function Documentation

◆ no()

static const CallSetGenericBody & isc::http::CallSetGenericBody::no ( )
inlinestatic

Returns encapsulated false.

Definition at line 69 of file response.h.

References no().

Referenced by no().

+ Here is the call graph for this function:

◆ yes()

static const CallSetGenericBody & isc::http::CallSetGenericBody::yes ( )
inlinestatic

Returns encapsulated true.

Definition at line 63 of file response.h.

References yes().

Referenced by yes().

+ Here is the call graph for this function:

Member Data Documentation

◆ set_

bool isc::http::CallSetGenericBody::set_

A storage for the boolean flag.

Definition at line 75 of file response.h.


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