comparison OrthancFramework/Sources/FileStorage/FileInfo.cpp @ 4519:a3c6678aa7b1

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 22 Feb 2021 16:51:23 +0100
parents 3b4940bca158
children 7053502fbf97
comparison
equal deleted inserted replaced
4518:cb8fcecf1b02 4519:a3c6678aa7b1
25 25
26 #include "../OrthancException.h" 26 #include "../OrthancException.h"
27 27
28 namespace Orthanc 28 namespace Orthanc
29 { 29 {
30 FileInfo::FileInfo() :
31 valid_(false),
32 contentType_(FileContentType_Unknown),
33 uncompressedSize_(0),
34 compressionType_(CompressionType_None),
35 compressedSize_(0)
36 {
37 }
38
39
30 FileInfo::FileInfo(const std::string& uuid, 40 FileInfo::FileInfo(const std::string& uuid,
31 FileContentType contentType, 41 FileContentType contentType,
32 uint64_t size, 42 uint64_t size,
33 const std::string& md5) : 43 const std::string& md5) :
34 valid_(true), 44 valid_(true),