get_type.c File Reference
#include "common.h"
#include <string.h>
#include "bu/cmd.h"
#include "./ged_private.h"
Include dependency graph for get_type.c:

Go to the source code of this file.


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

Detailed Description

The get_type command.

Definition in file get_type.c.

Function Documentation

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

Get the object's type

Definition at line 36 of file get_type.c.

References bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, rt_db_internal::idb_major_type, rt_db_internal::idb_minor_type, rt_arb_std_type(), rt_db_free_internal(), usage(), wdb_import_from_path(), and rt_wdb::wdb_tol.

Here is the call graph for this function: