Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
MicrostructureSpecificationBase.h
Go to the documentation of this file.
1/* This file is part of MoDELib, the Mechanics Of Defects Evolution Library.
2 *
3 *
4 * MoDELib is distributed without any warranty under the
5 * GNU General Public License (GPL) v2 <http://www.gnu.org/licenses/>.
6 */
7
8#ifndef model_MicrostructureSpecificationBase_H_
9#define model_MicrostructureSpecificationBase_H_
10
11#include <memory>
12#include <string>
13#include <StaticID.h>
14#include <TextFileParser.h>
15
16
17
18namespace model
19{
20 struct MicrostructureSpecificationBase : public StaticID<MicrostructureSpecificationBase>
21 {
22 const std::string type;
23 const std::string style;
24 const std::string tag;
25 const std::unique_ptr<TextFileParser> parser;
26
27 MicrostructureSpecificationBase(const std::string& type_in,const std::string& style_in);
28 MicrostructureSpecificationBase(const std::string& type_in,const std::string& style_in,const std::string& fileName);
29
30 };
31}
32#endif
const std::unique_ptr< TextFileParser > parser
MicrostructureSpecificationBase(const std::string &type_in, const std::string &style_in)