diff --git a/Examples/test-suite/smart_pointer_inherit.i b/Examples/test-suite/smart_pointer_inherit.i index 706674625..5c1f3ce43 100644 --- a/Examples/test-suite/smart_pointer_inherit.i +++ b/Examples/test-suite/smart_pointer_inherit.i @@ -41,3 +41,26 @@ %template(SmartBase) hi::SmartPtr; %template(SmartDerived) hi::SmartPtr; + + +%include std_vector.i + +%inline %{ +class itkLevelSetNodeUS2 { +}; +%} + +%template(vectorLevelSetNodeUS2) std::vector< itkLevelSetNodeUS2 >; + + +%inline %{ +class itkVectorContainerUILSNUS2 : public std::vector< itkLevelSetNodeUS2 > { +}; + +class itkVectorContainerUILSNUS2_Pointer { + public: + itkVectorContainerUILSNUS2 * operator->() const { return 0; } +}; + +%} +