Hermes
 All Data Structures Files Functions Variables Macros Pages
Definition.c File Reference

The implementation of SegmentST. More...

#include "../../h/SpatioTemporal/SegmentST/Definition.h"
#include "../../h/Utilities/Utilities.h"
#include <libpq/pqformat.h>
#include <access/hash.h>
Include dependency graph for Definition.c:

Functions

SegmentSTcloneSegmentST (const SegmentST *segment, SegmentST *result)
 
PGDLLEXPORT Datum cloneSegmentSTV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (cloneSegmentSTV1)
 
SegmentSTconstructorSegmentST (Timestamp ti, int32 ix, int32 iy, Timestamp te, int32 ex, int32 ey, SegmentST *result, char **error)
 
PGDLLEXPORT Datum constructorSegmentSTV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (constructorSegmentSTV1)
 
SegmentSTconstructorHighSegmentST (const PointST *i, const PointST *e, SegmentST *result, char **error)
 
PGDLLEXPORT Datum constructorHighSegmentSTV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (constructorHighSegmentSTV1)
 
SegmentSTinSegmentST (const char *str, SegmentST *result, char **error)
 
PGDLLEXPORT Datum inSegmentSTV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (inSegmentSTV1)
 
char * outSegmentST (const SegmentST *segment)
 
PGDLLEXPORT Datum outSegmentSTV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (outSegmentSTV1)
 
PGDLLEXPORT Datum recvSegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (recvSegmentST)
 
bytea * SegmentST2Bytea (const SegmentST *segment)
 
PGDLLEXPORT Datum sendSegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (sendSegmentST)
 
PGDLLEXPORT Datum hashSegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (hashSegmentST)
 
bool equalsSegmentST (const SegmentST *segmentA, const SegmentST *segmentB)
 
PGDLLEXPORT Datum equalsSegmentSTV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (equalsSegmentSTV1)
 
PGDLLEXPORT Datum getTSegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getTSegmentST)
 
PGDLLEXPORT Datum getTiSegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getTiSegmentST)
 
PGDLLEXPORT Datum getTeSegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getTeSegmentST)
 
PGDLLEXPORT Datum getSpSegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getSpSegmentST)
 
PGDLLEXPORT Datum getISegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getISegmentST)
 
PGDLLEXPORT Datum getIxSegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getIxSegmentST)
 
PGDLLEXPORT Datum getIySegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getIySegmentST)
 
PGDLLEXPORT Datum getESegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getESegmentST)
 
PGDLLEXPORT Datum getExSegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getExSegmentST)
 
PGDLLEXPORT Datum getEySegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getEySegmentST)
 

Detailed Description

The implementation of SegmentST.

Author
Marios Vodas (mvoda.nosp@m.s@gm.nosp@m.ail.c.nosp@m.om).

These functions are documented in the SegmentST/Definition.h

Function Documentation

SegmentST* cloneSegmentST ( const SegmentST segment,
SegmentST result 
)

Referenced by cloneSegmentSTV1().

PGDLLEXPORT Datum cloneSegmentSTV1 ( PG_FUNCTION_ARGS  )

References cloneSegmentST().

Here is the call graph for this function:

SegmentST* constructorHighSegmentST ( const PointST i,
const PointST e,
SegmentST result,
char **  error 
)
PGDLLEXPORT Datum constructorHighSegmentSTV1 ( PG_FUNCTION_ARGS  )

References constructorHighSegmentST().

Here is the call graph for this function:

SegmentST* constructorSegmentST ( Timestamp  ti,
int32  ix,
int32  iy,
Timestamp  te,
int32  ex,
int32  ey,
SegmentST result,
char **  error 
)
PGDLLEXPORT Datum constructorSegmentSTV1 ( PG_FUNCTION_ARGS  )

References constructorSegmentST().

Here is the call graph for this function:

bool equalsSegmentST ( const SegmentST segmentA,
const SegmentST segmentB 
)
PGDLLEXPORT Datum equalsSegmentSTV1 ( PG_FUNCTION_ARGS  )

References equalsSegmentST().

Here is the call graph for this function:

PGDLLEXPORT Datum getESegmentST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getExSegmentST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getEySegmentST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getISegmentST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getIxSegmentST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getIySegmentST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getSpSegmentST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getTeSegmentST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getTiSegmentST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getTSegmentST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum hashSegmentST ( PG_FUNCTION_ARGS  )

References SegmentST2Bytea().

Here is the call graph for this function:

SegmentST* inSegmentST ( const char *  str,
SegmentST result,
char **  error 
)

References asprintfHermes(), SegmentSP::e, Period::e, SegmentSP::i, Period::i, SegmentST::sp, SegmentST::t, PointSP::x, and PointSP::y.

Referenced by inSegmentSTV1().

Here is the call graph for this function:

PGDLLEXPORT Datum inSegmentSTV1 ( PG_FUNCTION_ARGS  )

References inSegmentST().

Here is the call graph for this function:

char* outSegmentST ( const SegmentST segment)

References asprintfHermes(), SegmentSP::e, Period::e, SegmentSP::i, Period::i, SegmentST::sp, SegmentST::t, PointSP::x, and PointSP::y.

Referenced by outSegmentSTV1().

Here is the call graph for this function:

PGDLLEXPORT Datum outSegmentSTV1 ( PG_FUNCTION_ARGS  )

References outSegmentST().

Here is the call graph for this function:

PG_FUNCTION_INFO_V1 ( cloneSegmentSTV1  )
PG_FUNCTION_INFO_V1 ( constructorSegmentSTV1  )
PG_FUNCTION_INFO_V1 ( constructorHighSegmentSTV1  )
PG_FUNCTION_INFO_V1 ( inSegmentSTV1  )
PG_FUNCTION_INFO_V1 ( outSegmentSTV1  )
PG_FUNCTION_INFO_V1 ( recvSegmentST  )
PG_FUNCTION_INFO_V1 ( sendSegmentST  )
PG_FUNCTION_INFO_V1 ( hashSegmentST  )
PG_FUNCTION_INFO_V1 ( equalsSegmentSTV1  )
PG_FUNCTION_INFO_V1 ( getTSegmentST  )
PG_FUNCTION_INFO_V1 ( getTiSegmentST  )
PG_FUNCTION_INFO_V1 ( getTeSegmentST  )
PG_FUNCTION_INFO_V1 ( getSpSegmentST  )
PG_FUNCTION_INFO_V1 ( getISegmentST  )
PG_FUNCTION_INFO_V1 ( getIxSegmentST  )
PG_FUNCTION_INFO_V1 ( getIySegmentST  )
PG_FUNCTION_INFO_V1 ( getESegmentST  )
PG_FUNCTION_INFO_V1 ( getExSegmentST  )
PG_FUNCTION_INFO_V1 ( getEySegmentST  )
PGDLLEXPORT Datum recvSegmentST ( PG_FUNCTION_ARGS  )
bytea* SegmentST2Bytea ( const SegmentST segment)
PGDLLEXPORT Datum sendSegmentST ( PG_FUNCTION_ARGS  )

References SegmentST2Bytea().

Here is the call graph for this function: