Web framework C++  2.0.0
Simple web framework on c++ designed to easily create web pages, etc
cookie_entity_default.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 #include "entity.h"
5 
11 class CookieEntityDefault : public Entity {
12  std::string value;
13 public:
20  explicit CookieEntityDefault(const char * value);
21 
28  void setValue(std::string value) override;
29 
36  std::string toString() override;
37 
44  std::unique_ptr<Entity> clone() override;
45 };
std::string toString() override
CookieEntityDefault(const char *value)
Cloneable interface of object wth value and serializable method.
Definition: entity.h:10
Cookie entity with default params.
Definition: cookie_entity_default.h:11
void setValue(std::string value) override
std::unique_ptr< Entity > clone() override