Skip to content

Commit

Permalink
Revert "Revert "Add support for MappingType""
Browse files Browse the repository at this point in the history
This reverts commit 9709c89.
  • Loading branch information
malaterre committed May 3, 2019
1 parent 23f1228 commit 38cd121
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Wrapping/Java/gdcm.i
Original file line number Diff line number Diff line change
Expand Up @@ -782,11 +782,17 @@ $1 = JNU_GetStringNativeChars(jenv, $input);
%include "gdcmCommand.h"

%template(SmartPtrScan) gdcm::SmartPointer<gdcm::Scanner>;
%template (TagToValue) std::map<gdcm::Tag, const char*>;
//%template (TagToValueType) std::map<gdcm::Tag, const char*>::value_type;
%template (MappingType) std::map<const char*,gdcm::Scanner::TagToValue>;
%include "gdcmScanner.h"
EXTEND_CLASS_PRINT(gdcm::Scanner)
%template(SmartPtrStrictScan) gdcm::SmartPointer<gdcm::StrictScanner>;
%include "gdcmStrictScanner.h"
EXTEND_CLASS_PRINT(gdcm::StrictScanner)
%clear TagToValue;
//%clear TagToValueType;
%clear MappingType;

%template(SmartPtrAno) gdcm::SmartPointer<gdcm::Anonymizer>;
//%ignore gdcm::Anonymizer::Anonymizer;
Expand Down

0 comments on commit 38cd121

Please sign in to comment.