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

Go to the source code of this file.

Functions

HIDDEN int move_all_func (struct ged *gedp, int nflag, const char *old_name, const char *new_name)
 
HIDDEN int move_all_file (struct ged *gedp, int nflag, const char *file)
 
int ged_move_all (struct ged *gedp, int argc, const char *argv[])
 

Detailed Description

The move_all command.

Definition in file move_all.c.

Function Documentation

HIDDEN int move_all_file ( struct ged gedp,
int  nflag,
const char *  file 
)

Definition at line 217 of file move_all.c.

References bu_argv_from_string(), bu_fgets(), bu_vls_printf(), GED_ERROR, GED_OK, ged::ged_result_str, move_all_func(), and strchr().

Referenced by ged_move_all().

Here is the call graph for this function:

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

Move/rename all occurrences object

Definition at line 248 of file move_all.c.

References bu_getopt(), bu_optind, bu_vls_printf(), bu_vls_trunc(), db_version(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, ged::ged_result_str, ged::ged_wdbp, move_all_file(), move_all_func(), and usage().

Here is the call graph for this function: