Mercurial > hg > orthanc
diff OrthancFramework/Sources/JobsEngine/Operations/JobOperationValues.h @ 4300:b30a8de92ad9
abi continued
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 05 Nov 2020 19:33:18 +0100 |
parents | bf7b9edf6b81 |
children | 2ae905070221 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/JobsEngine/Operations/JobOperationValues.h Thu Nov 05 18:24:50 2020 +0100 +++ b/OrthancFramework/Sources/JobsEngine/Operations/JobOperationValues.h Thu Nov 05 19:33:18 2020 +0100 @@ -39,34 +39,19 @@ bool clear); public: - ~JobOperationValues() - { - Clear(); - } + ~JobOperationValues(); - void Move(JobOperationValues& target) - { - return Append(target, true); - } + void Move(JobOperationValues& target); - void Copy(JobOperationValues& target) - { - return Append(target, false); - } + void Copy(JobOperationValues& target); void Clear(); - void Reserve(size_t count) - { - values_.reserve(count); - } + void Reserve(size_t count); void Append(JobOperationValue* value); // Takes ownership - size_t GetSize() const - { - return values_.size(); - } + size_t GetSize() const; JobOperationValue& GetValue(size_t index) const;