das2C
das core C utilities (v3)
Data Structures | Macros | Functions
property.h File Reference
#include <das2/defs.h>
#include <das2/units.h>
Include dependency graph for property.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  DasProp
 Individual properties of a desciptor. More...
 

Macros

#define DASPROP_MULTI_MASK   0x00000003
 A mask to select a property's multiplicity setting. More...
 
#define DASPROP_TYPE_MASK   0x000000F0
 A mask to select a properties's item type This is useful when interpreting the results of DasProp_type()
 

Functions

size_t dasprop_memsz (const char *sName, const char *sValue)
 Get required storage space for a property given a name and value. More...
 

Macro Definition Documentation

◆ DASPROP_MULTI_MASK

#define DASPROP_MULTI_MASK   0x00000003

A mask to select a property's multiplicity setting.

This is useful when interpreting the results of DasProp_type()

Function Documentation

◆ dasprop_memsz()

size_t dasprop_memsz ( const char *  sName,
const char *  sValue 
)

Get required storage space for a property given a name and value.

Note the space is requirements are not sum of the string lengths.