CLAM::OutFilename Class Reference

#include <Filename.hxx>

Inheritance diagram for CLAM::OutFilename:

CLAM::Filename CLAM::Text basic_string CLAM::AudioOutFilename CLAM::ControlTraceOutFilename

List of all members.


Detailed Description

Output file name configuration field.

Common operations on std::string are available to this field. Specialize this class for concrete input file formats by redefining Filename::Filter and Filename::TypeFamily.

class OutImageFilename : public OutFilename
{
public:
        OutImageFilename(const std::string & s="") : OutFilename(s) {}
        OutImageFilename(const char * s) : OutFilename(s) {}
        virtual const char * TypeFamily() const { return "Image"; }
        virtual const Filter * Filters() const
        {
                static const Filter filters[] = {
                        {"Portable Network Graphics", "*.png"},
                        {"JPEG Image", "*.jpg"},
                        {0,0}
                };
                return filters;
        }
};
CLAM_TYPEINFOGROUP(BasicCTypeOutfo, OutImageFilename);
See also:
InFilename

Definition at line 138 of file Filename.hxx.


Public Member Functions

 OutFilename (const std::string &s="")
 OutFilename (const char *s)

Constructor & Destructor Documentation

CLAM::OutFilename::OutFilename ( const std::string &  s = ""  )  [inline]

Definition at line 141 of file Filename.hxx.

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

Definition at line 142 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