Web framework C++  2.0.0
Simple web framework on c++ designed to easily create web pages, etc
entity.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <memory>
4 
10 class Entity {
11 public:
15  virtual ~Entity() = default;
16 
23  virtual void setValue(std::string value) = 0;
24 
31  virtual std::string toString() = 0;
32 
39  virtual std::unique_ptr<Entity> clone() = 0;
40 };
virtual std::string toString()=0
Cloneable interface of object wth value and serializable method.
Definition: entity.h:10
virtual std::unique_ptr< Entity > clone()=0
virtual void setValue(std::string value)=0
virtual ~Entity()=default