Base class for class elements (e.g. member or method).
More...
Base class for class elements (e.g. member or method).
Definition at line 32 of file class_element.h.
#include <class_element.h>
◆ class_element()
clanguml::class_diagram::model::class_element::class_element |
( |
common::model::access_t |
access, |
|
|
std::string |
name, |
|
|
std::string |
type |
|
) |
| |
◆ ~class_element()
clanguml::class_diagram::model::class_element::~class_element |
( |
| ) |
|
|
overridedefault |
◆ access()
Get elements access scope.
- Returns
- Elements access scope.
Definition at line 33 of file class_element.cc.
◆ name()
std::string clanguml::class_diagram::model::class_element::name |
( |
| ) |
const |
◆ qualified_name()
std::string clanguml::class_diagram::model::class_element::qualified_name |
( |
| ) |
const |
get fully qualified name of the class element.
Definition at line 48 of file class_element.cc.
◆ set_name()
void clanguml::class_diagram::model::class_element::set_name |
( |
const std::string & |
name | ) |
|
◆ set_qualified_name()
void clanguml::class_diagram::model::class_element::set_qualified_name |
( |
const std::string & |
qn | ) |
|
Set class elements qualified name.
This method sets the fully qualified path of the class element, including namespace and parent class name.
Definition at line 43 of file class_element.cc.
◆ set_type()
void clanguml::class_diagram::model::class_element::set_type |
( |
const std::string & |
type | ) |
|
Set elements type as string.
- Parameters
-
type | Elements type as string. |
Definition at line 41 of file class_element.cc.
◆ type()
std::string clanguml::class_diagram::model::class_element::type |
( |
| ) |
const |
Get elements type as string.
- Returns
- Elements type as string.
Definition at line 39 of file class_element.cc.
◆ access_
◆ name_
std::string clanguml::class_diagram::model::class_element::name_ |
|
private |
◆ qualified_name_
std::string clanguml::class_diagram::model::class_element::qualified_name_ |
|
private |
◆ type_
std::string clanguml::class_diagram::model::class_element::type_ |
|
private |
The documentation for this class was generated from the following files: