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

The implementation of PointST. More...

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

Functions

PointSTclonePointST (const PointST *point, PointST *result)
 
PGDLLEXPORT Datum clonePointSTV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (clonePointSTV1)
 
PointSTconstructorPointST (Timestamp t, int32 x, int32 y, PointST *result)
 
PGDLLEXPORT Datum constructorPointSTV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (constructorPointSTV1)
 
PointSTconstructorHighPointST (Timestamp t, const PointSP *sp, PointST *result)
 
PGDLLEXPORT Datum constructorHighPointSTV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (constructorHighPointSTV1)
 
PointSTinPointST (const char *str, PointST *result, char **error)
 
PGDLLEXPORT Datum inPointSTV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (inPointSTV1)
 
char * outPointST (const PointST *point)
 
PGDLLEXPORT Datum outPointSTV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (outPointSTV1)
 
PGDLLEXPORT Datum recvPointST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (recvPointST)
 
bytea * PointST2Bytea (const PointST *point)
 
PGDLLEXPORT Datum sendPointST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (sendPointST)
 
PGDLLEXPORT Datum hashPointST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (hashPointST)
 
bool equalsPointST (const PointST *pointA, const PointST *pointB)
 
PGDLLEXPORT Datum equalsPointSTV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (equalsPointSTV1)
 
PGDLLEXPORT Datum getTPointST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getTPointST)
 
PGDLLEXPORT Datum getSpPointST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getSpPointST)
 
PGDLLEXPORT Datum getXPointST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getXPointST)
 
PGDLLEXPORT Datum getYPointST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getYPointST)
 

Detailed Description

The implementation of PointST.

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

These functions are documented in the PointST/Definition.h

Function Documentation

PointST* clonePointST ( const PointST point,
PointST result 
)
PGDLLEXPORT Datum clonePointSTV1 ( PG_FUNCTION_ARGS  )

References clonePointST().

Here is the call graph for this function:

PointST* constructorHighPointST ( Timestamp  t,
const PointSP sp,
PointST result 
)

References PointST::sp, and PointST::t.

Referenced by constructorHighPointSTV1().

PGDLLEXPORT Datum constructorHighPointSTV1 ( PG_FUNCTION_ARGS  )

References constructorHighPointST().

Here is the call graph for this function:

PointST* constructorPointST ( Timestamp  t,
int32  x,
int32  y,
PointST result 
)
PGDLLEXPORT Datum constructorPointSTV1 ( PG_FUNCTION_ARGS  )

References constructorPointST().

Here is the call graph for this function:

bool equalsPointST ( const PointST pointA,
const PointST pointB 
)
PGDLLEXPORT Datum equalsPointSTV1 ( PG_FUNCTION_ARGS  )

References equalsPointST().

Here is the call graph for this function:

PGDLLEXPORT Datum getSpPointST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getTPointST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getXPointST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getYPointST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum hashPointST ( PG_FUNCTION_ARGS  )

References PointST2Bytea().

Here is the call graph for this function:

PointST* inPointST ( const char *  str,
PointST result,
char **  error 
)

References asprintfHermes(), PointST::sp, PointST::t, PointSP::x, and PointSP::y.

Referenced by inPointSTV1().

Here is the call graph for this function:

PGDLLEXPORT Datum inPointSTV1 ( PG_FUNCTION_ARGS  )

References inPointST().

Here is the call graph for this function:

char* outPointST ( const PointST point)

References asprintfHermes(), PointST::sp, PointST::t, PointSP::x, and PointSP::y.

Referenced by outPointSTV1().

Here is the call graph for this function:

PGDLLEXPORT Datum outPointSTV1 ( PG_FUNCTION_ARGS  )

References outPointST().

Here is the call graph for this function:

PG_FUNCTION_INFO_V1 ( clonePointSTV1  )
PG_FUNCTION_INFO_V1 ( constructorPointSTV1  )
PG_FUNCTION_INFO_V1 ( constructorHighPointSTV1  )
PG_FUNCTION_INFO_V1 ( inPointSTV1  )
PG_FUNCTION_INFO_V1 ( outPointSTV1  )
PG_FUNCTION_INFO_V1 ( recvPointST  )
PG_FUNCTION_INFO_V1 ( sendPointST  )
PG_FUNCTION_INFO_V1 ( hashPointST  )
PG_FUNCTION_INFO_V1 ( equalsPointSTV1  )
PG_FUNCTION_INFO_V1 ( getTPointST  )
PG_FUNCTION_INFO_V1 ( getSpPointST  )
PG_FUNCTION_INFO_V1 ( getXPointST  )
PG_FUNCTION_INFO_V1 ( getYPointST  )
bytea* PointST2Bytea ( const PointST point)
PGDLLEXPORT Datum recvPointST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum sendPointST ( PG_FUNCTION_ARGS  )

References PointST2Bytea().

Here is the call graph for this function: