0.5.4
C++ to UML diagram generator based on Clang
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
clanguml::common::model::stylable_element Class Reference

Diagram elements to which style can be applied. More...

Detailed Description

Diagram elements to which style can be applied.

Definition at line 30 of file stylable_element.h.

#include <stylable_element.h>

Public Member Functions

void set_style (const std::string &style)
 
std::optional< std::string > style () const
 

Private Attributes

std::optional< std::string > style_
 

Member Function Documentation

◆ set_style()

void clanguml::common::model::stylable_element::set_style ( const std::string &  style)

Set style.

Parameters
styleStyle specification

Definition at line 23 of file stylable_element.cc.

23{ style_ = style; }

◆ style()

std::optional< std::string > clanguml::common::model::stylable_element::style ( ) const

Get style

Returns
Style specification

Definition at line 25 of file stylable_element.cc.

25{ return style_; }

Member Data Documentation

◆ style_

std::optional<std::string> clanguml::common::model::stylable_element::style_
private

Definition at line 47 of file stylable_element.h.


The documentation for this class was generated from the following files: