libdas2
das2 core C utilities
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Macros | Functions
encoding.h File Reference

Defines storage and access methods for values in a Das2 Stream. More...

Detailed Description

Defines storage and access methods for values in a Das2 Stream.

#include <das2/util.h>
#include <das2/units.h>
#include <das2/buffer.h>

Go to the source code of this file.

Data Structures

class  DasEncoding
 Reading and writing values on das2 streams. More...
 

Macros

#define DAS2DT_FLOAT   0x0401
 4-byte real number, in host byte order
 

Functions

double getDas2Fill (void)
 An inconvenient way to get canonical fill value, -1e31.
 
int isDas2Fill (double value)
 An inconvenient way to check for the canonical fill value, -1e31.
 
DasEncodingDasEnc_copy (DasEncoding *pThis)
 Deepcopy a DasEncoding pointer.
 
bool DasEnc_equals (const DasEncoding *pOne, const DasEncoding *pTwo)
 Check for equality between two encodings. More...
 

Function Documentation

bool DasEnc_equals ( const DasEncoding pOne,
const DasEncoding pTwo 
)

Check for equality between two encodings.

Parameters
pOneThe first encoding
pTwoThe second encoding
Returns
true if the encodings have the same category, width, and format string.