MIDSX 0.1
A x-ray transport code system for dosimetry
Loading...
Searching...
No Matches
material.h
1#ifndef MCXRAYTRANSPORT_MATERIAL_H
2#define MCXRAYTRANSPORT_MATERIAL_H
3
4#include "interpolators.h"
5#include "data_access_object.h"
6#include "material_properties.h"
7#include "material_data.h"
8#include <string>
9#include <vector>
10#include <memory>
11#include <map>
12#include <sstream>
13
19class Material {
20public:
27 Material(std::string name, DataAccessObject& dao);
28
34 const MaterialProperties& getProperties() { return properties_;}
35
41 const MaterialData& getData() { return data_;}
42private:
43 std::string name_;
44 DataAccessObject& dao_;
45 MaterialProperties properties_;
46 MaterialData data_;
47};
48
49#endif //MCXRAYTRANSPORT_MATERIAL_H
Class which provides an interface to a SQLite database.
Class which contains the computed simulation data for a material.
Class which represents a material.
Definition material.h:19
const MaterialData & getData()
Returns the MaterialData object for the material.
Definition material.h:41
const MaterialProperties & getProperties()
Returns the MaterialProperties object for the material.
Definition material.h:34
Material(std::string name, DataAccessObject &dao)
Constructor for the Material class.
Class which represents the properties of a material.