comparison OrthancFramework/Sources/DicomFormat/DicomValue.h @ 4296:3b70a2e6a06c

moving inline methods to source files for ABI compatibility
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 05 Nov 2020 15:52:28 +0100
parents bf7b9edf6b81
children 50b0c69b653a
comparison
equal deleted inserted replaced
4295:90f91b78d708 4296:3b70a2e6a06c
49 std::string content_; 49 std::string content_;
50 50
51 DicomValue(const DicomValue& other); 51 DicomValue(const DicomValue& other);
52 52
53 public: 53 public:
54 DicomValue() : type_(Type_Null) 54 DicomValue();
55 {
56 }
57 55
58 DicomValue(const std::string& content, 56 DicomValue(const std::string& content,
59 bool isBinary); 57 bool isBinary);
60 58
61 DicomValue(const char* data, 59 DicomValue(const char* data,
62 size_t size, 60 size_t size,
63 bool isBinary); 61 bool isBinary);
64 62
65 const std::string& GetContent() const; 63 const std::string& GetContent() const;
66 64
67 bool IsNull() const 65 bool IsNull() const;
68 {
69 return type_ == Type_Null;
70 }
71 66
72 bool IsBinary() const 67 bool IsBinary() const;
73 {
74 return type_ == Type_Binary;
75 }
76 68
77 DicomValue* Clone() const; 69 DicomValue* Clone() const;
78 70
79 #if ORTHANC_ENABLE_BASE64 == 1 71 #if ORTHANC_ENABLE_BASE64 == 1
80 void FormatDataUriScheme(std::string& target, 72 void FormatDataUriScheme(std::string& target,