Code_TYMPAN  4.2.0
Industrial site acoustic simulation
Public Member Functions | Public Attributes | List of all members
Material Class Reference

#include <Material.h>

Inheritance diagram for Material:
Inheritance graph
[legend]
Collaboration diagram for Material:
Collaboration graph
[legend]

Public Member Functions

 Material ()
 Default constructor. More...
 
 Material (std::string _name)
 Constructor by giving a name to the material. More...
 
 Material (const Material &other)
 Copy constructor. More...
 
virtual ~Material ()
 
- Public Member Functions inherited from Base
 Base ()
 Default constructor. More...
 
 Base (const Base &other)
 Copy constructor. More...
 
virtual ~Base ()
 Destructor. More...
 
std::string getName ()
 Get the name of the object. More...
 
void setName (const std::string &_name)
 Set the name of the object. More...
 

Public Attributes

unsigned int id
 Identification set by the MaterialManager. More...
 
bool isNatural
 Flag to define a natural material. More...
 

Additional Inherited Members

- Protected Attributes inherited from Base
std::string name
 Each instantiated object may be named. More...
 

Detailed Description

Definition at line 26 of file Material.h.

Constructor & Destructor Documentation

◆ Material() [1/3]

Material::Material ( )
inline

Default constructor.

Definition at line 30 of file Material.h.

◆ Material() [2/3]

Material::Material ( std::string  _name)
inline

Constructor by giving a name to the material.

Definition at line 32 of file Material.h.

◆ Material() [3/3]

Material::Material ( const Material other)
inline

Copy constructor.

Definition at line 34 of file Material.h.

◆ ~Material()

virtual Material::~Material ( )
inlinevirtual

Definition at line 44 of file Material.h.

Member Data Documentation

◆ id

unsigned int Material::id

Identification set by the MaterialManager.

Definition at line 48 of file Material.h.

◆ isNatural

bool Material::isNatural

Flag to define a natural material.

Definition at line 49 of file Material.h.


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