PLaSK library
Loading...
Searching...
No Matches
info.hpp File Reference

This file contains classes which stores meta-information about materials. More...

#include <string>
#include <map>
#include <vector>
#include <utility>
#include <boost/tokenizer.hpp>
#include "../optional.hpp"
#include <plask/config.hpp>
Include dependency graph for info.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  plask::MaterialInfo
 Collect meta-information about material. More...
 
struct  plask::MaterialInfo::Link
 Represent link ("see also") to property in class. More...
 
class  plask::MaterialInfo::PropertyInfo
 Collect information about material property. More...
 
class  plask::MaterialInfo::DB
 Material info database. More...
 
class  plask::MaterialInfo::Register
 Helper which allow to add (do this in constructor) information about material to default material meta-info database. More...
 
struct  plask::MISource
 
struct  plask::MINote
 
struct  plask::MIArgumentRange
 
struct  plask::MISee
 
struct  plask::MISeeClass< materialClass >
 

Namespaces

namespace  plask
 Patterson quadrature for complex function along specified line.
 

Macros

#define MI_PARENT(material, parent)   static plask::MaterialInfo::Register __materialinfo__parent__ ## material(material::NAME, parent::NAME);
 
#define MI_PROPERTY(material, property, ...)   static plask::MaterialInfo::Register __materialinfo__property__ ## material ## property(material::NAME, plask::MaterialInfo::property, ##__VA_ARGS__);
 
#define MI_PARENT_PROPERTY(material, parent, property, ...)   static plask::MaterialInfo::Register __materialinfo__parent__property__ ## material ## property(material::NAME, parent::NAME, plask::MaterialInfo::property, ##__VA_ARGS__);
 

Detailed Description

This file contains classes which stores meta-information about materials.

Definition in file info.hpp.

Macro Definition Documentation

◆ MI_PARENT

#define MI_PARENT (   material,
  parent 
)    static plask::MaterialInfo::Register __materialinfo__parent__ ## material(material::NAME, parent::NAME);

Definition at line 526 of file info.hpp.

◆ MI_PARENT_PROPERTY

#define MI_PARENT_PROPERTY (   material,
  parent,
  property,
  ... 
)    static plask::MaterialInfo::Register __materialinfo__parent__property__ ## material ## property(material::NAME, parent::NAME, plask::MaterialInfo::property, ##__VA_ARGS__);

Definition at line 528 of file info.hpp.

◆ MI_PROPERTY

#define MI_PROPERTY (   material,
  property,
  ... 
)    static plask::MaterialInfo::Register __materialinfo__property__ ## material ## property(material::NAME, plask::MaterialInfo::property, ##__VA_ARGS__);

Definition at line 527 of file info.hpp.