CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_errors.h>
Public Member Functions | |
constexpr | TResult (uint32_t aCode) noexcept |
constexpr | operator uint32_t () const noexcept |
constexpr void | operator= (uint32_t aCode) noexcept |
The result and error code type. It is a class, to enforce initialization to zero, and to allow a breakpoint to be placed in the constructor or assignment operator. In release builds on modern compilers the use of a class rather than a plain integer has no cost.
|
inlineconstexprnoexcept |
Creates a TResult object containing a specified code.
|
inlineconstexprnoexcept |
Returns the integer code of this TResult object.
|
inlineconstexprnoexcept |
Assigns an integer code to this TResult object.