Make a member an association relationship.
More...
Make a member an association relationship.
Definition at line 137 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 {"association"} |
|
◆ from_string()
std::shared_ptr< decorator > clanguml::decorators::association::from_string |
( |
std::string_view |
c | ) |
|
|
static |
Definition at line 168 of file decorators.cc.
169{
170 auto res = std::make_shared<association>();
172
173 res->diagrams = toks.diagrams;
174 res->multiplicity = toks.param;
175
176 return res;
177}
◆ label
const std::string clanguml::decorators::association::label {"association"} |
|
inlinestatic |
The documentation for this struct was generated from the following files: