Make a member a composition relationship.  
 More...
Make a member a composition relationship. 
Definition at line 128 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 {"composition"} | 
|   | 
◆ from_string()
  
  
      
        
          | std::shared_ptr< decorator > clanguml::decorators::composition::from_string  | 
          ( | 
          std::string_view  | 
          c | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Definition at line 157 of file decorators.cc.
  158{
  159    auto res = std::make_shared<composition>();
  161 
  162    res->diagrams = toks.diagrams;
  163    res->multiplicity = toks.param;
  164 
  165    return res;
  166}
 
 
 
◆ label
  
  
      
        
          | const std::string clanguml::decorators::composition::label {"composition"} | 
         
       
   | 
  
inlinestatic   | 
  
 
 
The documentation for this struct was generated from the following files: