#include <cmath>
#include <ctime>
#include <cstdlib>
#include <algorithm>
#include "eckit/eckit_ecbuild_config.h"
#include "eckit/io/Buffer.h"
#include "eckit/system/SystemInfo.h"
#include "eckit/testing/Test.h"
#include "odc/api/ColumnType.h"
#include "odc/core/Codec.h"
#include "odc/codec/Constant.h"
#include "odc/codec/Integer.h"
#include "odc/codec/IntegerMissing.h"
#include "odc/codec/Real.h"
#include "odc/codec/String.h"
Go to the source code of this file.
|
size_t | prepend_codec_selection_header (std::vector< unsigned char > &data, const std::string &codec_name, bool bigEndian=false) |
|
| CASE ("Constant values consume no space in the output data buffer") |
|
| CASE ("Constant integer values consume no space in the output data buffer") |
|
| CASE ("constant strings consume no output data space") |
|
| CASE ("Constant integer or missing value behaves a bit oddly") |
|
| CASE ("real constant or missing value is not quite constant") |
|
| CASE ("Character strings are 8-byte sequences coerced into being treated as doubles") |
|
| CASE ("long floating point values can include the missing data value") |
|
| CASE ("short floating point values can include the missing data value") |
|
| CASE ("32bit integers are as-is") |
|
| CASE ("16bit integers are stored with an offset. This need not (strictly) be integral!!") |
|
| CASE ("8bit integers are stored with an offset. This need not (strictly) be integral!!") |
|
| CASE ("Character strings can be stored in a flat list, and indexed") |
|
| CASE ("Character strings can be stored in a flat list, and indexed, and longer than 8 bytes") |
|
int | main (int argc, char *argv[]) |
|
◆ CASE() [1/13]
CASE |
( |
"16bit integers are stored with an offset. This need not (strictly) be integral!!" |
| ) |
|
◆ CASE() [2/13]
CASE |
( |
"32bit integers are as-is" |
| ) |
|
◆ CASE() [3/13]
CASE |
( |
"8bit integers are stored with an offset. This need not (strictly) be integral!!" |
| ) |
|
◆ CASE() [4/13]
CASE |
( |
"Character strings are 8-byte sequences coerced into being treated as doubles" |
| ) |
|
◆ CASE() [5/13]
CASE |
( |
"Character strings can be stored in a flat |
list, |
|
|
and indexed" |
|
|
) |
| |
◆ CASE() [6/13]
CASE |
( |
"Character strings can be stored in a flat |
list, |
|
|
and |
indexed, |
|
|
and longer than 8 bytes" |
|
|
) |
| |
◆ CASE() [7/13]
CASE |
( |
"Constant integer or missing value behaves a bit oddly" |
| ) |
|
◆ CASE() [8/13]
CASE |
( |
"Constant integer values consume no space in the output data buffer" |
| ) |
|
◆ CASE() [9/13]
CASE |
( |
"constant strings consume no output data space" |
| ) |
|
◆ CASE() [10/13]
CASE |
( |
"Constant values consume no space in the output data buffer" |
| ) |
|
◆ CASE() [11/13]
CASE |
( |
"long floating point values can include the missing data value" |
| ) |
|
◆ CASE() [12/13]
CASE |
( |
"real constant or missing value is not quite constant" |
| ) |
|
◆ CASE() [13/13]
CASE |
( |
"short floating point values can include the missing data value" |
| ) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ prepend_codec_selection_header()
size_t prepend_codec_selection_header |
( |
std::vector< unsigned char > & |
data, |
|
|
const std::string & |
codec_name, |
|
|
bool |
bigEndian = false |
|
) |
| |