Common methods for PlantUML and MermaidJS class diagrams. More...
Common methods for PlantUML and MermaidJS class diagrams.
Definition at line 43 of file text_diagram_strategy.h.
#include <text_diagram_strategy.h>
Public Types | |
using | method_groups_t = std::map< std::string, std::vector< model::class_method > > |
Public Member Functions | |
text_diagram_strategy (G &generator, bool generate_packages) | |
void | generate (const package &p, std::ostream &ostr) const |
void | generate_top_level_elements (std::ostream &ostr) const |
void | generate_relationships (const package &p, std::ostream &ostr) const |
void | generate_relationships (std::ostream &ostr) const |
void | generate_groups (std::ostream &ostr) const |
template<typename T > | |
void | sort_class_elements (std::vector< T > &elements) const |
void | generate_method_groups (const method_groups_t &methods, std::ostream &ostr) const |
method_groups_t | group_methods (const std::vector< model::class_method > &methods) const |
Group class methods based on method type. | |
Private Attributes | |
const std::vector< std::string > | method_groups_ |
G & | generator_ |
common::generators::nested_element_stack< common::model::element > | together_group_stack_ |
using clanguml::class_diagram::generators::text_diagram_strategy< G >::method_groups_t = std::map<std::string, std::vector<model::class_method> > |
Definition at line 45 of file text_diagram_strategy.h.
|
inline |
Definition at line 48 of file text_diagram_strategy.h.
|
inline |
Definition at line 54 of file text_diagram_strategy.h.
|
inline |
Definition at line 156 of file text_diagram_strategy.h.
|
inline |
Definition at line 186 of file text_diagram_strategy.h.
|
inline |
Definition at line 120 of file text_diagram_strategy.h.
|
inline |
Definition at line 142 of file text_diagram_strategy.h.
|
inline |
Definition at line 95 of file text_diagram_strategy.h.
|
inline |
Group class methods based on method type.
methods | List of class methods. |
Definition at line 209 of file text_diagram_strategy.h.
|
inline |
Definition at line 175 of file text_diagram_strategy.h.
|
private |
Definition at line 240 of file text_diagram_strategy.h.
|
private |
Definition at line 237 of file text_diagram_strategy.h.
|
mutableprivate |
Definition at line 242 of file text_diagram_strategy.h.