BRL-CAD
tree.c File Reference
#include "common.h"
#include <stdlib.h>
#include <errno.h>
#include <limits.h>
#include "bu/cmd.h"
#include "bu/getopt.h"
#include "./ged_private.h"
Include dependency graph for tree.c:

Go to the source code of this file.

Macros

#define WHOARGVMAX   256
 

Functions

int ged_tree (struct ged *gedp, int argc, const char *argv[])
 

Detailed Description

The tree command.

Definition in file tree.c.

Macro Definition Documentation

#define WHOARGVMAX   256

Referenced by ged_tree().

Function Documentation

int ged_tree ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Return the object hierarchy for all object(s) specified or for all currently displayed

Definition at line 47 of file tree.c.

References _ged_print_node(), _GED_TREE_AFLAG, _GED_TREE_CFLAG, bu_argv_from_string(), bu_free(), bu_getopt(), bu_optarg, bu_optind, bu_strdup, bu_vls_addr(), bu_vls_printf(), bu_vls_trunc(), db_lookup(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_DRAWABLE, GED_ERROR, GED_OK, ged::ged_result_str, ged::ged_wdbp, ged_who(), LOOKUP_NOISY, RT_DIR_NULL, usage(), and WHOARGVMAX.

Here is the call graph for this function: