Hermes
 All Data Structures Files Functions Variables Macros Pages
Definition.c File Reference
#include "../../h/Math/Vector2D/Definition.h"
#include "../../h/Utilities/Utilities.h"
#include <libpq/pqformat.h>
#include <access/hash.h>
Include dependency graph for Definition.c:

Functions

Vector2DcloneVector2D (const Vector2D *vector, Vector2D *result)
 
PGDLLEXPORT Datum cloneVector2DV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (cloneVector2DV1)
 
Vector2DconstructorVector2D (float8 x, float8 y, Vector2D *result)
 
PGDLLEXPORT Datum constructorVector2DV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (constructorVector2DV1)
 
Vector2DinVector2D (const char *str, Vector2D *result, char **error)
 
PGDLLEXPORT Datum inVector2DV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (inVector2DV1)
 
char * outVector2D (const Vector2D *vector)
 
PGDLLEXPORT Datum outVector2DV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (outVector2DV1)
 
PGDLLEXPORT Datum recvVector2D (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (recvVector2D)
 
bytea * Vector2D2Bytea (const Vector2D *vector)
 
PGDLLEXPORT Datum sendVector2D (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (sendVector2D)
 
PGDLLEXPORT Datum hashVector2D (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (hashVector2D)
 
bool equalsVector2D (const Vector2D *vectorA, const Vector2D *vectorB)
 
PGDLLEXPORT Datum equalsVector2DV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (equalsVector2DV1)
 
PGDLLEXPORT Datum getXVector2D (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getXVector2D)
 
PGDLLEXPORT Datum getYVector2D (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getYVector2D)
 

Function Documentation

Vector2D* cloneVector2D ( const Vector2D vector,
Vector2D result 
)

Referenced by cloneVector2DV1().

PGDLLEXPORT Datum cloneVector2DV1 ( PG_FUNCTION_ARGS  )

References cloneVector2D().

Here is the call graph for this function:

Vector2D* constructorVector2D ( float8  x,
float8  y,
Vector2D result 
)

References Vector2D::x, and Vector2D::y.

Referenced by constructorVector2DV1().

PGDLLEXPORT Datum constructorVector2DV1 ( PG_FUNCTION_ARGS  )

References constructorVector2D().

Here is the call graph for this function:

bool equalsVector2D ( const Vector2D vectorA,
const Vector2D vectorB 
)

References Vector2D::x, and Vector2D::y.

Referenced by equalsVector2DV1().

PGDLLEXPORT Datum equalsVector2DV1 ( PG_FUNCTION_ARGS  )

References equalsVector2D().

Here is the call graph for this function:

PGDLLEXPORT Datum getXVector2D ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getYVector2D ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum hashVector2D ( PG_FUNCTION_ARGS  )

References Vector2D2Bytea().

Here is the call graph for this function:

Vector2D* inVector2D ( const char *  str,
Vector2D result,
char **  error 
)

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

Referenced by inVector2DV1().

Here is the call graph for this function:

PGDLLEXPORT Datum inVector2DV1 ( PG_FUNCTION_ARGS  )

References inVector2D().

Here is the call graph for this function:

char* outVector2D ( const Vector2D vector)

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

Referenced by outVector2DV1().

Here is the call graph for this function:

PGDLLEXPORT Datum outVector2DV1 ( PG_FUNCTION_ARGS  )

References outVector2D().

Here is the call graph for this function:

PG_FUNCTION_INFO_V1 ( cloneVector2DV1  )
PG_FUNCTION_INFO_V1 ( constructorVector2DV1  )
PG_FUNCTION_INFO_V1 ( inVector2DV1  )
PG_FUNCTION_INFO_V1 ( outVector2DV1  )
PG_FUNCTION_INFO_V1 ( recvVector2D  )
PG_FUNCTION_INFO_V1 ( sendVector2D  )
PG_FUNCTION_INFO_V1 ( hashVector2D  )
PG_FUNCTION_INFO_V1 ( equalsVector2DV1  )
PG_FUNCTION_INFO_V1 ( getXVector2D  )
PG_FUNCTION_INFO_V1 ( getYVector2D  )
PGDLLEXPORT Datum recvVector2D ( PG_FUNCTION_ARGS  )

References Vector2D::x, and Vector2D::y.

PGDLLEXPORT Datum sendVector2D ( PG_FUNCTION_ARGS  )

References Vector2D2Bytea().

Here is the call graph for this function:

bytea* Vector2D2Bytea ( const Vector2D vector)