comparison OrthancStone/Sources/Oracle/ReadFileCommand.h @ 1571:85e117739eca

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Sep 2020 17:46:39 +0200
parents 244ad1e4e76a
children 4fb8fdf03314
comparison
equal deleted inserted replaced
1570:9a04f42098a3 1571:85e117739eca
53 53
54 private: 54 private:
55 std::string path_; 55 std::string path_;
56 56
57 public: 57 public:
58 ReadFileCommand(const std::string& path) : 58 explicit ReadFileCommand(const std::string& path) :
59 path_(path) 59 path_(path)
60 { 60 {
61 } 61 }
62 62
63 virtual Type GetType() const 63 virtual Type GetType() const ORTHANC_OVERRIDE
64 { 64 {
65 return Type_ReadFile; 65 return Type_ReadFile;
66 } 66 }
67 67
68 virtual IOracleCommand* Clone() const 68 virtual IOracleCommand* Clone() const ORTHANC_OVERRIDE
69 { 69 {
70 return new ReadFileCommand(path_); 70 return new ReadFileCommand(path_);
71 } 71 }
72 72
73 const std::string& GetPath() const 73 const std::string& GetPath() const