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

The implementation of BoxSP. More...

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

Functions

BoxSPcloneBoxSP (const BoxSP *box, BoxSP *result)
 
PGDLLEXPORT Datum cloneBoxSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (cloneBoxSPV1)
 
BoxSPconstructorBoxSP (int32 lx, int32 ly, int32 hx, int32 hy, BoxSP *result, char **error)
 
PGDLLEXPORT Datum constructorBoxSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (constructorBoxSPV1)
 
BoxSPconstructorHighBoxSP (const PointSP *l, const PointSP *h, BoxSP *result, char **error)
 
PGDLLEXPORT Datum constructorHighBoxSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (constructorHighBoxSPV1)
 
BoxSPinBoxSP (const char *str, BoxSP *result, char **error)
 
PGDLLEXPORT Datum inBoxSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (inBoxSPV1)
 
char * outBoxSP (const BoxSP *box)
 
PGDLLEXPORT Datum outBoxSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (outBoxSPV1)
 
PGDLLEXPORT Datum recvBoxSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (recvBoxSP)
 
bytea * BoxSP2Bytea (const BoxSP *box)
 
PGDLLEXPORT Datum sendBoxSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (sendBoxSP)
 
PGDLLEXPORT Datum hashBoxSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (hashBoxSP)
 
bool equalsBoxSP (const BoxSP *boxA, const BoxSP *boxB)
 
PGDLLEXPORT Datum equalsBoxSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (equalsBoxSPV1)
 
PGDLLEXPORT Datum getLBoxSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getLBoxSP)
 
PGDLLEXPORT Datum getLxBoxSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getLxBoxSP)
 
PGDLLEXPORT Datum getLyBoxSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getLyBoxSP)
 
PGDLLEXPORT Datum getHBoxSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getHBoxSP)
 
PGDLLEXPORT Datum getHxBoxSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getHxBoxSP)
 
PGDLLEXPORT Datum getHyBoxSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getHyBoxSP)
 

Detailed Description

The implementation of BoxSP.

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

These functions are documented in the BoxSP/Definition.h

Function Documentation

bytea* BoxSP2Bytea ( const BoxSP box)

References BoxSP::h, BoxSP::l, PointSP::x, and PointSP::y.

BoxSP* cloneBoxSP ( const BoxSP box,
BoxSP result 
)

Referenced by cloneBoxSPV1().

PGDLLEXPORT Datum cloneBoxSPV1 ( PG_FUNCTION_ARGS  )

References cloneBoxSP().

Here is the call graph for this function:

BoxSP* constructorBoxSP ( int32  lx,
int32  ly,
int32  hx,
int32  hy,
BoxSP result,
char **  error 
)

References BoxSP::h, BoxSP::l, PointSP::x, and PointSP::y.

PGDLLEXPORT Datum constructorBoxSPV1 ( PG_FUNCTION_ARGS  )

References BoxSP::constructorBoxSP().

Here is the call graph for this function:

BoxSP* constructorHighBoxSP ( const PointSP l,
const PointSP h,
BoxSP result,
char **  error 
)

References BoxSP::h, BoxSP::l, PointSP::x, and PointSP::y.

PGDLLEXPORT Datum constructorHighBoxSPV1 ( PG_FUNCTION_ARGS  )

References BoxSP::constructorHighBoxSP().

Here is the call graph for this function:

bool equalsBoxSP ( const BoxSP boxA,
const BoxSP boxB 
)

References BoxSP::h, BoxSP::l, PointSP::x, and PointSP::y.

PGDLLEXPORT Datum equalsBoxSPV1 ( PG_FUNCTION_ARGS  )

References BoxSP::equalsBoxSP().

Here is the call graph for this function:

PGDLLEXPORT Datum getHBoxSP ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getHxBoxSP ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getHyBoxSP ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getLBoxSP ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getLxBoxSP ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getLyBoxSP ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum hashBoxSP ( PG_FUNCTION_ARGS  )

References BoxSP::BoxSP2Bytea().

Here is the call graph for this function:

BoxSP* inBoxSP ( const char *  str,
BoxSP result,
char **  error 
)

References asprintfHermes(), BoxSP::h, BoxSP::l, PointSP::x, and PointSP::y.

Here is the call graph for this function:

PGDLLEXPORT Datum inBoxSPV1 ( PG_FUNCTION_ARGS  )

References BoxSP::inBoxSP().

Here is the call graph for this function:

char* outBoxSP ( const BoxSP box)

References asprintfHermes(), BoxSP::h, BoxSP::l, PointSP::x, and PointSP::y.

Here is the call graph for this function:

PGDLLEXPORT Datum outBoxSPV1 ( PG_FUNCTION_ARGS  )

References BoxSP::outBoxSP().

Here is the call graph for this function:

PG_FUNCTION_INFO_V1 ( cloneBoxSPV1  )
PG_FUNCTION_INFO_V1 ( constructorBoxSPV1  )
PG_FUNCTION_INFO_V1 ( constructorHighBoxSPV1  )
PG_FUNCTION_INFO_V1 ( inBoxSPV1  )
PG_FUNCTION_INFO_V1 ( outBoxSPV1  )
PG_FUNCTION_INFO_V1 ( recvBoxSP  )
PG_FUNCTION_INFO_V1 ( sendBoxSP  )
PG_FUNCTION_INFO_V1 ( hashBoxSP  )
PG_FUNCTION_INFO_V1 ( equalsBoxSPV1  )
PG_FUNCTION_INFO_V1 ( getLBoxSP  )
PG_FUNCTION_INFO_V1 ( getLxBoxSP  )
PG_FUNCTION_INFO_V1 ( getLyBoxSP  )
PG_FUNCTION_INFO_V1 ( getHBoxSP  )
PG_FUNCTION_INFO_V1 ( getHxBoxSP  )
PG_FUNCTION_INFO_V1 ( getHyBoxSP  )
PGDLLEXPORT Datum recvBoxSP ( PG_FUNCTION_ARGS  )

References BoxSP::h, BoxSP::l, PointSP::x, and PointSP::y.

PGDLLEXPORT Datum sendBoxSP ( PG_FUNCTION_ARGS  )

References BoxSP::BoxSP2Bytea().

Here is the call graph for this function: