PLaSK library
|
Store current expectedSuffix, set new one, and restore old when out of the scope (in destructor). More...
#include <plask/geometry/reader.hpp>
Public Member Functions | |
SetExpectedSuffix (GeometryReader &reader, const char *new_expected_suffix) | |
SetExpectedSuffix (GeometryReader &reader, int dim) | |
~SetExpectedSuffix () | |
Public Attributes | |
GeometryReader & | reader |
const char * | old |
Store current expectedSuffix, set new one, and restore old when out of the scope (in destructor).
Definition at line 154 of file reader.hpp.
plask::GeometryReader::SetExpectedSuffix::SetExpectedSuffix | ( | GeometryReader & | reader, |
const char * | new_expected_suffix | ||
) |
Definition at line 104 of file reader.cpp.
plask::GeometryReader::SetExpectedSuffix::SetExpectedSuffix | ( | GeometryReader & | reader, |
int | dim | ||
) |
Definition at line 109 of file reader.cpp.
|
inline |
Definition at line 159 of file reader.hpp.
Definition at line 156 of file reader.hpp.
GeometryReader& plask::GeometryReader::SetExpectedSuffix::reader |
Definition at line 155 of file reader.hpp.