|
MIDSX 0.1
A x-ray transport code system for dosimetry
|
Class which represents a material. More...
#include <material.h>
Public Member Functions | |
| Material (std::string name, DataAccessObject &dao) | |
| Constructor for the Material class. | |
| const MaterialProperties & | getProperties () |
| Returns the MaterialProperties object for the material. | |
| const MaterialData & | getData () |
| Returns the MaterialData object for the material. | |
Private Attributes | |
| std::string | name_ |
| DataAccessObject & | dao_ |
| MaterialProperties | properties_ |
| MaterialData | data_ |
Class which represents a material.
This class contains the properties and data for a material obtained and computed from the SQLite database.
Definition at line 19 of file material.h.
| Material::Material | ( | std::string | name, |
| DataAccessObject & | dao ) |
Constructor for the Material class.
| name | The name of the material. |
| dao | The DataAccessObject to use to query the database. |
|
inline |
Returns the MaterialData object for the material.
Definition at line 41 of file material.h.
|
inline |
Returns the MaterialProperties object for the material.
Definition at line 34 of file material.h.
|
private |
Definition at line 44 of file material.h.
|
private |
Definition at line 46 of file material.h.
|
private |
Definition at line 43 of file material.h.
|
private |
Definition at line 45 of file material.h.