PLaSK library
|
Collect meta-information about material. More...
#include <plask/material/info.hpp>
Classes | |
class | DB |
Material info database. More... | |
struct | Link |
Represent link ("see also") to property in class. More... | |
class | PropertyInfo |
Collect information about material property. More... | |
class | Register |
Helper which allow to add (do this in constructor) information about material to default material meta-info database. More... | |
Public Types | |
enum | PROPERTY_NAME { kind , lattC , Eg , CB , VB , Dso , Mso , Me , Mhh , Mlh , Mh , ac , av , b , d , c11 , c12 , c44 , eps , Eps , chi , Na , Nd , Ni , Nf , EactD , EactA , mob , cond , condtype , A , B , C , D , thermk , dens , cp , nr , absp , Nr , mobe , mobh , taue , tauh , Ce , Ch , e13 , e15 , e33 , c13 , c33 , Psp , y1 , y2 , y3 } |
enum | ARGUMENT_NAME { T , e , lam , n , h , doping , point } |
Names of arguments for which we need to give the ranges. More... | |
typedef std::map< PROPERTY_NAME, PropertyInfo >::iterator | iterator |
Iterator over properties. | |
typedef std::map< PROPERTY_NAME, PropertyInfo >::const_iterator | const_iterator |
Const iterator over properties. | |
Public Member Functions | |
void | override (const MaterialInfo &to_override) |
Override all information about this by information from to_override . | |
PropertyInfo & | operator() (PROPERTY_NAME property) |
Get property info object (add new, empty one if there is no information about property). | |
plask::optional< PropertyInfo > | getPropertyInfo (PROPERTY_NAME property) const |
Get info about the property of this. | |
iterator | begin () |
Get begin iterator over properties. | |
const_iterator | begin () const |
Get const begin iterator over properties. | |
iterator | end () |
Get end iterator over properties. | |
const_iterator | end () const |
Get const end iterator over properties. | |
Static Public Member Functions | |
static PROPERTY_NAME | parsePropertyName (const std::string &name) |
static ARGUMENT_NAME | parseArgumentName (const std::string &name) |
Public Attributes | |
std::string | parent |
Name of parent class. | |
Static Public Attributes | |
static const char * | PROPERTY_NAME_STRING [55] |
Names of the properties. | |
static const char * | ARGUMENT_NAME_STRING [7] |
Names of the arguments. | |
Collect meta-information about material.
It also namespace for all class connected with collecting meta-information about materials, like material information database, etc.
typedef std::map<PROPERTY_NAME,PropertyInfo>::const_iterator plask::MaterialInfo::const_iterator |
typedef std::map<PROPERTY_NAME,PropertyInfo>::iterator plask::MaterialInfo::iterator |
|
inline |
|
inline |
|
inline |
|
inline |
plask::optional< MaterialInfo::PropertyInfo > plask::MaterialInfo::getPropertyInfo | ( | MaterialInfo::PROPERTY_NAME | property | ) | const |
MaterialInfo::PropertyInfo & plask::MaterialInfo::operator() | ( | PROPERTY_NAME | property | ) |
void plask::MaterialInfo::override | ( | const MaterialInfo & | to_override | ) |
|
static |
|
static |
std::string plask::MaterialInfo::parent |