PLaSK library

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

Exceptions of this class are thrown when illegal repetition of tag appears. More...

`#include <plask/utils/xml/exceptions.hpp>`

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

## Public Member Functions
| XMLDuplicatedElementException (const XMLReader &reader, const std::string &duplicated)
| XMLDuplicatedElementException (const std::string &parent, const std::string &duplicated)
Public Member Functions inherited from plask::XMLException
| XMLException (const XMLReader &reader, const std::string &msg)
| XMLException (const std::string &where, const std::string &msg, int line=-1)
| XMLException (const std::string &msg, int line=-1)

## Additional Inherited Members
Public Attributes inherited from plask::XMLException
const int | line

## Detailed Description

Exceptions of this class are thrown when illegal repetition of tag appears.

Definition at line 153 of file exceptions.hpp.

## Constructor & Destructor Documentation

## ◆ XMLDuplicatedElementException() [1/2]

plask::XMLDuplicatedElementException::XMLDuplicatedElementException | ( | const XMLReader & | reader,
|  | const std::string & | duplicated
| ) |  |
| inline

Parameters

  reader | current reader
  duplicated | name of duplicated thing

Definition at line 158 of file exceptions.hpp.

## ◆ XMLDuplicatedElementException() [2/2]

plask::XMLDuplicatedElementException::XMLDuplicatedElementException | ( | const std::string & | parent,
|  | const std::string & | duplicated
| ) |  |
| inline

Parameters

  parent | name of the parent tag
  duplicated | name of duplicated thing

Definition at line 164 of file exceptions.hpp.

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

- plask/utils/xml/exceptions.hpp