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

The implementantion of RangeSP. More...

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

Functions

RangeSPcloneRangeSP (const RangeSP *range, RangeSP *result)
 
PGDLLEXPORT Datum cloneRangeSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (cloneRangeSPV1)
 
RangeSPconstructorRangeSP (int32 r, int32 cx, int32 cy, RangeSP *result, char **error)
 
PGDLLEXPORT Datum constructorRangeSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (constructorRangeSPV1)
 
RangeSPconstructorHighRangeSP (int32 r, const PointSP *c, RangeSP *result, char **error)
 
PGDLLEXPORT Datum constructorHighRangeSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (constructorHighRangeSPV1)
 
RangeSPinRangeSP (const char *str, RangeSP *result, char **error)
 
PGDLLEXPORT Datum inRangeSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (inRangeSPV1)
 
char * outRangeSP (const RangeSP *range)
 
PGDLLEXPORT Datum outRangeSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (outRangeSPV1)
 
PGDLLEXPORT Datum recvRangeSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (recvRangeSP)
 
bytea * RangeSP2Bytea (const RangeSP *range)
 
PGDLLEXPORT Datum sendRangeSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (sendRangeSP)
 
PGDLLEXPORT Datum hashRangeSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (hashRangeSP)
 
bool equalsRangeSP (const RangeSP *rangeA, const RangeSP *rangeB)
 
PGDLLEXPORT Datum equalsRangeSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (equalsRangeSPV1)
 
PGDLLEXPORT Datum getRRangeSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getRRangeSP)
 
PGDLLEXPORT Datum getCRangeSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getCRangeSP)
 
PGDLLEXPORT Datum getXRangeSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getXRangeSP)
 
PGDLLEXPORT Datum getYRangeSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getYRangeSP)
 

Detailed Description

The implementantion of RangeSP.

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

These functions are documented in the RangeSP/Definition.h

Function Documentation

RangeSP* cloneRangeSP ( const RangeSP range,
RangeSP result 
)

Referenced by cloneRangeSPV1().

PGDLLEXPORT Datum cloneRangeSPV1 ( PG_FUNCTION_ARGS  )

References cloneRangeSP().

Here is the call graph for this function:

RangeSP* constructorHighRangeSP ( int32  r,
const PointSP c,
RangeSP result,
char **  error 
)

References RangeSP::c, and RangeSP::r.

Referenced by constructorHighRangeSPV1().

PGDLLEXPORT Datum constructorHighRangeSPV1 ( PG_FUNCTION_ARGS  )

References constructorHighRangeSP().

Here is the call graph for this function:

RangeSP* constructorRangeSP ( int32  r,
int32  cx,
int32  cy,
RangeSP result,
char **  error 
)
PGDLLEXPORT Datum constructorRangeSPV1 ( PG_FUNCTION_ARGS  )

References constructorRangeSP().

Here is the call graph for this function:

bool equalsRangeSP ( const RangeSP rangeA,
const RangeSP rangeB 
)

References RangeSP::c, RangeSP::r, PointSP::x, and PointSP::y.

Referenced by equalsRangeSPV1().

PGDLLEXPORT Datum equalsRangeSPV1 ( PG_FUNCTION_ARGS  )

References equalsRangeSP().

Here is the call graph for this function:

PGDLLEXPORT Datum getCRangeSP ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getRRangeSP ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getXRangeSP ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getYRangeSP ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum hashRangeSP ( PG_FUNCTION_ARGS  )

References RangeSP2Bytea().

Here is the call graph for this function:

RangeSP* inRangeSP ( const char *  str,
RangeSP result,
char **  error 
)

References asprintfHermes(), RangeSP::c, RangeSP::r, PointSP::x, and PointSP::y.

Referenced by inRangeSPV1().

Here is the call graph for this function:

PGDLLEXPORT Datum inRangeSPV1 ( PG_FUNCTION_ARGS  )

References inRangeSP().

Here is the call graph for this function:

char* outRangeSP ( const RangeSP range)

References asprintfHermes(), RangeSP::c, RangeSP::r, PointSP::x, and PointSP::y.

Referenced by outRangeSPV1().

Here is the call graph for this function:

PGDLLEXPORT Datum outRangeSPV1 ( PG_FUNCTION_ARGS  )

References outRangeSP().

Here is the call graph for this function:

PG_FUNCTION_INFO_V1 ( cloneRangeSPV1  )
PG_FUNCTION_INFO_V1 ( constructorRangeSPV1  )
PG_FUNCTION_INFO_V1 ( constructorHighRangeSPV1  )
PG_FUNCTION_INFO_V1 ( inRangeSPV1  )
PG_FUNCTION_INFO_V1 ( outRangeSPV1  )
PG_FUNCTION_INFO_V1 ( recvRangeSP  )
PG_FUNCTION_INFO_V1 ( sendRangeSP  )
PG_FUNCTION_INFO_V1 ( hashRangeSP  )
PG_FUNCTION_INFO_V1 ( equalsRangeSPV1  )
PG_FUNCTION_INFO_V1 ( getRRangeSP  )
PG_FUNCTION_INFO_V1 ( getCRangeSP  )
PG_FUNCTION_INFO_V1 ( getXRangeSP  )
PG_FUNCTION_INFO_V1 ( getYRangeSP  )
bytea* RangeSP2Bytea ( const RangeSP range)

References RangeSP::c, RangeSP::r, PointSP::x, and PointSP::y.

Referenced by hashRangeSP(), and sendRangeSP().

PGDLLEXPORT Datum recvRangeSP ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum sendRangeSP ( PG_FUNCTION_ARGS  )

References RangeSP2Bytea().

Here is the call graph for this function: