0.5.4
C++ to UML diagram generator based on Clang
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
clanguml::config::relationship_hint_t Struct Reference

Detailed Description

Definition at line 481 of file config.h.

#include <config.h>

Public Member Functions

 relationship_hint_t (common::model::relationship_t def=common::model::relationship_t::kAggregation)
 
common::model::relationship_t get (unsigned int argument_index) const
 

Public Attributes

std::map< unsigned int, common::model::relationship_targument_hints
 
common::model::relationship_t default_hint
 

Constructor & Destructor Documentation

◆ relationship_hint_t()

clanguml::config::relationship_hint_t::relationship_hint_t ( common::model::relationship_t  def = common::model::relationship_t::kAggregation)
inline

Definition at line 485 of file config.h.

487 : default_hint{def}
488 {
489 }

Member Function Documentation

◆ get()

common::model::relationship_t clanguml::config::relationship_hint_t::get ( unsigned int  argument_index) const
inline

Definition at line 491 of file config.h.

492 {
493 if (argument_hints.count(argument_index) > 0)
494 return argument_hints.at(argument_index);
495
496 return default_hint;
497 }

Member Data Documentation

◆ argument_hints

std::map<unsigned int, common::model::relationship_t> clanguml::config::relationship_hint_t::argument_hints

Definition at line 482 of file config.h.

◆ default_hint

common::model::relationship_t clanguml::config::relationship_hint_t::default_hint

Definition at line 483 of file config.h.


The documentation for this struct was generated from the following file: