PLaSK library

Loading...
Searching...
No Matches
Public Member Functions | List of all members
plask::NoSuchMaterial Class Reference

This exception is thrown when material (typically with given name) is not found. More...

`#include <plask/exceptions.hpp>`

Inheritance diagram for plask::NoSuchMaterial:
[legend]
Collaboration diagram for plask::NoSuchMaterial:
[legend]

## Public Member Functions
| NoSuchMaterial (const std::string &material_name)
| NoSuchMaterial (const std::string &material_name, const std::string &dopant_name)
template<typename ComponentMap >
| NoSuchMaterial (const ComponentMap &comp, const std::string dopant_name)
Public Member Functions inherited from plask::Exception
| Exception (const std::string &msg)
template<typename... T>
| Exception (const std::string &msg, const T &... args)
| Format error message using format.

## Detailed Description

This exception is thrown when material (typically with given name) is not found.

Definition at line 197 of file exceptions.hpp.

## Constructor & Destructor Documentation

## ◆ NoSuchMaterial() [1/3]

plask::NoSuchMaterial::NoSuchMaterial | ( | const std::string & | material_name | ) |
| inline

Parameters

  material_name | name of material which not exists

Definition at line 209 of file exceptions.hpp.

## ◆ NoSuchMaterial() [2/3]

plask::NoSuchMaterial::NoSuchMaterial | ( | const std::string & | material_name,
|  | const std::string & | dopant_name
| ) |  |
| inline

Definition at line 212 of file exceptions.hpp.

## ◆ NoSuchMaterial() [3/3]

template<typename ComponentMap >

plask::NoSuchMaterial::NoSuchMaterial | ( | const ComponentMap & | comp,
|  | const std::string | dopant_name
| ) |  |
| inline

Definition at line 216 of file exceptions.hpp.

The documentation for this class was generated from the following file:

- plask/exceptions.hpp