Represents a note diagram element.
More...
Represents a note diagram element.
Definition at line 72 of file decorators.h.
#include <decorators.h>
|
static std::shared_ptr< decorator > | from_string (std::string_view c) |
|
static std::shared_ptr< decorator > | from_string (std::string_view c) |
| Create decorator of specific type based on it's string representation.
|
|
|
static const std::string | label {"note"} |
|
◆ from_string()
std::shared_ptr< decorator > clanguml::decorators::note::from_string |
( |
std::string_view |
c | ) |
|
|
static |
Definition at line 109 of file decorators.cc.
110{
111 auto res = std::make_shared<note>();
113
114 res->diagrams = toks.diagrams;
115
116 if (!toks.param.empty())
117 res->position = toks.param;
118
119 res->text = toks.text;
120
121 return res;
122}
◆ label
const std::string clanguml::decorators::note::label {"note"} |
|
inlinestatic |
◆ position
std::string clanguml::decorators::note::position {"left"} |
◆ text
std::string clanguml::decorators::note::text |
The documentation for this struct was generated from the following files: