comparison Core/Enumerations.h @ 2569:2af17cd5eb1f jobs

reorganization
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 07 May 2018 15:37:20 +0200
parents 83b8b6743531
children 8da2cffc2378
comparison
equal deleted inserted replaced
2568:a46094602346 2569:2af17cd5eb1f
540 TransferSyntax_Jpip, 540 TransferSyntax_Jpip,
541 TransferSyntax_Mpeg2, 541 TransferSyntax_Mpeg2,
542 TransferSyntax_Rle 542 TransferSyntax_Rle
543 }; 543 };
544 544
545 enum JobState
546 {
547 JobState_Pending,
548 JobState_Running,
549 JobState_Success,
550 JobState_Failure,
551 JobState_Paused,
552 JobState_Retry
553 };
554
555 enum JobStepCode
556 {
557 JobStepCode_Success,
558 JobStepCode_Failure,
559 JobStepCode_Continue,
560 JobStepCode_Retry
561 };
562
545 563
546 /** 564 /**
547 * WARNING: Do not change the explicit values in the enumerations 565 * WARNING: Do not change the explicit values in the enumerations
548 * below this point. This would result in incompatible databases 566 * below this point. This would result in incompatible databases
549 * between versions of Orthanc! 567 * between versions of Orthanc!
620 638
621 const char* EnumerationToString(DicomVersion version); 639 const char* EnumerationToString(DicomVersion version);
622 640
623 const char* EnumerationToString(ValueRepresentation vr); 641 const char* EnumerationToString(ValueRepresentation vr);
624 642
643 const char* EnumerationToString(JobState state);
644
625 Encoding StringToEncoding(const char* encoding); 645 Encoding StringToEncoding(const char* encoding);
626 646
627 ResourceType StringToResourceType(const char* type); 647 ResourceType StringToResourceType(const char* type);
628 648
629 ImageFormat StringToImageFormat(const char* format); 649 ImageFormat StringToImageFormat(const char* format);