OmniSciDB  d2f719934e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OmniSciTypes.h File Reference
#include <cstring>
#include <limits>
#include <stdexcept>
#include <type_traits>
#include "../Shared/InlineNullValues.h"
#include "../Shared/funcannotations.h"
+ Include dependency graph for OmniSciTypes.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TextEncodingDict
 
struct  Array< T >
 
struct  TextEncodingNone
 
struct  GeoPoint
 
struct  GeoLineString
 
struct  GeoPolygon
 Simplified core of GeoJSON Polygon coordinates definition. More...
 
struct  GeoMultiPolygon
 Simplified core of GeoJSON MultiPolygon coordinates definition. More...
 
struct  Column< T >
 
struct  ColumnList< T >
 
struct  TableFunctionManager
 

Macros

#define EXTENSION_INLINE   extern "C" RUNTIME_EXPORT ALWAYS_INLINE DEVICE
 
#define EXTENSION_NOINLINE   extern "C" RUNTIME_EXPORT NEVER_INLINE DEVICE
 
#define TEMPLATE_INLINE   ALWAYS_INLINE DEVICE
 
#define TEMPLATE_NOINLINE   NEVER_INLINE DEVICE
 
#define FUNC_NAME   (std::string(__func__).substr(0, std::string(__func__).find("__")))
 
#define ERROR_STRING(MSG)
 
#define TABLE_FUNCTION_ERROR(MSG)   table_function_error(ERROR_STRING(MSG))
 
#define ERROR_MESSAGE(MSG)   error_message(ERROR_STRING(MSG))
 

Functions

EXTENSION_NOINLINE int8_t * allocate_varlen_buffer (int64_t element_count, int64_t element_size)
 
EXTENSION_NOINLINE void set_output_row_size (int64_t num_rows)
 
EXTENSION_NOINLINE void TableFunctionManager_set_output_row_size (int8_t *mgr_ptr, int64_t num_rows)
 
EXTENSION_NOINLINE int8_t * TableFunctionManager_get_singleton ()
 
EXTENSION_NOINLINE int32_t table_function_error (const char *message)
 
EXTENSION_NOINLINE int32_t TableFunctionManager_error_message (int8_t *mgr_ptr, const char *message)
 

Macro Definition Documentation

#define ERROR_MESSAGE (   MSG)    error_message(ERROR_STRING(MSG))

Definition at line 46 of file OmniSciTypes.h.

#define ERROR_STRING (   MSG)
Value:
(std::string(__FILE__).substr(std::string(__FILE__).rfind("/") + 1) + ":" + \
std::to_string(__LINE__) + " " + FUNC_NAME + ": " + MSG) \
.c_str()
std::string to_string(char const *&&v)
#define FUNC_NAME
Definition: OmniSciTypes.h:39

Definition at line 41 of file OmniSciTypes.h.

#define EXTENSION_INLINE   extern "C" RUNTIME_EXPORT ALWAYS_INLINE DEVICE

Definition at line 28 of file OmniSciTypes.h.

#define EXTENSION_NOINLINE   extern "C" RUNTIME_EXPORT NEVER_INLINE DEVICE

Definition at line 29 of file OmniSciTypes.h.

#define FUNC_NAME   (std::string(__func__).substr(0, std::string(__func__).find("__")))

Definition at line 39 of file OmniSciTypes.h.

#define TABLE_FUNCTION_ERROR (   MSG)    table_function_error(ERROR_STRING(MSG))

Definition at line 45 of file OmniSciTypes.h.

Referenced by column_list_safe_row_sum__cpu_template(), and ct_sleep1().

#define TEMPLATE_INLINE   ALWAYS_INLINE DEVICE

Definition at line 30 of file OmniSciTypes.h.

#define TEMPLATE_NOINLINE   NEVER_INLINE DEVICE

Definition at line 31 of file OmniSciTypes.h.

Function Documentation

EXTENSION_NOINLINE int8_t* allocate_varlen_buffer ( int64_t  element_count,
int64_t  element_size 
)

Referenced by Array< T >::Array().

+ Here is the caller graph for this function:

EXTENSION_NOINLINE int32_t table_function_error ( const char *  message)
EXTENSION_NOINLINE int32_t TableFunctionManager_error_message ( int8_t *  mgr_ptr,
const char *  message 
)

Referenced by TableFunctionManager::error_message().

+ Here is the caller graph for this function:

EXTENSION_NOINLINE int8_t* TableFunctionManager_get_singleton ( )

Referenced by TableFunctionManager::get_singleton().

+ Here is the caller graph for this function:

EXTENSION_NOINLINE void TableFunctionManager_set_output_row_size ( int8_t *  mgr_ptr,
int64_t  num_rows 
)

Referenced by TableFunctionManager::set_output_row_size().

+ Here is the caller graph for this function: