/*============================================================================= NOTE: THIS FILE IS A HANDMADE WRAPPER FOR THE ManagedITK PROJECT. Project: ManagedITK Program: Insight Segmentation & Registration Toolkit Module: itkManagedINativePointer.cxx Language: C++/CLI Author: Dan Mueller Date: $Date: 2007-09-01 06:17:25 +1000 (Sat, 01 Sep 2007) $ Revision: $Revision: 2 $ Copyright (c) Queensland University of Technology (QUT) 2007. All rights reserved. Portions of this code are covered under the ITK and VTK copyright. See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. =============================================================================*/ #pragma once #pragma warning( disable : 4635 ) // Disable warnings about XML doc comments #ifndef __itkManagedINativePointer_cxx #define __itkManagedINativePointer_cxx // Use some managed namespaces #using #using using namespace System; using namespace System::IO; using namespace System::Reflection; using namespace System::ComponentModel; using namespace System::Diagnostics; namespace itk { /// ///This interface is implemented by any objects which wrap a native ITK object. /// /// ///The INativePointer interface exposes two properties: MangledTypeString and NativePointer. /// public interface class INativePointer { public: ///Get a string representing the type instance of this INativePointer. ///"IUC2", "IF3", "IVF22". property String^ MangledTypeString { String^ get(); } /// ///Get/set the pointer to the native ITK object associated with ///this instance. /// ///The pointer to the native ITK object. property void* NativePointer { void* get(); void set(void* ptr); } }; // end interface class } // end namespace itk #endif