sculpto
Main Page
Namespaces
Classes
Files
File List
File Members
core
components
name_component.h
Go to the documentation of this file.
1
/*!****************************************************************/
/*!*
2
* \file name_component.h
3
* \brief
4
*
5
* \author Sabitov Kirill
6
* \date 02 July 2022
7
*********************************************************************/
8
9
#pragma once
10
11
#include "
base.h
"
12
13
#define SCL_MAKE_NAME_FROM_TYPE(type) #type
14
15
namespace
scl
16
{
17
struct
name_component
18
{
19
std::string
Name
;
20
21
name_component
(
const
std::string &
Name
) :
Name
(
Name
) {}
22
name_component
(
const
name_component
&Other) =
default
;
23
~name_component
() =
default
;
24
25
operator
const
std::string &() {
return
Name
; }
26
operator
std::string &() {
return
Name
; }
27
};
28
}
base.h
Topology object basis class for mesh creating implementation module.
scl
Definition:
base.h:33
scl::name_component
Definition:
name_component.h:18
scl::name_component::name_component
name_component(const std::string &Name)
Definition:
name_component.h:21
scl::name_component::~name_component
~name_component()=default
scl::name_component::name_component
name_component(const name_component &Other)=default
scl::name_component::Name
std::string Name
Definition:
name_component.h:19
Generated by
1.9.4