Hermes
 All Data Structures Files Functions Variables Macros Pages
Definition.h File Reference
Include dependency graph for Definition.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  Trajectory
 

Macros

#define NrPoints2NrSegments(NrPoints)   ((NrPoints) == 0 ? 0 : (NrPoints) - 1)
 

Functions

TrajectoryallocateTrajectory (int32 NrPoints)
 
TrajectoryreallocateTrajectory (Trajectory *trajectory, int32 NrPoints)
 
TrajectoryupdateMetadataTrajectory (Trajectory *trajectory)
 
TrajectorycloneTrajectory (const Trajectory *trajectory)
 
PGDLLEXPORT Datum cloneTrajectoryV1 (PG_FUNCTION_ARGS)
 
TrajectoryinTrajectory (const char *str, char **error)
 
PGDLLEXPORT Datum inTrajectoryV1 (PG_FUNCTION_ARGS)
 
char * outTrajectory (const Trajectory *trajectory)
 
PGDLLEXPORT Datum outTrajectoryV1 (PG_FUNCTION_ARGS)
 
PGDLLEXPORT Datum recvTrajectory (PG_FUNCTION_ARGS)
 
bytea * Trajectory2Bytea (const Trajectory *trajectory)
 
PGDLLEXPORT Datum sendTrajectory (PG_FUNCTION_ARGS)
 
PGDLLEXPORT Datum hashTrajectory (PG_FUNCTION_ARGS)
 
bool equalsTrajectory (const Trajectory *trajectoryA, const Trajectory *trajectoryB)
 
PGDLLEXPORT Datum equalsTrajectoryV1 (PG_FUNCTION_ARGS)
 

Macro Definition Documentation

#define NrPoints2NrSegments (   NrPoints)    ((NrPoints) == 0 ? 0 : (NrPoints) - 1)

Function Documentation

PGDLLEXPORT Datum cloneTrajectoryV1 ( PG_FUNCTION_ARGS  )

References cloneTrajectory().

Here is the call graph for this function:

bool equalsTrajectory ( const Trajectory trajectoryA,
const Trajectory trajectoryB 
)

References equalsPointST(), i(), Trajectory::NrPoints, and Trajectory::points.

Referenced by equalsTrajectoryV1().

Here is the call graph for this function:

PGDLLEXPORT Datum equalsTrajectoryV1 ( PG_FUNCTION_ARGS  )

References equalsTrajectory().

Here is the call graph for this function:

PGDLLEXPORT Datum hashTrajectory ( PG_FUNCTION_ARGS  )

References Trajectory2Bytea().

Here is the call graph for this function:

Trajectory* inTrajectory ( const char *  str,
char **  error 
)

References allocateTrajectory(), asprintfHermes(), Trajectory::points, PointST::sp, PointST::t, PointSP::x, and PointSP::y.

Referenced by inTrajectoryV1().

Here is the call graph for this function:

PGDLLEXPORT Datum inTrajectoryV1 ( PG_FUNCTION_ARGS  )

References inTrajectory(), and updateMetadataTrajectory().

Here is the call graph for this function:

char* outTrajectory ( const Trajectory trajectory)

References asprintfHermes(), i(), Trajectory::NrPoints, Trajectory::points, PointST::sp, PointST::t, PointSP::x, and PointSP::y.

Referenced by outTrajectoryV1().

Here is the call graph for this function:

PGDLLEXPORT Datum outTrajectoryV1 ( PG_FUNCTION_ARGS  )

References outTrajectory().

Here is the call graph for this function:

Trajectory* reallocateTrajectory ( Trajectory trajectory,
int32  NrPoints 
)

References points(), size(), and trajectory().

Referenced by expandOnPointTrajectory(), expandOnSegmentTrajectory(), and expandOnTrajectoryTrajectory().

Here is the call graph for this function:

PGDLLEXPORT Datum recvTrajectory ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum sendTrajectory ( PG_FUNCTION_ARGS  )

References Trajectory2Bytea().

Here is the call graph for this function:

bytea* Trajectory2Bytea ( const Trajectory trajectory)