Mercurial > hg > orthanc
diff Plugins/Include/orthanc/OrthancCPlugin.h @ 1760:51db4a25a741 db-changes
LookupIdentifier is plugins
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 29 Oct 2015 11:09:00 +0100 |
parents | d143db00a794 |
children | 57b9e6890482 |
line wrap: on
line diff
--- a/Plugins/Include/orthanc/OrthancCPlugin.h Wed Oct 28 12:59:18 2015 +0100 +++ b/Plugins/Include/orthanc/OrthancCPlugin.h Thu Oct 29 11:09:00 2015 +0100 @@ -680,6 +680,22 @@ /** + * The constraints on the DICOM identifiers that must be supported + * by the database plugins. + **/ + typedef enum + { + OrthancPluginIdentifierConstraint_Equal, /*!< Equal */ + OrthancPluginIdentifierConstraint_SmallerOrEqual, /*!< Less or equal */ + OrthancPluginIdentifierConstraint_GreaterOrEqual, /*!< More or equal */ + OrthancPluginIdentifierConstraint_Wildcard, /*!< Case-sensitive wildcard matching (with * and ?) */ + + _OrthancPluginIdentifierConstraint_INTERNAL = 0x7fffffff + } OrthancPluginIdentifierConstraint; + + + + /** * @brief A memory buffer allocated by the core system of Orthanc. * * A memory buffer allocated by the core system of Orthanc. When the @@ -892,7 +908,8 @@ sizeof(int32_t) != sizeof(OrthancPluginImageFormat) || sizeof(int32_t) != sizeof(OrthancPluginValueRepresentation) || sizeof(int32_t) != sizeof(OrthancPluginDicomToJsonFormat) || - sizeof(int32_t) != sizeof(OrthancPluginDicomToJsonFlags)) + sizeof(int32_t) != sizeof(OrthancPluginDicomToJsonFlags) || + sizeof(int32_t) != sizeof(OrthancPluginIdentifierConstraint)) { /* Mismatch in the size of the enumerations */ return 0;