Dev Essential
Loading...
Searching...
No Matches
a_util::result::ResultInfo< T > Struct Template Reference

#include <result_info_decl.h>

Static Public Member Functions

static std::int32_t getCode ()
 
static const char * getLabel ()
 

Detailed Description

template<typename T>
struct a_util::result::ResultInfo< T >

Basic result information template, used by a_util::result::Result

Template Parameters
TType required to implement static methods getLabel() and getCode()

Member Function Documentation

◆ getCode()

template<typename T>
std::int32_t a_util::result::ResultInfo< T >::getCode ( )
inlinestatic

Get the result code distributed with value of type T

Returns
The result code

◆ getLabel()

template<typename T>
const char * a_util::result::ResultInfo< T >::getLabel ( )
inlinestatic

Get the string representation of an error code distributed by value of type T

Returns
The string representation of an error code

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