LRAUV  revA
FileEncoder.h
Go to the documentation of this file.
1 
10 #ifndef FILEENCODER_H_
11 #define FILEENCODER_H_
12 
21 {
22 public:
23 
24  virtual ~FileEncoder()
25  {}
26 
27  virtual bool encode( const char* inFilename, const char* outFilename = 0, const char* renameFilename = 0 ) = 0;
28 
29 protected:
30 
32  {}
33 
34 private:
35 
36  // Note that the copy constructor below is private and not given a body.
37  // Any attempt to call it will return a compiler error.
38  FileEncoder( const FileEncoder& old ); // disallow copy constructor
39 
40 };
41 
42 #endif /* FILEENCODER_H_ */
virtual bool encode(const char *inFilename, const char *outFilename=0, const char *renameFilename=0)=0
FileEncoder()
Definition: FileEncoder.h:31
virtual ~FileEncoder()
Definition: FileEncoder.h:24
This is a rather abstract class that can be implemented by classes that encode a (closed) file...
Definition: FileEncoder.h:20