Represents an element that can be rendered in text. All decorators and the core element class implement this interface. More...
#include <Decorator_Classes.h>


Public Types | |
| using | shared_ptr_t = std::shared_ptr< IRenderElement > |
| An alias to simplify syntax for this shared pointer. | |
Public Member Functions | |
| virtual | ~IRenderElement () |
| virtual std::string | Render ()=0 |
| Render this element as a string. | |
Represents an element that can be rendered in text. All decorators and the core element class implement this interface.
Definition at line 29 of file Decorator_Classes.h.
| using shared_ptr_t = std::shared_ptr<IRenderElement> |
An alias to simplify syntax for this shared pointer.
Definition at line 34 of file Decorator_Classes.h.
|
inlinevirtual |
Definition at line 36 of file Decorator_Classes.h.
|
pure virtual |
Render this element as a string.
Implemented in Decorator, WhiteBackgroundDecorator, UnderlineDecorator, RedForegroundDecorator, and TextElement.