Make a member an aggregation relationship.
More...
Make a member an aggregation relationship.
Definition at line 119 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 {"aggregation"} |
|
◆ from_string()
std::shared_ptr< decorator > clanguml::decorators::aggregation::from_string |
( |
std::string_view |
c | ) |
|
|
static |
Definition at line 146 of file decorators.cc.
147{
148 auto res = std::make_shared<aggregation>();
150
151 res->diagrams = toks.diagrams;
152 res->multiplicity = toks.param;
153
154 return res;
155}
◆ label
const std::string clanguml::decorators::aggregation::label {"aggregation"} |
|
inlinestatic |
The documentation for this struct was generated from the following files: