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

The implementantion of PointSP. More...

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

Functions

PointSPclonePointSP (const PointSP *point, PointSP *result)
 
PGDLLEXPORT Datum clonePointSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (clonePointSPV1)
 
PointSPconstructorPointSP (int32 x, int32 y, PointSP *result)
 The function implements the sql constructor function. More...
 
PGDLLEXPORT Datum constructorPointSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (constructorPointSPV1)
 
PointSPinPointSP (const char *str, PointSP *result, char **error)
 The function implements the sql inPointSP function. More...
 
PGDLLEXPORT Datum inPointSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (inPointSPV1)
 
char * outPointSP (const PointSP *point)
 The function implements the sql outPointSP function. More...
 
PGDLLEXPORT Datum outPointSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (outPointSPV1)
 
PGDLLEXPORT Datum recvPointSP (PG_FUNCTION_ARGS)
 The function implements the sql recvPointSP function. More...
 
 PG_FUNCTION_INFO_V1 (recvPointSP)
 
bytea * PointSP2Bytea (const PointSP *point)
 
PGDLLEXPORT Datum sendPointSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (sendPointSP)
 
PGDLLEXPORT Datum hashPointSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (hashPointSP)
 
bool equalsPointSP (const PointSP *pointA, const PointSP *pointB)
 
PGDLLEXPORT Datum equalsPointSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (equalsPointSPV1)
 
PGDLLEXPORT Datum getXPointSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getXPointSP)
 
PGDLLEXPORT Datum getYPointSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getYPointSP)
 

Detailed Description

The implementantion of PointSP.

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

This function is documented in the PointSP/Definition.h

Function Documentation

PointSP* clonePointSP ( const PointSP point,
PointSP result 
)
PGDLLEXPORT Datum clonePointSPV1 ( PG_FUNCTION_ARGS  )

References clonePointSP().

Here is the call graph for this function:

PointSP* constructorPointSP ( int32  x,
int32  y,
PointSP result 
)

The function implements the sql constructor function.

See also
PointSP/Definition.sql

References PointSP::x, and PointSP::y.

Referenced by constructorPointSPV1().

PGDLLEXPORT Datum constructorPointSPV1 ( PG_FUNCTION_ARGS  )

References constructorPointSP().

Here is the call graph for this function:

bool equalsPointSP ( const PointSP pointA,
const PointSP pointB 
)
PGDLLEXPORT Datum equalsPointSPV1 ( PG_FUNCTION_ARGS  )

References equalsPointSP().

Here is the call graph for this function:

PGDLLEXPORT Datum getXPointSP ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getYPointSP ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum hashPointSP ( PG_FUNCTION_ARGS  )

References PointSP2Bytea().

Here is the call graph for this function:

PointSP* inPointSP ( const char *  str,
PointSP result,
char **  error 
)

The function implements the sql inPointSP function.

See also
PointSP/Definition.sql

References asprintfHermes(), PointSP::x, and PointSP::y.

Referenced by inPointSPV1().

Here is the call graph for this function:

PGDLLEXPORT Datum inPointSPV1 ( PG_FUNCTION_ARGS  )

References inPointSP().

Here is the call graph for this function:

char* outPointSP ( const PointSP point)

The function implements the sql outPointSP function.

See also
PointSP/Definition.sql

References asprintfHermes(), PointSP::x, and PointSP::y.

Referenced by outPointSPV1().

Here is the call graph for this function:

PGDLLEXPORT Datum outPointSPV1 ( PG_FUNCTION_ARGS  )

References outPointSP().

Here is the call graph for this function:

PG_FUNCTION_INFO_V1 ( clonePointSPV1  )
PG_FUNCTION_INFO_V1 ( constructorPointSPV1  )
PG_FUNCTION_INFO_V1 ( inPointSPV1  )
PG_FUNCTION_INFO_V1 ( outPointSPV1  )
PG_FUNCTION_INFO_V1 ( recvPointSP  )
PG_FUNCTION_INFO_V1 ( sendPointSP  )
PG_FUNCTION_INFO_V1 ( hashPointSP  )
PG_FUNCTION_INFO_V1 ( equalsPointSPV1  )
PG_FUNCTION_INFO_V1 ( getXPointSP  )
PG_FUNCTION_INFO_V1 ( getYPointSP  )
bytea* PointSP2Bytea ( const PointSP point)

References PointSP::x, and PointSP::y.

Referenced by hashPointSP(), and sendPointSP().

PGDLLEXPORT Datum recvPointSP ( PG_FUNCTION_ARGS  )

The function implements the sql recvPointSP function.

See also
PointSP/Definition.sql

References PointSP::x, and PointSP::y.

PGDLLEXPORT Datum sendPointSP ( PG_FUNCTION_ARGS  )

References PointSP2Bytea().

Here is the call graph for this function: