#include <shapegroup.h>
Collaboration diagram for Shape_group_file:
Public Member Functions | |
Shape_group_file (const char *nm) | |
~Shape_group_file () | |
int | size () |
Shape_group * | get (int i) |
void | clear () |
void | add (Shape_group *grp) |
void | set (Shape_group *grp, int i) |
void | insert (Shape_group *grp, int i) |
bool | is_modified () |
int | find (const char *nm) |
void | remove (int index, bool del=true) |
void | write () |
Private Attributes | |
std::string | name |
std::vector< Shape_group * > | groups |
bool | modified |
Friends | |
class | Shape_group |
Definition at line 64 of file shapegroup.h.
Shape_group_file::Shape_group_file | ( | const char * | nm | ) |
Definition at line 109 of file shapegroup.cc.
References len, Flex::number_of_objects(), Read2(), Flex::retrieve(), and U7exists().
Here is the call graph for this function:
Shape_group_file::~Shape_group_file | ( | ) |
Definition at line 166 of file shapegroup.cc.
int Shape_group_file::size | ( | ) | [inline] |
Definition at line 73 of file shapegroup.h.
References groups.
Referenced by Object_browser::add_group_submenu(), and ExultStudio::setup_groups().
Shape_group* Shape_group_file::get | ( | int | i | ) | [inline] |
Definition at line 75 of file shapegroup.h.
References groups.
Referenced by Object_browser::add_group_submenu(), ExultStudio::del_group(), ExultStudio::open_group_window(), and ExultStudio::setup_groups().
void Shape_group_file::clear | ( | ) | [inline] |
void Shape_group_file::add | ( | Shape_group * | grp | ) | [inline] |
void Shape_group_file::set | ( | Shape_group * | grp, | |
int | i | |||
) | [inline] |
Definition at line 81 of file shapegroup.h.
References groups, and modified.
Referenced by ExultStudio::groups_changed().
void Shape_group_file::insert | ( | Shape_group * | grp, | |
int | i | |||
) | [inline] |
Definition at line 83 of file shapegroup.h.
References groups, and modified.
Referenced by ExultStudio::groups_changed().
bool Shape_group_file::is_modified | ( | ) | [inline] |
Definition at line 85 of file shapegroup.h.
References modified.
Referenced by ExultStudio::groups_modified(), and ExultStudio::save_groups().
int Shape_group_file::find | ( | const char * | nm | ) |
void Shape_group_file::remove | ( | int | index, | |
bool | del = true | |||
) |
void Shape_group_file::write | ( | ) |
Definition at line 197 of file shapegroup.cc.
References EStudio::Alert(), Flex_writer::close(), len, Flex_writer::mark_section_done(), U7open(), and Write2().
Referenced by ExultStudio::save_groups().
Here is the call graph for this function:
friend class Shape_group [friend] |
Definition at line 70 of file shapegroup.h.
std::string Shape_group_file::name [private] |
Definition at line 66 of file shapegroup.h.
std::vector<Shape_group *> Shape_group_file::groups [private] |
bool Shape_group_file::modified [private] |
Definition at line 68 of file shapegroup.h.
Referenced by add(), insert(), is_modified(), and set().