json_journal.h File Reference

#include <stdio.h>
#include <json-c/json.h>
#include <json-c/json_more_utils.h>
#include "laser_data_json.h"
Include dependency graph for json_journal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define JJ   jj_enabled()


void jj_add (const char *name, JO)
void jj_add_double (const char *name, double)
void jj_add_double_array (const char *name, double *, int)
void jj_add_int (const char *name, int)
void jj_add_int_array (const char *name, int *, int)
void jj_context_enter (const char *context_name)
void jj_context_exit (void)
int jj_enabled (void)
FILE * jj_get_stream (void)
void jj_loop_enter (const char *loop_name)
void jj_loop_exit (void)
void jj_loop_iteration (void)
void jj_must_be_array (void)
void jj_must_be_hash (void)
void jj_set_stream (FILE *)
void jj_stack_pop (void)
void jj_stack_push (JO jo)
JO jj_stack_top (void)

Define Documentation

#define JJ   jj_enabled()

This is a collection of functions for debugging purposes only. It's a little cryptic, but if you don't understand them, don't worry.

The information used by this is used primarily to create the icp animation videos. Public interface

Definition at line 21 of file json_journal.h.

Function Documentation

void jj_add ( const char *  name,
void jj_add_double ( const char *  name,
void jj_add_double_array ( const char *  name,
double *  ,
void jj_add_int ( const char *  name,
void jj_add_int_array ( const char *  name,
int *  ,
void jj_context_enter ( const char *  context_name  ) 
void jj_context_exit ( void   ) 
int jj_enabled ( void   ) 
FILE* jj_get_stream ( void   ) 
void jj_loop_enter ( const char *  loop_name  ) 
void jj_loop_exit ( void   ) 
void jj_loop_iteration ( void   ) 
void jj_must_be_array ( void   ) 

(private) Asserts if the stack top is not an array.

void jj_must_be_hash ( void   ) 

(private) Asserts if the stack top is not an hash.

void jj_set_stream ( FILE *   ) 
void jj_stack_pop ( void   ) 
void jj_stack_push ( JO  jo  ) 

(private) Pushes an object onto the stack.

JO jj_stack_top ( void   ) 

(private) Gets the top of the stack.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines

Author(s): Ivan Dryanovski, William Morris
autogenerated on Fri Jan 11 09:15:58 2013