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

Base class of Event, Material, PostFilter, Ray, Repere, Scene, Shape, Simulation, Source. More...

#include <Base.h>

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

Public Member Functions

 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...
 

Protected Attributes

std::string name
 Each instantiated object may be named. More...
 

Detailed Description

Base class of Event, Material, PostFilter, Ray, Repere, Scene, Shape, Simulation, Source.

Definition at line 24 of file Base.h.

Constructor & Destructor Documentation

◆ Base() [1/2]

Base::Base ( )
inline

Default constructor.

Definition at line 29 of file Base.h.

◆ Base() [2/2]

Base::Base ( const Base other)
inline

Copy constructor.

Definition at line 34 of file Base.h.

◆ ~Base()

virtual Base::~Base ( )
inlinevirtual

Destructor.

Definition at line 39 of file Base.h.

Member Function Documentation

◆ getName()

std::string Base::getName ( )
inline

Get the name of the object.

Definition at line 43 of file Base.h.

Here is the caller graph for this function:

◆ setName()

void Base::setName ( const std::string &  _name)
inline

Set the name of the object.

Definition at line 45 of file Base.h.

Here is the caller graph for this function:

Member Data Documentation

◆ name

std::string Base::name
protected

Each instantiated object may be named.

Definition at line 48 of file Base.h.


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