CoyoteDataSet: Functions to support CoyoteDataSet type object manipulation.


Typedefs

typedef __CoyoteDataSet CoyoteDataSet
 The CoyoteDataSet object, used by Af-Arch framework as its table representation to be exchange between Af-Arch nodes.

Functions

void coyote_dataset_add (CoyoteDataSet *data, gchar *user_data)
 Adds data into the current CoyoteDataSet row.
void coyote_dataset_add_nth (CoyoteDataSet *data,...)
 Adds several elements on the current row allowing stdarg arguments.
void coyote_dataset_free (CoyoteDataSet *data)
 Destroy the given CoyoteDataSet object.
const gchar * coyote_dataset_get (CoyoteDataSet *data, gint row, gint col)
 Get data from the given CoyoteDataSet at the given position.
gint coyote_dataset_get_height (CoyoteDataSet *data)
 Returns the current CoyoteDataSet object height.
gint coyote_dataset_get_width (CoyoteDataSet *data)
 Returns the current CoyoteDataSet object width.
gboolean coyote_dataset_is_empty (CoyoteDataSet *dataset)
 Checks if the given dataset is empty.
gboolean coyote_dataset_is_negative (CoyoteDataSet *data, gint row, gint col)
 Returns if the given cell, defined by row and col, have a negative boolean value.
gboolean coyote_dataset_is_positive (CoyoteDataSet *data, gint row, gint col)
 Returns if the given cell, defined by row and col, have a positive boolean value.
gint coyote_dataset_lookup_row (CoyoteDataSet *data, gint column, const gchar *value)
 Perform a lookup on the given CoyoteDataSet at an especific column.
CoyoteDataSetcoyote_dataset_new ()
 Creates a new CoyoteDataSet empty object.
void coyote_dataset_new_row (CoyoteDataSet *data)
 Adds a new row to the given CoyoteDataSet object.
void coyote_dataset_print (CoyoteDataSet *data)
 Prints to the console the current CoyoteDataSet object content.
gboolean coyote_dataset_set (CoyoteDataSet *dataset, gchar *data, gint row, gint col)
 Sets data into the given CoyoteDataSet at the given position.