Web framework C++  2.0.0
Simple web framework on c++ designed to easily create web pages, etc
Public Member Functions | List of all members
CookieEntityDefault Class Reference

Cookie entity with default params. More...

#include <cookie_entity_default.h>

Inheritance diagram for CookieEntityDefault:
Inheritance graph
Collaboration diagram for CookieEntityDefault:
Collaboration graph

Public Member Functions

 CookieEntityDefault (const char *value)
 
void setValue (std::string value) override
 
std::string toString () override
 
std::unique_ptr< Entityclone () override
 
- Public Member Functions inherited from Entity
virtual ~Entity ()=default
 

Detailed Description

Cookie entity with default params.

Concrete prototype of cookie entity with all default fields

Constructor & Destructor Documentation

CookieEntityDefault::CookieEntityDefault ( const char *  value)
explicit

Create default cookie entity

Parameters
valueserialized value

Member Function Documentation

std::unique_ptr<Entity> CookieEntityDefault::clone ( )
overridevirtual

Clone default cookie entity

Returns
new CookieEntityDefault object

Implements Entity.

void CookieEntityDefault::setValue ( std::string  value)
overridevirtual

Set value of cookie

Parameters
valueserialized data

Implements Entity.

std::string CookieEntityDefault::toString ( )
overridevirtual

Serialize this cookie to string

Returns
serialized cookie value

Implements Entity.


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