BRL-CAD
make_name.c File Reference
#include "common.h"
#include <string.h>
#include "ged.h"
Include dependency graph for make_name.c:

Go to the source code of this file.

Functions

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

Detailed Description

The make_name command.

Definition in file make_name.c.

Function Documentation

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

Make a unique object name.

Definition at line 31 of file make_name.c.

References BU_STR_EQUAL, bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), bu_vls_putc(), bu_vls_strcat(), bu_vls_trunc(), db_lookup(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, LOOKUP_QUIET, RT_DIR_NULL, and usage().

Referenced by ged_bot_split(), and ged_make().

Here is the call graph for this function: