LRAUV  revA
HasFilename.h
Go to the documentation of this file.
1 
10 #ifndef HASFILENAME_H_
11 #define HASFILENAME_H_
12 
13 #include "utils/Str.h"
14 
21 {
22 public:
23 
24  virtual const Str& getFilename() = 0;
25 
26  virtual ~HasFilename() {}
27 
28 protected:
29  // Protected constructor for abstract base class
31 
32 private:
33  // Note that the copy constructor below is private and not given a body.
34  // Any attempt to call it will return a compiler error.
35  HasFilename( const HasFilename& old ); // disallow copy constructor
36 
37 
38 };
39 
40 #endif /*HASFILENAME_H_*/
virtual ~HasFilename()
Definition: HasFilename.h:26
Replacement for standard template class string.
Definition: Str.h:12
HasFilename()
Definition: HasFilename.h:30
virtual const Str & getFilename()=0
Simple Interface that contains getFilename() function.
Definition: HasFilename.h:20