|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-1d1e47ad9d
|
Imagery Library - List group. More...

Go to the source code of this file.
Functions | |
| int | I_list_group (const char *group, const struct Ref *ref, FILE *fd) |
| Prints maps in a group (fancy version) | |
| int | I_list_group_simple (const struct Ref *ref, FILE *fd) |
| Prints maps in a group (simple version) | |
| void | I__list_group_name_fit (char *buf, const char *name, const char *mapset) |
| Formats map name to fit in a 80 column layout. | |
Imagery Library - List group.
(C) 2001-2008 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file list_gp.c.
Formats map name to fit in a 80 column layout.
Results in a map name in the "<map@mapset>" form. If necessary truncates relevant part(s) and denotes with ellipsis, e.g. "<verylongmapname...@mapset>".
| [out] | buf | formatted map name |
| name | map name | |
| mapset | mapset name |
Definition at line 97 of file list_gp.c.
References name.
Referenced by I_list_group(), and I_list_subgroup().
Prints maps in a group (fancy version)
| group | group name |
| ref | group reference (set with I_get_group_ref()) |
| fd | where to print (typically stdout) |
Definition at line 26 of file list_gp.c.
References _, I__list_group_name_fit(), max, and AMI_STREAM< T >::name().
Prints maps in a group (simple version)
Same as I_list_group(), but without all the fancy stuff. Prints one map per line in map@mapset form.
| ref | group reference (set with I_get_group_ref()) |
| fd | where to print (typically stdout) |
Definition at line 73 of file list_gp.c.
References AMI_STREAM< T >::name().
Referenced by I_list_subgroup_simple().