UniRec 3.3.2
Loading...
Searching...
No Matches
unirecTypes.hpp
Go to the documentation of this file.
1
10#pragma once
11
12#include "ipAddress.hpp"
13#include "macAddress.hpp"
14#include "urTime.hpp"
15
16#include <cstddef>
17#include <string>
18#include <string_view>
19#include <unirec/unirec.h>
20
21namespace Nemea {
22
29template<typename T>
31
32template<>
37
38template<>
43
44template<>
49
50template<>
55
56template<>
61
62template<>
67
68template<>
73
74template<>
79
80template<>
85
86template<>
91
92template<>
97
98template<>
103
104template<>
109
110template<>
115
116template<>
121
122template<>
127
128template<>
133
134template<>
139
140template<>
145
146template<>
151
152template<>
157
158template<>
163
164template<>
169
170template<>
175
176template<>
181
182template<>
187
188template<>
193
194template<>
199
200template<>
205
206template<>
211
212template<>
217
218} // namespace Nemea
Header file containing the definition of the IpAddress class.
constexpr ur_field_type_t getExpectedUnirecType< int64_t >()
constexpr ur_field_type_t getExpectedUnirecType< double * >()
constexpr ur_field_type_t getExpectedUnirecType< IpAddress * >()
constexpr ur_field_type_t getExpectedUnirecType< int8_t >()
constexpr ur_field_type_t getExpectedUnirecType< float * >()
constexpr ur_field_type_t getExpectedUnirecType< uint16_t >()
constexpr ur_field_type_t getExpectedUnirecType< float >()
constexpr ur_field_type_t getExpectedUnirecType< std::byte * >()
constexpr ur_field_type_t getExpectedUnirecType< IpAddress >()
constexpr ur_field_type_t getExpectedUnirecType< uint8_t * >()
constexpr ur_field_type_t getExpectedUnirecType< int64_t * >()
constexpr ur_field_type_t getExpectedUnirecType< std::string >()
constexpr ur_field_type_t getExpectedUnirecType< uint16_t * >()
constexpr ur_field_type_t getExpectedUnirecType< uint32_t * >()
constexpr ur_field_type_t getExpectedUnirecType< uint8_t >()
constexpr ur_field_type_t getExpectedUnirecType< std::string_view >()
constexpr ur_field_type_t getExpectedUnirecType< int32_t * >()
constexpr ur_field_type_t getExpectedUnirecType< UrTime >()
constexpr ur_field_type_t getExpectedUnirecType< int8_t * >()
constexpr ur_field_type_t getExpectedUnirecType< uint64_t >()
constexpr ur_field_type_t getExpectedUnirecType< uint32_t >()
constexpr ur_field_type_t getExpectedUnirecType< int16_t >()
constexpr ur_field_type_t getExpectedUnirecType< int16_t * >()
constexpr ur_field_type_t getExpectedUnirecType< MacAddress * >()
constexpr ur_field_type_t getExpectedUnirecType()
Determines the expected UniRec field type for a given C++ type T.
constexpr ur_field_type_t getExpectedUnirecType< MacAddress >()
constexpr ur_field_type_t getExpectedUnirecType< char >()
constexpr ur_field_type_t getExpectedUnirecType< int32_t >()
constexpr ur_field_type_t getExpectedUnirecType< uint64_t * >()
constexpr ur_field_type_t getExpectedUnirecType< char * >()
constexpr ur_field_type_t getExpectedUnirecType< UrTime * >()
constexpr ur_field_type_t getExpectedUnirecType< double >()
Definition of UniRec structures and functions.
ur_field_type_t
Definition unirec.h:95
@ UR_TYPE_A_UINT32
unsigned int (32b) array
Definition unirec.h:118
@ UR_TYPE_UINT64
unsigned int (64b)
Definition unirec.h:105
@ UR_TYPE_A_UINT16
unsigned int (16b) array
Definition unirec.h:116
@ UR_TYPE_A_INT64
int (64b) array
Definition unirec.h:121
@ UR_TYPE_A_DOUBLE
double (64b) array
Definition unirec.h:123
@ UR_TYPE_A_IP
IP address (128b) array.
Definition unirec.h:124
@ UR_TYPE_INT16
int (8b)
Definition unirec.h:102
@ UR_TYPE_A_INT32
int (32b) array
Definition unirec.h:119
@ UR_TYPE_A_INT8
int (8b) array
Definition unirec.h:115
@ UR_TYPE_A_INT16
int (8b) array
Definition unirec.h:117
@ UR_TYPE_IP
IP address (128b)
Definition unirec.h:109
@ UR_TYPE_INT8
int (8b)
Definition unirec.h:100
@ UR_TYPE_CHAR
char
Definition unirec.h:98
@ UR_TYPE_A_UINT8
unsigned int (8b) array
Definition unirec.h:114
@ UR_TYPE_DOUBLE
double (64b)
Definition unirec.h:108
@ UR_TYPE_A_FLOAT
float (32b) array
Definition unirec.h:122
@ UR_TYPE_A_UINT64
unsigned int (64b) array
Definition unirec.h:120
@ UR_TYPE_A_MAC
MAC address (48b) array.
Definition unirec.h:125
@ UR_TYPE_TIME
time (64b)
Definition unirec.h:111
@ UR_TYPE_UINT8
unsigned int (8b)
Definition unirec.h:99
@ UR_TYPE_INT64
int (64b)
Definition unirec.h:106
@ UR_TYPE_STRING
var-len fields (string where only printable characters are expected; '\0' at the end should NOT be in...
Definition unirec.h:96
@ UR_TYPE_A_TIME
time (64b) array
Definition unirec.h:126
@ UR_TYPE_INT32
int (32b)
Definition unirec.h:104
@ UR_TYPE_UINT16
unsigned int (16b)
Definition unirec.h:101
@ UR_TYPE_UINT32
unsigned int (32b)
Definition unirec.h:103
@ UR_TYPE_MAC
MAC address (48b)
Definition unirec.h:110
@ UR_TYPE_BYTES
var-len fields (generic string of bytes)
Definition unirec.h:97
@ UR_TYPE_FLOAT
float (32b)
Definition unirec.h:107