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

The implementation of LineSP. More...

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

Functions

LineSPcloneLineSP (const LineSP *line, LineSP *result)
 
PGDLLEXPORT Datum cloneLineSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (cloneLineSPV1)
 
LineSPconstructorLineSP (float8 A, float8 B, float8 C, LineSP *result)
 
PGDLLEXPORT Datum constructorLineSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (constructorLineSPV1)
 
LineSPinLineSP (const char *str, LineSP *result, char **error)
 
PGDLLEXPORT Datum inLineSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (inLineSPV1)
 
char * outLineSP (const LineSP *line)
 
PGDLLEXPORT Datum outLineSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (outLineSPV1)
 
PGDLLEXPORT Datum recvLineSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (recvLineSP)
 
bytea * LineSP2Bytea (const LineSP *line)
 
PGDLLEXPORT Datum sendLineSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (sendLineSP)
 
PGDLLEXPORT Datum hashLineSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (hashLineSP)
 
bool equalsLineSP (const LineSP *lineA, const LineSP *lineB)
 
PGDLLEXPORT Datum equalsLineSPV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (equalsLineSPV1)
 
PGDLLEXPORT Datum getALineSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getALineSP)
 
PGDLLEXPORT Datum getBLineSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getBLineSP)
 
PGDLLEXPORT Datum getCLineSP (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getCLineSP)
 

Detailed Description

The implementation of LineSP.

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

These functions are documented in the LineSP/Definition.h

Function Documentation

LineSP* cloneLineSP ( const LineSP line,
LineSP result 
)

Referenced by cloneLineSPV1().

PGDLLEXPORT Datum cloneLineSPV1 ( PG_FUNCTION_ARGS  )

References cloneLineSP().

Here is the call graph for this function:

LineSP* constructorLineSP ( float8  A,
float8  B,
float8  C,
LineSP result 
)

References LineSP::A, LineSP::B, and LineSP::C.

Referenced by constructorLineSPV1().

PGDLLEXPORT Datum constructorLineSPV1 ( PG_FUNCTION_ARGS  )

References constructorLineSP().

Here is the call graph for this function:

bool equalsLineSP ( const LineSP lineA,
const LineSP lineB 
)

References LineSP::A, LineSP::B, and LineSP::C.

Referenced by equalsLineSPV1().

PGDLLEXPORT Datum equalsLineSPV1 ( PG_FUNCTION_ARGS  )

References equalsLineSP().

Here is the call graph for this function:

PGDLLEXPORT Datum getALineSP ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getBLineSP ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getCLineSP ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum hashLineSP ( PG_FUNCTION_ARGS  )

References LineSP2Bytea().

Here is the call graph for this function:

LineSP* inLineSP ( const char *  str,
LineSP result,
char **  error 
)

References LineSP::A, asprintfHermes(), LineSP::B, and LineSP::C.

Referenced by inLineSPV1().

Here is the call graph for this function:

PGDLLEXPORT Datum inLineSPV1 ( PG_FUNCTION_ARGS  )

References inLineSP().

Here is the call graph for this function:

bytea* LineSP2Bytea ( const LineSP line)
char* outLineSP ( const LineSP line)

References LineSP::A, asprintfHermes(), LineSP::B, and LineSP::C.

Referenced by outLineSPV1().

Here is the call graph for this function:

PGDLLEXPORT Datum outLineSPV1 ( PG_FUNCTION_ARGS  )

References outLineSP().

Here is the call graph for this function:

PG_FUNCTION_INFO_V1 ( cloneLineSPV1  )
PG_FUNCTION_INFO_V1 ( constructorLineSPV1  )
PG_FUNCTION_INFO_V1 ( inLineSPV1  )
PG_FUNCTION_INFO_V1 ( outLineSPV1  )
PG_FUNCTION_INFO_V1 ( recvLineSP  )
PG_FUNCTION_INFO_V1 ( sendLineSP  )
PG_FUNCTION_INFO_V1 ( hashLineSP  )
PG_FUNCTION_INFO_V1 ( equalsLineSPV1  )
PG_FUNCTION_INFO_V1 ( getALineSP  )
PG_FUNCTION_INFO_V1 ( getBLineSP  )
PG_FUNCTION_INFO_V1 ( getCLineSP  )
PGDLLEXPORT Datum recvLineSP ( PG_FUNCTION_ARGS  )

References LineSP::A, LineSP::B, and LineSP::C.

PGDLLEXPORT Datum sendLineSP ( PG_FUNCTION_ARGS  )

References LineSP2Bytea().

Here is the call graph for this function: