API Documentation
Loading...
Searching...
No Matches
BaseValues.hpp File Reference
#include <NDEVR/LibAssert.h>
#include <limits>
#include <cinttypes>
#include "BaseFunctions.hpp"
Include dependency graph for BaseValues.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BaseValues
 Dummy class to ensure creation of an include file around core root values. More...
 
struct  Constant< t_type >
 

Namespaces

namespace  NDEVR
 

Macros

#define UNUSED(expr)
 

Typedefs

typedef int8_t sint01
 -Defines an alias representing a 1 byte, signed integer. -Can represent exact integer values -127 through 127.
 
typedef int16_t sint02
 -Defines an alias representing a 2 byte, signed integer. -Can represent exact integer values -32767 through 32767.
 
typedef int32_t sint04
 -Defines an alias representing a 4 byte, signed integer. -Can represent exact integer values -2147483647 through 2147483647.
 
typedef int64_t sint08
 -Defines an alias representing an 8 byte, signed integer -Can represent exact integer values -9223372036854775807 through 9223372036854775807.
 
typedef uint8_t uint01
 -Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 through 254. -Byte value 0XFF (integer value: 255) is considered invalid and should normally be reserved. Note that it can be used with caution.
 
typedef uint16_t uint02
 -Defines an alias representing a 2 byte, unsigned integer -Can represent exact integer values 0 through 65534. -Byte value 0xFFFF (integer value: 65535) is considered invalid and reserved.
 
typedef uint32_t uint04
 -Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 through 4294967294. -Byte value 0xFFFFFFFF (integer value: 4294967295) is considered invalid and reserved.
 
typedef uint64_t uint08
 -Defines an alias representing an 8 byte, unsigned integer -Can represent exact integer values 0 through 18446744073709551614. -Byte value 0XFFFFFFFFFFFFFFFF (integer value: 18446744073709551615) is considered invalid and reserved.
 
typedef float fltp04
 Defines an alias representing a 4 byte floating-point number.
 
typedef double fltp08
 Defines an alias representing an 8 byte floating-point number.
 
typedef wchar_t wchar
 

Enumerations

enum  DimensionValues : uint01 {
  X = 0 , A = 0 , Y = 1 , B = 1 ,
  Z = 2 , C = 2 , W = 3 , D = 3
}
 Values that represent dimension values. More...
 
enum  GeodeticValues : uint01 { LAT = 0 , LON = 1 , ALT = 2 }
 
enum  LocationValues : uint01 { MIN = 0 , MAX = 1 }
 Values that represent location values. -Note these are used throughout the code to make things more readable as above. For example, for example. More...
 
enum  IntersectionTypes { outside = 0 , inside , mixed }
 Used for classifying shape intersections. More...
 
enum  InterpolationValues { nearest_neighbor , e_linear , bicubic }
 Values that represent interpolation functions. Useful in large or complicated geological or time. More...
 

Functions

template<class t_to , class t_from >
constexpr t_to cast (t_from value)
 
template<>
constexpr uint04 cast (fltp04 value)
 
template<>
constexpr uint04 cast (fltp08 value)
 
template<>
constexpr uint04 cast (sint04 value)
 
template<>
constexpr uint04 cast (sint08 value)
 
template<class t_to , class t_from >
constexpr t_to rcast (t_from value)
 

Macro Definition Documentation

◆ UNUSED

#define UNUSED ( expr)
Value:
do { (void)(expr); } while (0)