Shape_file_info Class Reference

#include <shapefile.h>

Inheritance diagram for Shape_file_info:

Inheritance graph
[legend]
Collaboration diagram for Shape_file_info:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Shape_file_info (const char *bnm, const char *pnm, Shape_group_file *g)
virtual ~Shape_file_info ()
const char * get_basename ()
const char * get_pathname ()
Shape_group_fileget_groups ()
void set_modified ()
virtual Vga_fileget_ifile ()
virtual Object_browsercreate_browser (Shape_file_info *vgafile, unsigned char *palbuf, Shape_group *g)
virtual Object_browserget_browser (Shape_file_info *vgafile, unsigned char *palbuf)
virtual std::ifstream * get_file ()
virtual Flexget_flex ()
virtual void flush ()
virtual bool revert ()

Protected Attributes

std::string basename
std::string pathname
Shape_group_filegroups
bool modified
Object_browserbrowser

Friends

class Shape_file_set

Detailed Description

Definition at line 42 of file shapefile.h.


Constructor & Destructor Documentation

Shape_file_info::Shape_file_info ( const char *  bnm,
const char *  pnm,
Shape_group_file g 
) [inline]

Definition at line 53 of file shapefile.h.

Shape_file_info::~Shape_file_info (  )  [virtual]

Definition at line 53 of file shapefile.cc.


Member Function Documentation

const char* Shape_file_info::get_basename (  )  [inline]

Definition at line 58 of file shapefile.h.

References basename.

Referenced by Object_browser::on_browser_file_revert().

const char* Shape_file_info::get_pathname (  )  [inline]

Definition at line 60 of file shapefile.h.

References pathname.

Shape_group_file* Shape_file_info::get_groups (  )  [inline]

Definition at line 62 of file shapefile.h.

References groups.

void Shape_file_info::set_modified (  )  [inline]

Definition at line 64 of file shapefile.h.

References modified.

Referenced by Import_png_tiles(), Combo_editor::save(), and ExultStudio::save_shape_window().

virtual Vga_file* Shape_file_info::get_ifile (  )  [inline, virtual]

Reimplemented in Image_file_info.

Definition at line 66 of file shapefile.h.

Referenced by Flex_file_info::create_browser(), Chunks_file_info::create_browser(), Image_file_info::create_browser(), Import_png(), Import_png_tiles(), Combo_chooser::load(), Shape_chooser::on_shapes_popup_edtiles_activate(), ExultStudio::open_shape_window(), and ExultStudio::save_shape_window().

virtual Object_browser* Shape_file_info::create_browser ( Shape_file_info vgafile,
unsigned char *  palbuf,
Shape_group g 
) [inline, virtual]

Reimplemented in Image_file_info, Chunks_file_info, and Flex_file_info.

Definition at line 69 of file shapefile.h.

Object_browser * Shape_file_info::get_browser ( Shape_file_info vgafile,
unsigned char *  palbuf 
) [virtual]

Definition at line 67 of file shapefile.cc.

Referenced by ExultStudio::create_browser().

virtual std::ifstream* Shape_file_info::get_file (  )  [inline, virtual]

Reimplemented in Chunks_file_info.

Definition at line 75 of file shapefile.h.

virtual Flex* Shape_file_info::get_flex (  )  [inline, virtual]

Reimplemented in Flex_file_info.

Definition at line 77 of file shapefile.h.

virtual void Shape_file_info::flush (  )  [inline, virtual]

Reimplemented in Image_file_info, Chunks_file_info, and Flex_file_info.

Definition at line 79 of file shapefile.h.

References modified.

Referenced by Object_browser::on_browser_file_save(), and ExultStudio::save_combos().

virtual bool Shape_file_info::revert (  )  [inline, virtual]

Reimplemented in Image_file_info, and Flex_file_info.

Definition at line 81 of file shapefile.h.

Referenced by Object_browser::on_browser_file_revert().


Friends And Related Function Documentation

friend class Shape_file_set [friend]

Definition at line 51 of file shapefile.h.


Member Data Documentation

std::string Shape_file_info::basename [protected]

Definition at line 45 of file shapefile.h.

Referenced by get_basename().

std::string Shape_file_info::pathname [protected]

Definition at line 46 of file shapefile.h.

Referenced by get_pathname().

Shape_group_file* Shape_file_info::groups [protected]

Definition at line 47 of file shapefile.h.

Referenced by get_groups().

bool Shape_file_info::modified [protected]

Definition at line 48 of file shapefile.h.

Referenced by flush(), and set_modified().

Object_browser* Shape_file_info::browser [protected]

Definition at line 49 of file shapefile.h.


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