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

The implementantion of SegmentSP. More...

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

Functions

SegmentSPcloneSegmentSP (const SegmentSP *segment, SegmentSP *result)
 
PGDLLEXPORT Datum cloneSegmentSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (cloneSegmentSPV1)
 
SegmentSPconstructorSegmentSP (int32 ix, int32 iy, int32 ex, int32 ey, SegmentSP *result, char **error)
 
PGDLLEXPORT Datum constructorSegmentSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (constructorSegmentSPV1)
 
SegmentSPconstructorHighSegmentSP (const PointSP *i, const PointSP *e, SegmentSP *result, char **error)
 
PGDLLEXPORT Datum constructorHighSegmentSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (constructorHighSegmentSPV1)
 
SegmentSPinSegmentSP (const char *str, SegmentSP *result, char **error)
 
PGDLLEXPORT Datum inSegmentSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (inSegmentSPV1)
 
char * outSegmentSP (const SegmentSP *segment)
 
PGDLLEXPORT Datum outSegmentSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (outSegmentSPV1)
 
PGDLLEXPORT Datum recvSegmentSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (recvSegmentSP)
 
bytea * SegmentSP2Bytea (const SegmentSP *segment)
 
PGDLLEXPORT Datum sendSegmentSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (sendSegmentSP)
 
PGDLLEXPORT Datum hashSegmentSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (hashSegmentSP)
 
bool equalsSegmentSP (const SegmentSP *segmentA, const SegmentSP *segmentB)
 
PGDLLEXPORT Datum equalsSegmentSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (equalsSegmentSPV1)
 
PGDLLEXPORT Datum getISegmentSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getISegmentSP)
 
PGDLLEXPORT Datum getIxSegmentSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getIxSegmentSP)
 
PGDLLEXPORT Datum getIySegmentSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getIySegmentSP)
 
PGDLLEXPORT Datum getESegmentSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getESegmentSP)
 
PGDLLEXPORT Datum getExSegmentSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getExSegmentSP)
 
PGDLLEXPORT Datum getEySegmentSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getEySegmentSP)
 

Detailed Description

The implementantion of SegmentSP.

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

These functions are documented in the SegmentSP/Definition.h

Function Documentation

SegmentSP* cloneSegmentSP ( const SegmentSP segment,
SegmentSP result 
)

Referenced by cloneSegmentSPV1().

PGDLLEXPORT Datum cloneSegmentSPV1 ( PG_FUNCTION_ARGS  )

References cloneSegmentSP().

Here is the call graph for this function:

SegmentSP* constructorHighSegmentSP ( const PointSP i,
const PointSP e,
SegmentSP result,
char **  error 
)

References e(), SegmentSP::e, i(), SegmentSP::i, PointSP::x, and PointSP::y.

Referenced by constructorHighSegmentSPV1().

Here is the call graph for this function:

PGDLLEXPORT Datum constructorHighSegmentSPV1 ( PG_FUNCTION_ARGS  )

References constructorHighSegmentSP().

Here is the call graph for this function:

SegmentSP* constructorSegmentSP ( int32  ix,
int32  iy,
int32  ex,
int32  ey,
SegmentSP result,
char **  error 
)
PGDLLEXPORT Datum constructorSegmentSPV1 ( PG_FUNCTION_ARGS  )

References constructorSegmentSP().

Here is the call graph for this function:

bool equalsSegmentSP ( const SegmentSP segmentA,
const SegmentSP segmentB 
)
PGDLLEXPORT Datum equalsSegmentSPV1 ( PG_FUNCTION_ARGS  )

References equalsSegmentSP().

Here is the call graph for this function:

PGDLLEXPORT Datum getESegmentSP ( PG_FUNCTION_ARGS  )

References e().

Here is the call graph for this function:

PGDLLEXPORT Datum getExSegmentSP ( PG_FUNCTION_ARGS  )

References e().

Here is the call graph for this function:

PGDLLEXPORT Datum getEySegmentSP ( PG_FUNCTION_ARGS  )

References e().

Here is the call graph for this function:

PGDLLEXPORT Datum getISegmentSP ( PG_FUNCTION_ARGS  )

References i().

Here is the call graph for this function:

PGDLLEXPORT Datum getIxSegmentSP ( PG_FUNCTION_ARGS  )

References i().

Here is the call graph for this function:

PGDLLEXPORT Datum getIySegmentSP ( PG_FUNCTION_ARGS  )

References i().

Here is the call graph for this function:

PGDLLEXPORT Datum hashSegmentSP ( PG_FUNCTION_ARGS  )

References SegmentSP2Bytea().

Here is the call graph for this function:

SegmentSP* inSegmentSP ( const char *  str,
SegmentSP result,
char **  error 
)

References asprintfHermes(), SegmentSP::e, SegmentSP::i, PointSP::x, and PointSP::y.

Referenced by inSegmentSPV1().

Here is the call graph for this function:

PGDLLEXPORT Datum inSegmentSPV1 ( PG_FUNCTION_ARGS  )

References inSegmentSP().

Here is the call graph for this function:

char* outSegmentSP ( const SegmentSP segment)

References asprintfHermes(), SegmentSP::e, SegmentSP::i, PointSP::x, and PointSP::y.

Referenced by outSegmentSPV1().

Here is the call graph for this function:

PGDLLEXPORT Datum outSegmentSPV1 ( PG_FUNCTION_ARGS  )

References outSegmentSP().

Here is the call graph for this function:

PG_FUNCTION_INFO_V1 ( cloneSegmentSPV1  )
PG_FUNCTION_INFO_V1 ( constructorSegmentSPV1  )
PG_FUNCTION_INFO_V1 ( constructorHighSegmentSPV1  )
PG_FUNCTION_INFO_V1 ( inSegmentSPV1  )
PG_FUNCTION_INFO_V1 ( outSegmentSPV1  )
PG_FUNCTION_INFO_V1 ( recvSegmentSP  )
PG_FUNCTION_INFO_V1 ( sendSegmentSP  )
PG_FUNCTION_INFO_V1 ( hashSegmentSP  )
PG_FUNCTION_INFO_V1 ( equalsSegmentSPV1  )
PG_FUNCTION_INFO_V1 ( getISegmentSP  )
PG_FUNCTION_INFO_V1 ( getIxSegmentSP  )
PG_FUNCTION_INFO_V1 ( getIySegmentSP  )
PG_FUNCTION_INFO_V1 ( getESegmentSP  )
PG_FUNCTION_INFO_V1 ( getExSegmentSP  )
PG_FUNCTION_INFO_V1 ( getEySegmentSP  )
PGDLLEXPORT Datum recvSegmentSP ( PG_FUNCTION_ARGS  )
bytea* SegmentSP2Bytea ( const SegmentSP segment)
PGDLLEXPORT Datum sendSegmentSP ( PG_FUNCTION_ARGS  )

References SegmentSP2Bytea().

Here is the call graph for this function: