CLAM::Filename Class Reference

#include <Filename.hxx>

Inheritance diagram for CLAM::Filename:

CLAM::Text basic_string CLAM::InFilename CLAM::OutFilename CLAM::AudioInFilename CLAM::ControlTraceInFilename CLAM::InSDIFFilename CLAM::AudioOutFilename CLAM::ControlTraceOutFilename

List of all members.


Detailed Description

This class is a base class for configuration fields representing file names.

By deriving from Text you have most of the std::string operations available and input serialization supporting spaces on reading.

Use InFilename and OutFilename subclasses to discriminate the serialization direction and subclass them to specify concrete filters and file type family names.

See also:
DirectoryName

Definition at line 44 of file Filename.hxx.


Public Member Functions

 Filename ()
 Filename (const std::string &s)
 Filename (const char *s)
virtual ~Filename ()
virtual const char * TypeFamily () const
 Rewrite this method to set a name for the type family name. It is used to build messages such as 'Open the audio file' where 'audio' is the type family.
virtual const FilterFilters () const
 Rewrite this method to define the set of filters that subclasses bounds to. See the examples on how to return it. Last item should be {0,0} for class users to stop iterating.

Classes

struct  Filter
 Item of a Filename filter definition. More...

Constructor & Destructor Documentation

CLAM::Filename::Filename (  )  [inline]

Definition at line 52 of file Filename.hxx.

CLAM::Filename::Filename ( const std::string &  s  )  [inline]

Definition at line 53 of file Filename.hxx.

CLAM::Filename::Filename ( const char *  s  )  [inline]

Definition at line 54 of file Filename.hxx.

virtual CLAM::Filename::~Filename (  )  [inline, virtual]

Definition at line 55 of file Filename.hxx.


Member Function Documentation

virtual const char* CLAM::Filename::TypeFamily (  )  const [inline, virtual]

Rewrite this method to set a name for the type family name. It is used to build messages such as 'Open the audio file' where 'audio' is the type family.

Reimplemented in CLAM::ControlTraceInFilename, CLAM::ControlTraceOutFilename, CLAM::InSDIFFilename, CLAM::AudioInFilename, and CLAM::AudioOutFilename.

Definition at line 60 of file Filename.hxx.

virtual const Filter* CLAM::Filename::Filters (  )  const [inline, virtual]

Rewrite this method to define the set of filters that subclasses bounds to. See the examples on how to return it. Last item should be {0,0} for class users to stop iterating.

Reimplemented in CLAM::ControlTraceInFilename, CLAM::ControlTraceOutFilename, CLAM::InSDIFFilename, CLAM::AudioInFilename, and CLAM::AudioOutFilename.

Definition at line 64 of file Filename.hxx.


The documentation for this class was generated from the following file:

Generated on Tue Aug 12 22:33:50 2008 for CLAM by  doxygen 1.5.5