comparison Core/Enumerations.h @ 3993:7e8bfda62b43

fix msvc builds
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Jun 2020 16:52:09 +0200
parents f9863630ec7f
children b3f09bc9734b
comparison
equal deleted inserted replaced
3992:f9863630ec7f 3993:7e8bfda62b43
805 ResourceType_Series = 3, 805 ResourceType_Series = 3,
806 ResourceType_Instance = 4 806 ResourceType_Instance = 4
807 }; 807 };
808 808
809 809
810 const char* EnumerationToString(ErrorCode code) ORTHANC_PUBLIC; 810 ORTHANC_PUBLIC
811 811 const char* EnumerationToString(ErrorCode code);
812 const char* EnumerationToString(HttpMethod method) ORTHANC_PUBLIC; 812
813 813 ORTHANC_PUBLIC
814 const char* EnumerationToString(HttpStatus status) ORTHANC_PUBLIC; 814 const char* EnumerationToString(HttpMethod method);
815 815
816 const char* EnumerationToString(ResourceType type) ORTHANC_PUBLIC; 816 ORTHANC_PUBLIC
817 817 const char* EnumerationToString(HttpStatus status);
818 const char* EnumerationToString(ImageFormat format) ORTHANC_PUBLIC; 818
819 819 ORTHANC_PUBLIC
820 const char* EnumerationToString(Encoding encoding) ORTHANC_PUBLIC; 820 const char* EnumerationToString(ResourceType type);
821 821
822 const char* EnumerationToString(PhotometricInterpretation photometric) ORTHANC_PUBLIC; 822 ORTHANC_PUBLIC
823 823 const char* EnumerationToString(ImageFormat format);
824 const char* EnumerationToString(LogLevel level) ORTHANC_PUBLIC; 824
825 825 ORTHANC_PUBLIC
826 const char* EnumerationToString(RequestOrigin origin) ORTHANC_PUBLIC; 826 const char* EnumerationToString(Encoding encoding);
827 827
828 const char* EnumerationToString(PixelFormat format) ORTHANC_PUBLIC; 828 ORTHANC_PUBLIC
829 829 const char* EnumerationToString(PhotometricInterpretation photometric);
830 const char* EnumerationToString(ModalityManufacturer manufacturer) ORTHANC_PUBLIC; 830
831 831 ORTHANC_PUBLIC
832 const char* EnumerationToString(DicomRequestType type) ORTHANC_PUBLIC; 832 const char* EnumerationToString(LogLevel level);
833 833
834 const char* EnumerationToString(TransferSyntax syntax) ORTHANC_PUBLIC; 834 ORTHANC_PUBLIC
835 835 const char* EnumerationToString(RequestOrigin origin);
836 const char* EnumerationToString(DicomVersion version) ORTHANC_PUBLIC; 836
837 837 ORTHANC_PUBLIC
838 const char* EnumerationToString(ValueRepresentation vr) ORTHANC_PUBLIC; 838 const char* EnumerationToString(PixelFormat format);
839 839
840 const char* EnumerationToString(JobState state) ORTHANC_PUBLIC; 840 ORTHANC_PUBLIC
841 841 const char* EnumerationToString(ModalityManufacturer manufacturer);
842 const char* EnumerationToString(MimeType mime) ORTHANC_PUBLIC; 842
843 843 ORTHANC_PUBLIC
844 const char* EnumerationToString(Endianness endianness) ORTHANC_PUBLIC; 844 const char* EnumerationToString(DicomRequestType type);
845 845
846 const char* EnumerationToString(StorageCommitmentFailureReason reason) ORTHANC_PUBLIC; 846 ORTHANC_PUBLIC
847 847 const char* EnumerationToString(TransferSyntax syntax);
848 Encoding StringToEncoding(const char* encoding) ORTHANC_PUBLIC; 848
849 849 ORTHANC_PUBLIC
850 ResourceType StringToResourceType(const char* type) ORTHANC_PUBLIC; 850 const char* EnumerationToString(DicomVersion version);
851 851
852 ImageFormat StringToImageFormat(const char* format) ORTHANC_PUBLIC; 852 ORTHANC_PUBLIC
853 853 const char* EnumerationToString(ValueRepresentation vr);
854 LogLevel StringToLogLevel(const char* level) ORTHANC_PUBLIC; 854
855 855 ORTHANC_PUBLIC
856 const char* EnumerationToString(JobState state);
857
858 ORTHANC_PUBLIC
859 const char* EnumerationToString(MimeType mime);
860
861 ORTHANC_PUBLIC
862 const char* EnumerationToString(Endianness endianness);
863
864 ORTHANC_PUBLIC
865 const char* EnumerationToString(StorageCommitmentFailureReason reason);
866
867 ORTHANC_PUBLIC
868 Encoding StringToEncoding(const char* encoding);
869
870 ORTHANC_PUBLIC
871 ResourceType StringToResourceType(const char* type);
872
873 ORTHANC_PUBLIC
874 ImageFormat StringToImageFormat(const char* format);
875
876 ORTHANC_PUBLIC
877 LogLevel StringToLogLevel(const char* level);
878
879 ORTHANC_PUBLIC
856 ValueRepresentation StringToValueRepresentation(const std::string& vr, 880 ValueRepresentation StringToValueRepresentation(const std::string& vr,
857 bool throwIfUnsupported) ORTHANC_PUBLIC; 881 bool throwIfUnsupported);
858 882
859 PhotometricInterpretation StringToPhotometricInterpretation(const char* value) ORTHANC_PUBLIC; 883 ORTHANC_PUBLIC
860 884 PhotometricInterpretation StringToPhotometricInterpretation(const char* value);
861 ModalityManufacturer StringToModalityManufacturer(const std::string& manufacturer) ORTHANC_PUBLIC; 885
862 886 ORTHANC_PUBLIC
863 DicomVersion StringToDicomVersion(const std::string& version) ORTHANC_PUBLIC; 887 ModalityManufacturer StringToModalityManufacturer(const std::string& manufacturer);
864 888
865 JobState StringToJobState(const std::string& state) ORTHANC_PUBLIC; 889 ORTHANC_PUBLIC
890 DicomVersion StringToDicomVersion(const std::string& version);
891
892 ORTHANC_PUBLIC
893 JobState StringToJobState(const std::string& state);
866 894
867 RequestOrigin StringToRequestOrigin(const std::string& origin) ORTHANC_PUBLIC; 895 ORTHANC_PUBLIC
868 896 RequestOrigin StringToRequestOrigin(const std::string& origin);
869 MimeType StringToMimeType(const std::string& mime) ORTHANC_PUBLIC; 897
898 ORTHANC_PUBLIC
899 MimeType StringToMimeType(const std::string& mime);
870 900
871 unsigned int GetBytesPerPixel(PixelFormat format) ORTHANC_PUBLIC; 901 ORTHANC_PUBLIC
872 902 unsigned int GetBytesPerPixel(PixelFormat format);
903
904 ORTHANC_PUBLIC
873 bool GetDicomEncoding(Encoding& encoding, 905 bool GetDicomEncoding(Encoding& encoding,
874 const char* specificCharacterSet) ORTHANC_PUBLIC; 906 const char* specificCharacterSet);
875 907
876 ResourceType GetChildResourceType(ResourceType type) ORTHANC_PUBLIC; 908 ORTHANC_PUBLIC
877 909 ResourceType GetChildResourceType(ResourceType type);
878 ResourceType GetParentResourceType(ResourceType type) ORTHANC_PUBLIC; 910
879 911 ORTHANC_PUBLIC
912 ResourceType GetParentResourceType(ResourceType type);
913
914 ORTHANC_PUBLIC
880 bool IsResourceLevelAboveOrEqual(ResourceType level, 915 bool IsResourceLevelAboveOrEqual(ResourceType level,
881 ResourceType reference) ORTHANC_PUBLIC; 916 ResourceType reference);
882 917
883 DicomModule GetModule(ResourceType type) ORTHANC_PUBLIC; 918 ORTHANC_PUBLIC
884 919 DicomModule GetModule(ResourceType type);
885 const char* GetDicomSpecificCharacterSet(Encoding encoding) ORTHANC_PUBLIC; 920
886 921 ORTHANC_PUBLIC
887 HttpStatus ConvertErrorCodeToHttpStatus(ErrorCode error) ORTHANC_PUBLIC; 922 const char* GetDicomSpecificCharacterSet(Encoding encoding);
888 923
889 bool IsUserContentType(FileContentType type) ORTHANC_PUBLIC; 924 ORTHANC_PUBLIC
890 925 HttpStatus ConvertErrorCodeToHttpStatus(ErrorCode error);
891 bool IsBinaryValueRepresentation(ValueRepresentation vr) ORTHANC_PUBLIC; 926
927 ORTHANC_PUBLIC
928 bool IsUserContentType(FileContentType type);
929
930 ORTHANC_PUBLIC
931 bool IsBinaryValueRepresentation(ValueRepresentation vr);
892 932
893 Encoding GetDefaultDicomEncoding() ORTHANC_PUBLIC; 933 ORTHANC_PUBLIC
894 934 Encoding GetDefaultDicomEncoding();
895 void SetDefaultDicomEncoding(Encoding encoding) ORTHANC_PUBLIC; 935
896 936 ORTHANC_PUBLIC
897 const char* GetTransferSyntaxUid(DicomTransferSyntax syntax) ORTHANC_PUBLIC; 937 void SetDefaultDicomEncoding(Encoding encoding);
898 938
899 bool IsRetiredTransferSyntax(DicomTransferSyntax syntax) ORTHANC_PUBLIC; 939 ORTHANC_PUBLIC
900 940 const char* GetTransferSyntaxUid(DicomTransferSyntax syntax);
941
942 ORTHANC_PUBLIC
943 bool IsRetiredTransferSyntax(DicomTransferSyntax syntax);
944
945 ORTHANC_PUBLIC
901 bool LookupTransferSyntax(DicomTransferSyntax& target, 946 bool LookupTransferSyntax(DicomTransferSyntax& target,
902 const std::string& uid) ORTHANC_PUBLIC; 947 const std::string& uid);
903 } 948 }