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

Functions

Vector3DcloneVector3D (const Vector3D *vector, Vector3D *result)
 
PGDLLEXPORT Datum cloneVector3DV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (cloneVector3DV1)
 
Vector3DconstructorVector3D (float8 x, float8 y, float8 z, Vector3D *result)
 
PGDLLEXPORT Datum constructorVector3DV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (constructorVector3DV1)
 
Vector3DinVector3D (const char *str, Vector3D *result, char **error)
 
PGDLLEXPORT Datum inVector3DV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (inVector3DV1)
 
char * outVector3D (const Vector3D *vector)
 
PGDLLEXPORT Datum outVector3DV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (outVector3DV1)
 
PGDLLEXPORT Datum recvVector3D (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (recvVector3D)
 
bytea * Vector3D2Bytea (const Vector3D *vector)
 
PGDLLEXPORT Datum sendVector3D (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (sendVector3D)
 
PGDLLEXPORT Datum hashVector3D (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (hashVector3D)
 
bool equalsVector3D (const Vector3D *vectorA, const Vector3D *vectorB)
 
PGDLLEXPORT Datum equalsVector3DV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (equalsVector3DV1)
 
PGDLLEXPORT Datum getXVector3D (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getXVector3D)
 
PGDLLEXPORT Datum getYVector3D (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getYVector3D)
 
PGDLLEXPORT Datum getZVector3D (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getZVector3D)
 

Function Documentation

Vector3D* cloneVector3D ( const Vector3D vector,
Vector3D result 
)

Referenced by cloneVector3DV1().

PGDLLEXPORT Datum cloneVector3DV1 ( PG_FUNCTION_ARGS  )

References cloneVector3D().

Here is the call graph for this function:

Vector3D* constructorVector3D ( float8  x,
float8  y,
float8  z,
Vector3D result 
)

References Vector3D::x, Vector3D::y, and Vector3D::z.

Referenced by constructorVector3DV1().

PGDLLEXPORT Datum constructorVector3DV1 ( PG_FUNCTION_ARGS  )

References constructorVector3D().

Here is the call graph for this function:

bool equalsVector3D ( const Vector3D vectorA,
const Vector3D vectorB 
)

References Vector3D::x, Vector3D::y, and Vector3D::z.

Referenced by equalsVector3DV1().

PGDLLEXPORT Datum equalsVector3DV1 ( PG_FUNCTION_ARGS  )

References equalsVector3D().

Here is the call graph for this function:

PGDLLEXPORT Datum getXVector3D ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getYVector3D ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getZVector3D ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum hashVector3D ( PG_FUNCTION_ARGS  )

References Vector3D2Bytea().

Here is the call graph for this function:

Vector3D* inVector3D ( const char *  str,
Vector3D result,
char **  error 
)

References asprintfHermes(), Vector3D::x, Vector3D::y, and Vector3D::z.

Referenced by inVector3DV1().

Here is the call graph for this function:

PGDLLEXPORT Datum inVector3DV1 ( PG_FUNCTION_ARGS  )

References inVector3D().

Here is the call graph for this function:

char* outVector3D ( const Vector3D vector)

References asprintfHermes(), Vector3D::x, Vector3D::y, and Vector3D::z.

Referenced by outVector3DV1().

Here is the call graph for this function:

PGDLLEXPORT Datum outVector3DV1 ( PG_FUNCTION_ARGS  )

References outVector3D().

Here is the call graph for this function:

PG_FUNCTION_INFO_V1 ( cloneVector3DV1  )
PG_FUNCTION_INFO_V1 ( constructorVector3DV1  )
PG_FUNCTION_INFO_V1 ( inVector3DV1  )
PG_FUNCTION_INFO_V1 ( outVector3DV1  )
PG_FUNCTION_INFO_V1 ( recvVector3D  )
PG_FUNCTION_INFO_V1 ( sendVector3D  )
PG_FUNCTION_INFO_V1 ( hashVector3D  )
PG_FUNCTION_INFO_V1 ( equalsVector3DV1  )
PG_FUNCTION_INFO_V1 ( getXVector3D  )
PG_FUNCTION_INFO_V1 ( getYVector3D  )
PG_FUNCTION_INFO_V1 ( getZVector3D  )
PGDLLEXPORT Datum recvVector3D ( PG_FUNCTION_ARGS  )

References Vector3D::x, Vector3D::y, and Vector3D::z.

PGDLLEXPORT Datum sendVector3D ( PG_FUNCTION_ARGS  )

References Vector3D2Bytea().

Here is the call graph for this function:

bytea* Vector3D2Bytea ( const Vector3D vector)