ROSE 0.11.145.147
Public Types | Public Member Functions | List of all members
Sawyer::Error< char[N]> Class Template Reference

Description

template<size_t N>
class Sawyer::Error< char[N]>

Definition at line 234 of file Result.h.

Public Types

using Value = std::string
 

Public Member Functions

 Error (const Error &other)
 Copy constructor.
 
 Error (const Value &error)
 Construct from a value.
 
const Value & operator* () const
 Dereference to obtain error.
 
const Value * operator-> () const
 Dereference to obtain pointer to error.
 
Erroroperator= (const Error &other)
 Assignment.
 
Erroroperator= (const Value &error)
 Assignment.
 

Member Typedef Documentation

◆ Value

template<size_t N>
using Sawyer::Error< char[N]>::Value = std::string

Definition at line 236 of file Result.h.

Constructor & Destructor Documentation

◆ Error() [1/2]

template<size_t N>
Sawyer::Error< char[N]>::Error ( const Error< char[N]> &  other)
inlineexplicit

Copy constructor.

Definition at line 265 of file Result.h.

◆ Error() [2/2]

template<size_t N>
Sawyer::Error< char[N]>::Error ( const Value &  error)
inlineexplicit

Construct from a value.

Definition at line 269 of file Result.h.

Member Function Documentation

◆ operator=() [1/2]

template<size_t N>
Error & Sawyer::Error< char[N]>::operator= ( const Error< char[N]> &  other)
inline

Assignment.

Definition at line 275 of file Result.h.

◆ operator=() [2/2]

template<size_t N>
Error & Sawyer::Error< char[N]>::operator= ( const Value &  error)
inline

Assignment.

Definition at line 279 of file Result.h.

◆ operator*()

template<size_t N>
const Value & Sawyer::Error< char[N]>::operator* ( ) const
inline

Dereference to obtain error.

Definition at line 286 of file Result.h.

◆ operator->()

template<size_t N>
const Value * Sawyer::Error< char[N]>::operator-> ( ) const
inline

Dereference to obtain pointer to error.

Definition at line 291 of file Result.h.


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