Macros | Typedefs | Variables
basisdef.h File Reference

This file contains some basic definitions (defines, macros, datatypes) More...

#include <assert.h>
#include "sdhlibrary_settings.h"
#include <stdint.h>
Include dependency graph for basisdef.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SDH_ASSERT_TYPESIZES()
 macro to assert that the defined typedefs have the expected sizes More...
 

Typedefs

typedef int16_t Int16
 signed integer, size 2 Byte (16 Bit) More...
 
typedef int32_t Int32
 signed integer, size 4 Byte (32 Bit) More...
 
typedef uint16_t UInt16
 unsigned integer, size 2 Byte (16 Bit) More...
 
typedef uint32_t UInt32
 unsigned integer, size 4 Byte (32 Bit) More...
 
typedef uint8_t UInt8
 unsigned integer, size 1 Byte (8 Bit) More...
 

Variables

NAMESPACE_SDH_START typedef int8_t Int8
 signed integer, size 1 Byte (8 Bit) More...
 

Detailed Description

This file contains some basic definitions (defines, macros, datatypes)

General file information

Author
Jan Grewe, Dirk Osswald
Date
08.10.2004

Copyright

Copyright (c) 2006 SCHUNK GmbH & Co. KG


Definition in file basisdef.h.

Macro Definition Documentation

◆ SDH_ASSERT_TYPESIZES

#define SDH_ASSERT_TYPESIZES ( )
Value:
do { \
assert( sizeof( Int8 ) == 1 ); \
assert( sizeof( UInt8 ) == 1 ); \
assert( sizeof( Int16 ) == 2 ); \
assert( sizeof( UInt16 ) == 2 ); \
assert( sizeof( Int32 ) == 4 ); \
assert( sizeof( UInt32 ) == 4 ); \
} while (0)
uint8_t UInt8
unsigned integer, size 1 Byte (8 Bit)
Definition: basisdef.h:61
uint32_t UInt32
unsigned integer, size 4 Byte (32 Bit)
Definition: basisdef.h:65
int16_t Int16
signed integer, size 2 Byte (16 Bit)
Definition: basisdef.h:62
NAMESPACE_SDH_START typedef int8_t Int8
signed integer, size 1 Byte (8 Bit)
Definition: basisdef.h:60
int32_t Int32
signed integer, size 4 Byte (32 Bit)
Definition: basisdef.h:64
uint16_t UInt16
unsigned integer, size 2 Byte (16 Bit)
Definition: basisdef.h:63

macro to assert that the defined typedefs have the expected sizes

Definition at line 73 of file basisdef.h.

Typedef Documentation

◆ Int16

typedef int16_t Int16

signed integer, size 2 Byte (16 Bit)

Definition at line 62 of file basisdef.h.

◆ Int32

typedef int32_t Int32

signed integer, size 4 Byte (32 Bit)

Definition at line 64 of file basisdef.h.

◆ UInt16

typedef uint16_t UInt16

unsigned integer, size 2 Byte (16 Bit)

Definition at line 63 of file basisdef.h.

◆ UInt32

typedef uint32_t UInt32

unsigned integer, size 4 Byte (32 Bit)

Definition at line 65 of file basisdef.h.

◆ UInt8

typedef uint8_t UInt8

unsigned integer, size 1 Byte (8 Bit)

Definition at line 61 of file basisdef.h.

Variable Documentation

◆ Int8

NAMESPACE_SDH_START typedef int8_t Int8

signed integer, size 1 Byte (8 Bit)

Definition at line 60 of file basisdef.h.



sdhlibrary_cpp
Author(s): Dirk Osswald
autogenerated on Mon Feb 28 2022 23:41:51