CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_errors.h>
Public Member Functions | |
constexpr | Result (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 Result object containing a specified code.
|
inlineconstexprnoexcept |
Returns the integer code of this Result object.
|
inlineconstexprnoexcept |
Assigns an integer code to this Result object.