C++/Tree Mapping Runtime Library
Public Types | Public Member Functions | List of all members
severity Class Reference

Error severity. More...

#include <exceptions.hxx>

Public Types

enum  value { warning , error }
 Underlying enum type. More...
 

Public Member Functions

 severity (value v)
 Initialize an instance with the underlying enum value.
 
 operator value () const
 Implicitly convert the instance to the underlying enum value.
 

Detailed Description

Error severity.

Member Enumeration Documentation

◆ value

enum value

Underlying enum type.

Enumerator
warning 

Indicates the warning condition.

error 

Indicates the error condition.

Constructor & Destructor Documentation

◆ severity()

severity ( value  v)
inline

Initialize an instance with the underlying enum value.

Parameters
vAn underlying enum value.

Member Function Documentation

◆ operator value()

operator value ( ) const
inline

Implicitly convert the instance to the underlying enum value.

Returns
The underlying enum value.

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

Copyright © 2005-2023 Code Synthesis.