Shape_group_file Class Reference

#include <shapegroup.h>

Collaboration diagram for Shape_group_file:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Shape_group_file (const char *nm)
 ~Shape_group_file ()
int size ()
Shape_groupget (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

Detailed Description

Definition at line 64 of file shapegroup.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Definition at line 77 of file shapegroup.h.

References groups.

void Shape_group_file::add ( Shape_group grp  )  [inline]

Definition at line 79 of file shapegroup.h.

References groups, and modified.

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  ) 

Definition at line 150 of file shapegroup.cc.

Referenced by ExultStudio::add_group().

void Shape_group_file::remove ( int  index,
bool  del = true 
)

Definition at line 179 of file shapegroup.cc.

Referenced by ExultStudio::groups_changed().

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:


Friends And Related Function Documentation

friend class Shape_group [friend]

Definition at line 70 of file shapegroup.h.


Member Data Documentation

std::string Shape_group_file::name [private]

Definition at line 66 of file shapegroup.h.

std::vector<Shape_group *> Shape_group_file::groups [private]

Definition at line 67 of file shapegroup.h.

Referenced by add(), clear(), get(), insert(), set(), and size().

bool Shape_group_file::modified [private]

Definition at line 68 of file shapegroup.h.

Referenced by add(), insert(), is_modified(), and set().


The documentation for this class was generated from the following files:
Generated on Mon Jul 9 15:02:25 2007 for ExultEngine by  doxygen 1.5.1