Mercurial > hg > orthanc
comparison Core/Toolbox.cpp @ 885:0570a8c859cb plugins
SharedLibrary class
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 14 Jun 2014 16:53:28 +0200 |
parents | a811bdf8b8eb |
children | 517e28b420af |
comparison
equal
deleted
inserted
replaced
884:cd8a69aa4093 | 885:0570a8c859cb |
---|---|
843 { | 843 { |
844 throw OrthancException("Unable to create the directory: " + path); | 844 throw OrthancException("Unable to create the directory: " + path); |
845 } | 845 } |
846 } | 846 } |
847 } | 847 } |
848 | |
849 | |
850 bool Toolbox::IsExistingFile(const std::string& path) | |
851 { | |
852 return boost::filesystem::exists(path); | |
853 } | |
854 | |
848 } | 855 } |
849 | 856 |