PLaSK library

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
plask::GeometryReader::SetExpectedSuffix Struct Reference

Store current expectedSuffix, set new one, and restore old when out of the scope (in destructor). More...

`#include <plask/geometry/reader.hpp>`

Collaboration diagram for plask::GeometryReader::SetExpectedSuffix:
[legend]

## Public Member Functions
| SetExpectedSuffix (GeometryReader &reader, const char *new_expected_suffix)
| SetExpectedSuffix (GeometryReader &reader, int dim)
| ~SetExpectedSuffix ()

## Public Attributes
GeometryReader & | reader
const char * | old

## Detailed Description

Store current expectedSuffix, set new one, and restore old when out of the scope (in destructor).

Definition at line 154 of file reader.hpp.

## Constructor & Destructor Documentation

## ◆ SetExpectedSuffix() [1/2]

plask::GeometryReader::SetExpectedSuffix::SetExpectedSuffix | ( | GeometryReader & | reader,
|  | const char * | new_expected_suffix
| ) |  |

Definition at line 104 of file reader.cpp.

## ◆ SetExpectedSuffix() [2/2]

plask::GeometryReader::SetExpectedSuffix::SetExpectedSuffix | ( | GeometryReader & | reader,
|  | int | dim
| ) |  |

Definition at line 109 of file reader.cpp.

## ◆ ~SetExpectedSuffix()

plask::GeometryReader::SetExpectedSuffix::~SetExpectedSuffix | ( |  | ) |
| inline

Definition at line 159 of file reader.hpp.

## Member Data Documentation

## ◆ old

const char* plask::GeometryReader::SetExpectedSuffix::old

Definition at line 156 of file reader.hpp.

## ◆ reader

GeometryReader& plask::GeometryReader::SetExpectedSuffix::reader

Definition at line 155 of file reader.hpp.

The documentation for this struct was generated from the following files:

- plask/geometry/reader.hpp
- plask/geometry/reader.cpp