ExtFileFilter Class Reference

Class extending Gtk::FileFilter to allow to store file extensions with the class. More...

#include <extfilefilter.h>

List of all members.

Public Member Functions

 ExtFileFilter ()
void set_filetype (FileType ft)
 Set the file type according the values specified in FileType.
FileType get_filetype () const
 Get the file type.
void set_extension (const std::string &ext)
 Set the extension associated with the file type.
std::string get_extension () const
 Get the extension.

Private Attributes

FileType filetype
 The file type.
std::string extension
 The extension associated with the file type.


Detailed Description

Class extending Gtk::FileFilter to allow to store file extensions with the class.


Constructor & Destructor Documentation

ExtFileFilter::ExtFileFilter (  )  [inline]


Member Function Documentation

void ExtFileFilter::set_filetype ( FileType  ft  )  [inline]

Set the file type according the values specified in FileType.

Parameters:
ft The file type.

FileType ExtFileFilter::get_filetype (  )  const [inline]

Get the file type.

Returns:
A FileType.

void ExtFileFilter::set_extension ( const std::string &  ext  )  [inline]

Set the extension associated with the file type.

Parameters:
ext a std::string specifying the extension, e.g. ".xvs".

std::string ExtFileFilter::get_extension (  )  const [inline]

Get the extension.

Returns:
a std::string holding the extension.


Member Data Documentation

FileType ExtFileFilter::filetype [private]

The file type.

std::string ExtFileFilter::extension [private]

The extension associated with the file type.


The documentation for this class was generated from the following file:
Generated on Tue Sep 11 01:14:32 2007 for gvectors by  doxygen 1.4.7