Apama  10.15.1.2
sag_connectivity_c.h File Reference

Instead of including this file directly, include sag_connectivity_cpp.hpp if you need any types defined in this file. More...

#include <stdbool.h>
#include <stdint.h>
#include <sag_internal/c_macros.hpp>
#include <sag_internal/c_types.hpp>
#include <sag_internal/c_functions.hpp>

Go to the source code of this file.

Classes

struct  sag_underlying_decimal_t
 Decimals are implemented with an underlying 64bit int conforming to IEEE 754 decimal 64. More...
 

Enumerations

enum  sag_data_tag {
  SAG_DATA_EMPTY, SAG_DATA_BOOLEAN, SAG_DATA_DOUBLE, SAG_DATA_INTEGER,
  SAG_DATA_DECIMAL, SAG_DATA_STRING, SAG_DATA_LIST, SAG_DATA_MAP,
  SAG_DATA_BUFFER, SAG_DATA_CUSTOM
}
 A descriminator for the content of the data_t union. More...
 
enum  sag_log_level_t {
  SAG_LOG_CRIT, SAG_LOG_FATAL, SAG_LOG_ERROR, SAG_LOG_WARN,
  SAG_LOG_INFO, SAG_LOG_DEBUG, SAG_LOG_TRACE
}
 Log levels for logging to the host log file. More...
 

Detailed Description

Instead of including this file directly, include sag_connectivity_cpp.hpp if you need any types defined in this file.

Enumeration Type Documentation

◆ sag_data_tag

A descriminator for the content of the data_t union.

Enumerator
SAG_DATA_EMPTY 

Empty.

SAG_DATA_BOOLEAN 

Bool.

SAG_DATA_DOUBLE 

64-bit float

SAG_DATA_INTEGER 

64-bit signed int

SAG_DATA_DECIMAL 

64-bit IEEE-754 decimal

SAG_DATA_STRING 

utf8-encoded const char*

SAG_DATA_LIST 

list of data

SAG_DATA_MAP 

map of data:data

SAG_DATA_BUFFER 

byte-array (8-bit signed int)

SAG_DATA_CUSTOM 

a void* + deleter and copy function pointers

◆ sag_log_level_t

Log levels for logging to the host log file.

Enumerator
SAG_LOG_CRIT 

Critical log messages.

SAG_LOG_FATAL 

Fatal errors.

SAG_LOG_ERROR 

Non-fatal errors.

SAG_LOG_WARN 

Warnings.

SAG_LOG_INFO 

Informational messages (default)

SAG_LOG_DEBUG 

Debug messages.

SAG_LOG_TRACE 

Trace.