Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomNetworking/RemoteModalityParameters.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 | fbc49a65340a |
children | 3af1d763763a |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomNetworking/RemoteModalityParameters.h Thu Nov 05 12:01:11 2020 +0100 +++ b/OrthancFramework/Sources/DicomNetworking/RemoteModalityParameters.h Thu Nov 05 15:52:28 2020 +0100 @@ -53,62 +53,32 @@ void UnserializeObject(const Json::Value& serialized); public: - RemoteModalityParameters() - { - Clear(); - } + RemoteModalityParameters(); - explicit RemoteModalityParameters(const Json::Value& serialized) - { - Unserialize(serialized); - } + explicit RemoteModalityParameters(const Json::Value& serialized); RemoteModalityParameters(const std::string& aet, const std::string& host, uint16_t port, ModalityManufacturer manufacturer); - const std::string& GetApplicationEntityTitle() const - { - return aet_; - } + const std::string& GetApplicationEntityTitle() const; - void SetApplicationEntityTitle(const std::string& aet) - { - aet_ = aet; - } + void SetApplicationEntityTitle(const std::string& aet); - const std::string& GetHost() const - { - return host_; - } + const std::string& GetHost() const; - void SetHost(const std::string& host) - { - host_ = host; - } + void SetHost(const std::string& host); - uint16_t GetPortNumber() const - { - return port_; - } + uint16_t GetPortNumber() const; void SetPortNumber(uint16_t port); - ModalityManufacturer GetManufacturer() const - { - return manufacturer_; - } + ModalityManufacturer GetManufacturer() const; - void SetManufacturer(ModalityManufacturer manufacturer) - { - manufacturer_ = manufacturer; - } + void SetManufacturer(ModalityManufacturer manufacturer); - void SetManufacturer(const std::string& manufacturer) - { - manufacturer_ = StringToModalityManufacturer(manufacturer); - } + void SetManufacturer(const std::string& manufacturer); bool IsRequestAllowed(DicomRequestType type) const; @@ -122,14 +92,8 @@ void Serialize(Json::Value& target, bool forceAdvancedFormat) const; - bool IsTranscodingAllowed() const - { - return allowTranscoding_; - } + bool IsTranscodingAllowed() const; - void SetTranscodingAllowed(bool allowed) - { - allowTranscoding_ = allowed; - } + void SetTranscodingAllowed(bool allowed); }; }