BRL-CAD
#include "common.h"
#include "bu/defines.h"
#include "bu/vls.h"
Include dependency graph for tbl.h:

Go to the source code of this file.

Macros

#define BU_TBL_INIT_ZERO   {0}
 

Enumerations

enum  bu_tbl_style {
  BU_TBL_STYLE_NONE , BU_TBL_STYLE_LIST , BU_TBL_STYLE_BASIC , BU_TBL_STYLE_SINGLE ,
  BU_TBL_STYLE_DOUBLE , BU_TBL_ALIGN_LEFT , BU_TBL_ALIGN_CENTER , BU_TBL_ALIGN_RIGHT ,
  BU_TBL_ROW_HEADER , BU_TBL_ROW_SEPARATOR , BU_TBL_ROW_ALIGN_LEFT , BU_TBL_ROW_ALIGN_CENTER ,
  BU_TBL_ROW_ALIGN_RIGHT , BU_TBL_COL_ALIGN_LEFT , BU_TBL_COL_ALIGN_CENTER , BU_TBL_COL_ALIGN_RIGHT ,
  BU_TBL_ROW_END
}
 

Functions

struct bu_tbl * bu_tbl_create (void)
 
void bu_tbl_destroy (struct bu_tbl *)
 
int bu_tbl_clear (struct bu_tbl *)
 
struct bu_tbl * bu_tbl_style (struct bu_tbl *, enum bu_tbl_style)
 
struct bu_tbl * bu_tbl_is_at (struct bu_tbl *, size_t *row, size_t *col)
 
struct bu_tbl * bu_tbl_go_to (struct bu_tbl *, size_t row, size_t col)
 
struct bu_tbl * bu_tbl_printf (struct bu_tbl *, const char *fmt,...)
 
void bu_tbl_vls (struct bu_vls *str, const struct bu_tbl *t)