CLAM-Development
1.4.0
|
This class is a base class for configuration fields representing file names. More...
#include <Filename.hxx>
Classes | |
struct | Filter |
Item of a Filename filter definition. More... |
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 Filter * | Filters () 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. | |
![]() | |
Text () | |
Text (const std::string &value) | |
Text (const char *value) |
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.
Definition at line 44 of file Filename.hxx.
|
inline |
Definition at line 52 of file Filename.hxx.
|
inline |
Definition at line 53 of file Filename.hxx.
|
inline |
Definition at line 54 of file Filename.hxx.
|
inlinevirtual |
Definition at line 55 of file Filename.hxx.
|
inlinevirtual |
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::ControlTraceOutFilename, CLAM::ControlTraceInFilename, CLAM::InSDIFFilename, CLAM::AudioInFilename, and CLAM::AudioOutFilename.
Definition at line 64 of file Filename.hxx.
|
inlinevirtual |
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::ControlTraceOutFilename, CLAM::ControlTraceInFilename, CLAM::InSDIFFilename, CLAM::AudioInFilename, and CLAM::AudioOutFilename.
Definition at line 60 of file Filename.hxx.