/*************** ************** * * Copyright 2012-2013 by Ames Laboratory * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License version 2.1 as published by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. * *************** ***************/ %module leaf_open_soi %{ #include #include #include #include #include #include #include #include %} %import %typemap( csimports ) SWIGTYPE %{ using System; using System.Runtime.InteropServices; using Poco; using Poco.Data; using Poco.Dynamic; using Object = leaf.open.Object; %} %include %shared_ptr( leaf::open::soi::Soils ) %include %shared_ptr( leaf::open::soi::MapUnit ) %include %shared_ptr( leaf::open::soi::Component ) %include %shared_ptr( leaf::open::soi::Corestriction ) %include %shared_ptr( leaf::open::soi::CHorizon ) %include %shared_ptr( leaf::open::soi::ChFrag ) %include %shared_ptr( leaf::open::soi::ChTextureGrp ) %include %shared_ptr( leaf::open::soi::ChTexture ) %ignore CHTKEY; %include %ignore CHTGKEY; %ignore leaf::open::soi::ChTextureGrp::GetTextures() const; %include %ignore CHFRAGSKEY; %include %ignore CHKEY; %ignore HZDEPT; %ignore leaf::open::soi::CHorizon::GetFrags() const; %ignore leaf::open::soi::CHorizon::GetTextureGrps() const; %include %ignore CORESTRICTKEY; %ignore RESDEPT; %include %ignore COKEY; %ignore COMPPCT; %ignore leaf::open::soi::Component::GetCorestrictions() const; %ignore leaf::open::soi::Component::GetHorizons() const; %ignore leaf::open::soi::Component::GetHorizonsByHzdeptRange( unsigned int const&, unsigned int const& ) const; %include %ignore MUKEY; %ignore MUACRES; %ignore leaf::open::soi::MapUnit::GetComponents() const; %include %ignore leaf::open::soi::Soils::GetMapUnits() const; %ignore leaf::open::soi::Soils::GetMapUnitsByMuacresRange( unsigned int const&, unsigned int const& ) const; %include