diff --git a/README b/README index b1ca9bc..44a6359 100644 --- a/README +++ b/README @@ -1,11 +1,12 @@ -AIS Parser SDK v1.10 -Copyright 2006-2014 by Brian C. Lane +AIS Parser SDK v1.11.0 +Copyright 2006-2025 by Brian C. Lane All Rights Reserved See LICENSE for licensing information -This is the first public release of the AIS Parser SDK. I have re-licensed it under the BSD license. See LICENSE for details. This code will now be available at https://github.com/bcl/aisparser/ - +NOTE: This codebase is now fairly old, I personally do not use it for anything +but am willing to accept pull requests with bugfixes and reasonably targeted +changes. 'C' Version: AIS Parser SDK source is in ./c/src/ @@ -22,15 +23,20 @@ Linux Python is in ./python/linux/ OSX Python is in ./python/osx/ Win32 Python is in ./python/win32/ -I have removed the pre-compiled Python versions because they were out of date. You can rebuild them on your system by running the buildit script in their respective directories. +I have removed the pre-compiled Python versions because they were out of date. +You can rebuild them on your system by running the buildit script in their +respective directories. Win32 DLL built using Visual Studio 6 is in ./dll/aisparser Visual Basic 6 example is in ./dll/examples -This version does not include a pre-compiled DLL. I no longer support Windows as a development environment so you will need to build your own. + +This version does not include a pre-compiled DLL. I no longer support Windows +as a development environment so you will need to build your own. AIS Parser SDK source --------------------- + The core parser consists of 12 files, 6 .c files and their associated .h files: nmea.c/nmea.h - functions for processing NMEA 0183 sentences. @@ -43,6 +49,7 @@ access.c/access.h - helper functions for python and Visual Basic St. Lawrence Seaway ------------------- + The parser code for St. Lawrence seaway binary messages is in the seaway.c file. The seawayX_X messages have been tested against the examples in the Seaway documentation. the pawssX_X messages have not been tested. @@ -55,7 +62,9 @@ The St. Lawrence Seaway message specification is in ./c/docs/StLawrence.pdf IMO Binary Messages ------------------- -The parser code for IMO binary messages is in the imo.c and imo.h files. The imoX_X messages have not yet been tested against real data. + +The parser code for IMO binary messages is in the imo.c and imo.h files. The +imoX_X messages have not yet been tested against real data. If someone has access to live IMO Binary messages that I could use in testing, I would appreciate it if you would forward them to me at bcl@brianlane.com @@ -77,7 +86,10 @@ parses messages with position information and outputs a JSON (JavaScript) data structure for use with the Google Maps demo webpage. There is also a simple XML version and a text output version. -Parsing St. Lawrence Seaway and IMO binary messages are more complicated than the other messages. You must first parse the mssage 8 or 6, and then pass its data payload to the appropriate seaway/imo parser function to extract all of the information. +Parsing St. Lawrence Seaway and IMO binary messages are more complicated than +the other messages. You must first parse the message 8 or 6, and then pass its +data payload to the appropriate seaway/imo parser function to extract all of +the information. Python @@ -87,10 +99,16 @@ around the SDK's 'c' source. Structures are implemented as classes in Python, and all of the SDK's functions are exposed via the Python interface. Check the ./python/example/ directory for examples of how to use the Python -module. There is a wxPython GUI application that will read a log file and display the details of the messages. There is also last_ais.py which I use to generate my dynamic -email signature, capturing the latest ship info from my local receiver. +module. There is a wxPython GUI application that will read a log file and +display the details of the messages. There is also last_ais.py which I use to +generate my dynamic email signature, capturing the latest ship info from my +local receiver. -The runme.py example in the swig directory can also be used. It has an example of parsing a Seaway 1.3 message. In python the struct arrays are not properly understood by the SWIG wrapper, so the helper function that matches the message must be used to first extract the array element before Python can operate on it. +The runme.py example in the swig directory can also be used. It has an example +of parsing a Seaway 1.3 message. In python the struct arrays are not properly +understood by the SWIG wrapper, so the helper function that matches the message +must be used to first extract the array element before Python can operate on +it. Package can be directly pip installed with recent setuptools: @@ -100,18 +118,30 @@ Package can be directly pip installed with recent setuptools: Windows DLL ----------- + There is a Windows DLL, including source, in ./dll/aisparser -It was compiled using Visual Studio 6, and does not work with .NET or any of the new Visual tools that I am aware of. There is an example VB6 application in the ./dll/examples directory. -The Visual Basic example form code show how to use all of the normal parsing functions. I have attempted to add parsing of the IMO and St. Lawrence Seaway messages to it, including adding helper functions (which are also used by python), but I have been unable to convince Visual Basic to correctly recognize the data structures. So, for now, parsing all of the normal AIS messages works fine in VB6, but IMO and Seaway parsing doesn't work. +It was compiled using Visual Studio 6, and does not work with .NET or any of +the new Visual tools that I am aware of. There is an example VB6 application in +the ./dll/examples directory. + +The Visual Basic example form code show how to use all of the normal parsing +functions. I have attempted to add parsing of the IMO and St. Lawrence Seaway +messages to it, including adding helper functions (which are also used by +python), but I have been unable to convince Visual Basic to correctly recognize +the data structures. So, for now, parsing all of the normal AIS messages works +fine in VB6, but IMO and Seaway parsing doesn't work. Delphi ------ -Thanks to Chris Krohn for allowing me to include his Delphi port of the parser. This does not include the St. Lawrence Seaway parser code. It can be found in ./contrib/AISParser.pas +Thanks to Chris Krohn for allowing me to include his Delphi port of the parser. +This does not include the St. Lawrence Seaway parser code. It can be found in +./contrib/AISParser.pas -If you have any comments, questions, problems, etc. Please contact me and I'll get back to you as soon as I can. I appreciate feedback of any kind. -email - bcl@brianlane.com +If you have any comments, questions, problems, etc. Please contact me and I'll +get back to you as soon as I can. I appreciate feedback of any kind. +email - bcl@brianlane.com diff --git a/c/examples/json/Makefile b/c/examples/json/Makefile index 666e09d..ba33cf5 100644 --- a/c/examples/json/Makefile +++ b/c/examples/json/Makefile @@ -1,7 +1,7 @@ # # Makefile for ais_json example # -# Copyright 2006 by Brian C. Lane +# Copyright 2006-2025 by Brian C. Lane # All Rights Reserved # # Please note that this Makefile *needs* GNU make. BSD make won't do. diff --git a/c/examples/json/main.c b/c/examples/json/main.c index 74bb868..b1e5dcd 100644 --- a/c/examples/json/main.c +++ b/c/examples/json/main.c @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- Process AIS messages read from stdin and output JSON structure - Copyright 2006 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All Rights Reserved ----------------------------------------------------------------------- */ #include diff --git a/c/examples/text/Makefile b/c/examples/text/Makefile index a5323c8..136d834 100644 --- a/c/examples/text/Makefile +++ b/c/examples/text/Makefile @@ -1,7 +1,7 @@ # # Makefile for ais_text # -# Copyright 2006 by Brian C. Lane +# Copyright 2006-2025 by Brian C. Lane # All Rights Reserved # # Please note that this Makefile *needs* GNU make. BSD make won't do. diff --git a/c/examples/text/main.c b/c/examples/text/main.c index d37fc2f..6fd59bd 100644 --- a/c/examples/text/main.c +++ b/c/examples/text/main.c @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- Process AIS messages read from stdin and output readable text fields - Copyright 2006 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All Rights Reserved ----------------------------------------------------------------------- */ #include diff --git a/c/examples/xml/Makefile b/c/examples/xml/Makefile index eda2523..bf5e4d1 100644 --- a/c/examples/xml/Makefile +++ b/c/examples/xml/Makefile @@ -1,7 +1,7 @@ # # Makefile for xml example program # -# Copyright 2006 by Brian C. Lane +# Copyright 2006-2025 by Brian C. Lane # All Rights Reserved # # Please note that this Makefile *needs* GNU make. BSD make won't do. diff --git a/c/examples/xml/main.c b/c/examples/xml/main.c index b5b9330..fbc544c 100644 --- a/c/examples/xml/main.c +++ b/c/examples/xml/main.c @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- Process AIS messages read from stdin and output an XML structure - Copyright 2006 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All Rights Reserved ----------------------------------------------------------------------- */ #include diff --git a/c/src/access.c b/c/src/access.c index 7c661df..56be24d 100644 --- a/c/src/access.c +++ b/c/src/access.c @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- AIS Parser SDK - Copyright 2006-20078 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All rights Reserved ----------------------------------------------------------------------- */ #include diff --git a/c/src/access.h b/c/src/access.h index 5e1f0f2..70dd546 100644 --- a/c/src/access.h +++ b/c/src/access.h @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- AIS Parser SDK - Copyright 2006-2008 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All rights Reserved ----------------------------------------------------------------------- */ diff --git a/c/src/imo.c b/c/src/imo.c index 4da43a6..55eccbf 100644 --- a/c/src/imo.c +++ b/c/src/imo.c @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- AIS Parser SDK IMO Binary Data Parsing - Copyright 2006-2008 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All rights Reserved ----------------------------------------------------------------------- */ #include @@ -14,7 +14,7 @@ /*! \file \brief IMO Binary Message Parsing - \author Copyright 2006-2008 by Brian C. Lane , All Rights Reserved + \author Copyright 2006-2025 by Brian C. Lane , All Rights Reserved \version 1.0 For exact definitions of each field you should see the IMO SN/Circ. 236 diff --git a/c/src/imo.h b/c/src/imo.h index c83b91a..f2d28b8 100644 --- a/c/src/imo.h +++ b/c/src/imo.h @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- IMO Binary Message Data Header - Copyright 2006-2008 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All rights Reserved ----------------------------------------------------------------------- */ diff --git a/c/src/nmea.c b/c/src/nmea.c index c3ed77d..3bf7fb4 100644 --- a/c/src/nmea.c +++ b/c/src/nmea.c @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- NMEA 0183 Sentence Parsing - Copyright 2006-2008 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All Rights Reserved ----------------------------------------------------------------------- */ #include @@ -12,7 +12,7 @@ /*! \file \brief NMEA 0183 Sentence Parser Module - \author Copyright 2006-2008 by Brian C. Lane , All Rights Reserved + \author Copyright 2006-2025 by Brian C. Lane , All Rights Reserved \version 1.8 This module provides utility functions for handling NMEA 0183 data diff --git a/c/src/nmea.h b/c/src/nmea.h index 660d0cc..28388c1 100644 --- a/c/src/nmea.h +++ b/c/src/nmea.h @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- Header file for NMEA string parser - Copyright 2006-2008 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All Rights Reserved ----------------------------------------------------------------------- */ /*! \file diff --git a/c/src/seaway.c b/c/src/seaway.c index 0f66b33..e9fc35c 100644 --- a/c/src/seaway.c +++ b/c/src/seaway.c @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- AIS Parser SDK St. Lawrence Seaway Data Parsing - Copyright 2006-2008 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All rights Reserved ----------------------------------------------------------------------- */ #include @@ -14,7 +14,7 @@ /*! \file \brief St. Lawrence Seaway Message Parsing - \author Copyright 2006-2008 by Brian C. Lane , All Rights Reserved + \author Copyright 2006-2025 by Brian C. Lane , All Rights Reserved \version 1.0 For exact definitions of each field you should see the ITU M.1371, diff --git a/c/src/seaway.h b/c/src/seaway.h index c3da6be..47fe9ff 100644 --- a/c/src/seaway.h +++ b/c/src/seaway.h @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- St. Lawrence Seaway Message Data Header - Copyright 2006-2008 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All rights Reserved ----------------------------------------------------------------------- */ diff --git a/c/src/sixbit.c b/c/src/sixbit.c index 8b5ce88..65049e4 100644 --- a/c/src/sixbit.c +++ b/c/src/sixbit.c @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- 6-bit packed ASCII functions - Copyright 2006-2008 by Brian C. Lane @@ -11,7 +11,7 @@ /*! \file \brief 6-bit packed ASCII functions - \author Copyright 2006-2008 by Brian C. Lane , All Rights Reserved + \author Copyright 2006-2025 by Brian C. Lane , All Rights Reserved \version 1.8 This module's functions are used to extract data from the 6-bit packed diff --git a/c/src/sixbit.h b/c/src/sixbit.h index 079e7f0..4337c8f 100644 --- a/c/src/sixbit.h +++ b/c/src/sixbit.h @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- 6-bit packed ASCII functions - Copyright 2006-2008 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All rights Reserved ----------------------------------------------------------------------- */ #include diff --git a/c/src/test_access.h b/c/src/test_access.h index 5d35c20..2737610 100644 --- a/c/src/test_access.h +++ b/c/src/test_access.h @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- AIS Parser SDK - Copyright 2006-2008 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All rights Reserved ----------------------------------------------------------------------- */ void test_access( void ); diff --git a/c/src/test_nmea.c b/c/src/test_nmea.c index 02bca56..19e80fb 100644 --- a/c/src/test_nmea.c +++ b/c/src/test_nmea.c @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- NMEA 0183 Sentence Parsing Test Module - Copyright 2006-2008 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All Rights Reserved ----------------------------------------------------------------------- */ #include diff --git a/c/src/test_nmea.h b/c/src/test_nmea.h index 0758d44..5e334e8 100644 --- a/c/src/test_nmea.h +++ b/c/src/test_nmea.h @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- Header file for NMEA string parser - Copyright 2006-2008 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All Rights Reserved ----------------------------------------------------------------------- */ /*! \file diff --git a/c/src/test_seaway.c b/c/src/test_seaway.c index d59bc9f..8b34717 100644 --- a/c/src/test_seaway.c +++ b/c/src/test_seaway.c @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- AIS Parser SDK St. Lawrence Seaway Test functions - Copyright 2006-2008 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All rights Reserved ----------------------------------------------------------------------- */ #include @@ -16,7 +16,7 @@ /*! \file \brief St. Lawrence Seaway Test functions - \author Copyright 2006-2008 by Brian C. Lane , All Rights Reserved + \author Copyright 2006-2025 by Brian C. Lane , All Rights Reserved \version 1.0 This module contains functions to test the St. Lawrence Seaway diff --git a/c/src/test_seaway.h b/c/src/test_seaway.h index 1f4b30d..7789897 100644 --- a/c/src/test_seaway.h +++ b/c/src/test_seaway.h @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- libuais vdm/vdo sentence parsing Test functions - Copyright 2006-2008 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All rights Reserved ----------------------------------------------------------------------- */ diff --git a/c/src/test_sixbit.c b/c/src/test_sixbit.c index d50bc44..2fae6a6 100644 --- a/c/src/test_sixbit.c +++ b/c/src/test_sixbit.c @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- 6-bit packed ASCII Test functions - Copyright 2006-2008 by Brian C. Lane diff --git a/c/src/test_sixbit.h b/c/src/test_sixbit.h index 443bfc0..8c29db2 100644 --- a/c/src/test_sixbit.h +++ b/c/src/test_sixbit.h @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- 6-bit packed ASCII Test functions - Copyright 2006-2008 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All rights Reserved ----------------------------------------------------------------------- */ #include diff --git a/c/src/test_vdm_parse.h b/c/src/test_vdm_parse.h index fbf65d2..3b6d20f 100644 --- a/c/src/test_vdm_parse.h +++ b/c/src/test_vdm_parse.h @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- libuais vdm/vdo sentence parsing Test functions - Copyright 2006-2008 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All rights Reserved ----------------------------------------------------------------------- */ diff --git a/c/src/vdm_parse.c b/c/src/vdm_parse.c index c82af52..a99cdae 100644 --- a/c/src/vdm_parse.c +++ b/c/src/vdm_parse.c @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- libuais VDM/VDO sentence parser - Copyright 2006-2008 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All rights Reserved ----------------------------------------------------------------------- */ #include @@ -13,7 +13,7 @@ /*! \file \brief AIVDM/AIVDO AIS Sentence Parser - \author Copyright 2006-2008 by Brian C. Lane , All Rights Reserved + \author Copyright 2006-2025 by Brian C. Lane , All Rights Reserved \version 1.8 This module contains the functions to parse incoming Automatic @@ -79,8 +79,8 @@ */ /*! \mainpage AIVDM/AIVDO AIS Message Parser -
Copyright 2006-2008 by Brian C. Lane
- http://www.aisparser.com/ +
Copyright 2006-2025 by Brian C. Lane
+ https://github.com/bcl/aisparser
diff --git a/c/src/vdm_parse.h b/c/src/vdm_parse.h index f20fad9..8f34198 100644 --- a/c/src/vdm_parse.h +++ b/c/src/vdm_parse.h @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- libuais vdm/vdo sentence parsing - Copyright 2006-2008 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All rights Reserved ----------------------------------------------------------------------- */ diff --git a/c/test/Makefile b/c/test/Makefile index 79dead2..3913ce4 100644 --- a/c/test/Makefile +++ b/c/test/Makefile @@ -1,13 +1,13 @@ # # Makefile for aisparser test code # -# Copyright 2006-2008 by Brian C. Lane +# Copyright 2006-2025 by Brian C. Lane # All Rights Reserved # # Please note that this Makefile *needs* GNU make. BSD make won't do. # -VERSION = 1.10 +VERSION = 1.11.0 SRC = ../src/ CC = gcc diff --git a/c/test/main.c b/c/test/main.c index b296021..ec389b0 100644 --- a/c/test/main.c +++ b/c/test/main.c @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------- Test AIS routines - Copyright 2006-2019 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All Rights Reserved ----------------------------------------------------------------------- */ #include diff --git a/contrib/AISParser.pas b/contrib/AISParser.pas index d343e95..2c573eb 100644 --- a/contrib/AISParser.pas +++ b/contrib/AISParser.pas @@ -1,14 +1,14 @@ { ---------------------------------------------------------------------------- } { Delphi Implementation of AISParser Library } -{ Copyright 2006 by Brian C. Lane } +{ Copyright 2006-2025 by Brian C. Lane } { All Rights Reserved } { } { Delphi conversion by: Chris Krohn } { } { } { AIVDM/AIVDO AIS Message Parser } -{
Copyright 2006 by Brian C. Lane
} -{ http://www.aisparser.com/ } +{ Copyright 2006-2025 by Brian C. Lane } +{ https://github.com/bcl/aisparser } { } { The Automatic Identification System (AIS) allows ships to be tracked in } { realtime based on information transmitted by each ship. They are equipped } @@ -658,7 +658,7 @@ SIXBIT Functions 6-bit packed ASCII Functions - Copyright 2006 by Brian C. Lane , All Rights Reserved + Copyright 2006-2025 by Brian C. Lane , All Rights Reserved Version 1.0 This module's Functions are used to extract data from the 6-bit packed @@ -816,7 +816,7 @@ NMEA Functions NMEA 0183 Sentence Parser Module - Copyright 2006 by Brian C. Lane , All Rights Reserved + Copyright 2006-2025 by Brian C. Lane , All Rights Reserved version 1.0 This module provides utility Functions for handling NMEA 0183 data @@ -1110,7 +1110,7 @@ VDM_PARSE Functions AIVDM/AIVDO AIS Sentence Parser - Copyright 2006 by Brian C. Lane , All Rights Reserved + Copyright 2006-2025 by Brian C. Lane , All Rights Reserved Version 1.0 This module contains the Functions to parse incoming Automatic diff --git a/dll/README b/dll/README index d59d04b..4281eda 100644 --- a/dll/README +++ b/dll/README @@ -1,6 +1,6 @@ AIS Parser SDK VB6 DLL -Copyright 2006-2014 by Brian C. Lane -http://www.aisparser.com +Copyright 2006-2025 by Brian C. Lane +https://github.com/bcl/aisparser Example VB6 code is in ./examples diff --git a/dll/aisparser/aisparser.c b/dll/aisparser/aisparser.c index 44ba397..721e906 100644 --- a/dll/aisparser/aisparser.c +++ b/dll/aisparser/aisparser.c @@ -1,7 +1,7 @@ /* ----------------------------------------------------------------------- AIS Parser SDK Visual Basic Interface - Copyright 2006 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane ----------------------------------------------------------------------- */ #include diff --git a/dll/aisparser/aisparser.def b/dll/aisparser/aisparser.def index 3899e26..4a49521 100644 --- a/dll/aisparser/aisparser.def +++ b/dll/aisparser/aisparser.def @@ -1,5 +1,5 @@ LIBRARY aisparser -DESCRIPTION "AIS Parser http://www.aisparser.com\nCopyright 2006-2007 by Brian C. Lane\nAll Rights Reserved\n" +DESCRIPTION "AIS Parser https://github.com/bcl/aisparser\nCopyright 2006-2025 by Brian C. Lane\nAll Rights Reserved\n" EXPORTS InitAisparser CloseAisparser diff --git a/dll/aisparser/aisparser.odl b/dll/aisparser/aisparser.odl index 9cd8abb..d745923 100644 --- a/dll/aisparser/aisparser.odl +++ b/dll/aisparser/aisparser.odl @@ -2,7 +2,7 @@ [ // UUID for this project, generated with GUIDGEN uuid(1E5B88B3-2F69-41d3-B5F7-7BA6FC5CB5F7), - helpstring("AIS Parser SDK Library for Windows - http://www.aisparser.com\nCopyright 2006-2007 by Brian C. Lane\nAll Rights Reserved"), + helpstring("AIS Parser SDK Library for Windows - https://github.com/bcl/aisparser\nCopyright 2006-2025 by Brian C. Lane\nAll Rights Reserved"), // Standard English Locale lcid(0x0409), // Assign a version number to keep track of changes. diff --git a/dll/examples/Form1.frm b/dll/examples/Form1.frm index 3aef02f..64d562b 100644 --- a/dll/examples/Form1.frm +++ b/dll/examples/Form1.frm @@ -26,9 +26,9 @@ Attribute VB_Exposed = False Private Sub Command1_Click() ' AIS Parser SDK Visual Basic DLL Test Functions -' Copyright 2006-2007 by Brian C. Lane +' Copyright 2006-2025 by Brian C. Lane ' All Rights Reserved -' http://www.aisparser.com +' https://github.com/bcl/aisparser ' ' The DLL exports all of the SDK functions and also provides a couple of ' additional routines to make life easier for the VB developer diff --git a/dll/examples/Project1.vbp b/dll/examples/Project1.vbp index 3a3cd77..314418b 100644 --- a/dll/examples/Project1.vbp +++ b/dll/examples/Project1.vbp @@ -1,6 +1,6 @@ Type=Exe Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\..\..\..\..\WINDOWS\system32\stdole2.tlb#OLE Automation -Reference=*\G{1E5B88B3-2F69-41D3-B5F7-7BA6FC5CB5F7}#1.7#409#aisparser.dll#AIS Parser SDK Library for Windows - http://www.aisparser.com +Reference=*\G{1E5B88B3-2F69-41D3-B5F7-7BA6FC5CB5F7}#1.7#409#aisparser.dll#AIS Parser SDK Library for Windows - https://github.com/bcl/aisparser Form=Form1.frm Startup="Form1" HelpFile="" diff --git a/java/src/main/java/com/aisparser/Sixbit.java b/java/src/main/java/com/aisparser/Sixbit.java index 86485d8..ef3bb67 100644 --- a/java/src/main/java/com/aisparser/Sixbit.java +++ b/java/src/main/java/com/aisparser/Sixbit.java @@ -2,7 +2,7 @@ /** * 6-bit packed ASCII functions * - * @author Copyright 2006-2008 by Brian C. Lane 4?wv0dBP,0*02", + "!AIVDM,1,1,,B,403OwpiuJo>A@o=sbvK=CG700H9n,0*33", + "!AIVDM,1,1,,B,35Mk33gOkRG?FLDK?6tUODNR0000,0*56", + "!AIVDM,2,1,2,B,8030ojA?0@=DE3@?BDPA3onQiUFttP1Wh01DE3<1EJ?>0onlkUG0e01I,0*3D", + "!AIVDM,2,2,2,B,h00,2*7D", + "!AIVDM,2,1,9,B,8030ojA?0@=DE3C?B5<00o`O1UA@V01vh01DE63>DB3?5oW@PU?d4P1i,0*55", + "!AIVDM,2,2,9,B,h00,2*76", + "!AIVDM,2,1,3,B,8030ojA?0@=DE9CD:?B9Fot`9UKQW03Gh01DE9CD6B19?oqHd5H=WP11,0*51", + "!AIVDM,2,2,3,B,h00,2*7C", + r"\s:ASM//Port=63//MMSI=2573225,c:1301961602*7A\!BSVDM,1,1,,A,13P> 6 + fi = msg.app_id & 0x3F + + print("dac : %d" % (dac)) + print("fi : %d" % (fi)) + + sixbit = msg.data + spare = aisparser.get_6bit(sixbit, 2) + msgid = aisparser.get_6bit(sixbit, 6) + print("msgid : %d" % (msgid)) + + if fi == 1 and msgid == 3: + msg1_3 = aisparser.seaway1_3() + aisparser.parse_seaway1_3(sixbit, msg1_3) + + for i in range(0, 6): + report = aisparser.get_water_level_report(msg1_3, i) + utc_time = report.utc_time + print("month : %d" % (ord(utc_time.month))) + print("day : %d" % (ord(utc_time.day))) + print("hours : %d" % (ord(utc_time.hours))) + print("minutes : %d" % (ord(utc_time.minutes))) + print("station : %s" % (report.station_id)) + print("longitude : %ld" % (report.longitude)) + print("latitude : %ld" % (report.latitude)) + print("type : %d" % (ord(report.type))) + print("level : %d" % (report.level)) + print("datum : %d" % (ord(report.datum))) + print("spare : %d" % (report.spare)) + print("\n") diff --git a/python/examples/aisbrowser/msg_order.py b/python/examples/aisbrowser/msg_order.py index a9b3164..4f68f3d 100644 --- a/python/examples/aisbrowser/msg_order.py +++ b/python/examples/aisbrowser/msg_order.py @@ -1,7 +1,7 @@ """ AIS Message Browser message field order Copyright 2007 by Brian C. Lane -http://browser.aisparser.com +https://github.com/bcl/aisparser """ # AIS Message field order -- This should go into another file diff --git a/python/examples/last_ais/last_ais.py b/python/examples/last_ais/last_ais.py index 61af580..c4d3363 100755 --- a/python/examples/last_ais/last_ais.py +++ b/python/examples/last_ais/last_ais.py @@ -1,7 +1,7 @@ #!/usr/bin/python # # AIS Parser SDK Python Example -# Copyright 2006 by Brian C. Lane +# Copyright 2006-2025 by Brian C. Lane # # Decode incoming AIS messages, recording ship names and associated MMSI # numbers. Write the last heard AIS ship's information to a file. I use diff --git a/python/freebsd/aisparser.i b/python/freebsd/aisparser.i new file mode 100644 index 0000000..a353dab --- /dev/null +++ b/python/freebsd/aisparser.i @@ -0,0 +1,25 @@ +%module aisparser +int pos2ddd( long, long, double *OUTPUT, double *OUTPUT); +int pos2dmm( long, long, short *OUTPUT, double *OUTPUT, short *OUTPUT, double *OUTPUT); + +%{ +/* Includes the header in the wrapper code */ +#include "../../c/src/portable.h" +#include "../../c/src/nmea.h" +#include "../../c/src/sixbit.h" +#include "../../c/src/vdm_parse.h" +#include "../../c/src/seaway.h" +#include "../../c/src/imo.h" +#include "../../c/src/access.h" +%} + + +/* Parse the header file to generate wrappers */ +%include "../../c/src/portable.h" +%include "../../c/src/nmea.h" +%include "../../c/src/sixbit.h" +%include "../../c/src/vdm_parse.h" +%include "../../c/src/seaway.h" +%include "../../c/src/imo.h" +%include "../../c/src/access.h" + diff --git a/python/freebsd/aisparser.py b/python/freebsd/aisparser.py new file mode 100644 index 0000000..ce9c545 --- /dev/null +++ b/python/freebsd/aisparser.py @@ -0,0 +1,1602 @@ +# This file was automatically generated by SWIG (http://www.swig.org). +# Version 4.0.2 +# +# Do not make changes to this file unless you know what you are doing--modify +# the SWIG interface file instead. + +from sys import version_info as _swig_python_version_info +if _swig_python_version_info < (2, 7, 0): + raise RuntimeError("Python 2.7 or later required") + +# Import the low-level C/C++ module +if __package__ or "." in __name__: + from . import _aisparser +else: + import _aisparser + +try: + import builtins as __builtin__ +except ImportError: + import __builtin__ + +def _swig_repr(self): + try: + strthis = "proxy of " + self.this.__repr__() + except __builtin__.Exception: + strthis = "" + return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) + + +def _swig_setattr_nondynamic_instance_variable(set): + def set_instance_attr(self, name, value): + if name == "thisown": + self.this.own(value) + elif name == "this": + set(self, name, value) + elif hasattr(self, name) and isinstance(getattr(type(self), name), property): + set(self, name, value) + else: + raise AttributeError("You cannot add instance attributes to %s" % self) + return set_instance_attr + + +def _swig_setattr_nondynamic_class_variable(set): + def set_class_attr(cls, name, value): + if hasattr(cls, name) and not isinstance(getattr(cls, name), property): + set(cls, name, value) + else: + raise AttributeError("You cannot add class attributes to %s" % cls) + return set_class_attr + + +def _swig_add_metaclass(metaclass): + """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass""" + def wrapper(cls): + return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy()) + return wrapper + + +class _SwigNonDynamicMeta(type): + """Meta class to enforce nondynamic attributes (no new attributes) for a class""" + __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__) + + + +def pos2ddd(arg1, arg2): + return _aisparser.pos2ddd(arg1, arg2) + +def pos2dmm(arg1, arg2): + return _aisparser.pos2dmm(arg1, arg2) +MAX_NMEA_LENGTH = _aisparser.MAX_NMEA_LENGTH +MAX_NMEA_FIELDS = _aisparser.MAX_NMEA_FIELDS +START = _aisparser.START +END = _aisparser.END +DONE = _aisparser.DONE +class nmea_state(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + search = property(_aisparser.nmea_state_search_get, _aisparser.nmea_state_search_set) + field = property(_aisparser.nmea_state_field_get, _aisparser.nmea_state_field_set) + str = property(_aisparser.nmea_state_str_get, _aisparser.nmea_state_str_set) + str_len = property(_aisparser.nmea_state_str_len_get, _aisparser.nmea_state_str_len_set) + + def __init__(self): + _aisparser.nmea_state_swiginit(self, _aisparser.new_nmea_state()) + __swig_destroy__ = _aisparser.delete_nmea_state + +# Register nmea_state in _aisparser: +_aisparser.nmea_state_swigregister(nmea_state) + + +def check_nmea_checksum(buffer, checksum): + return _aisparser.check_nmea_checksum(buffer, checksum) + +def nmea_checksum(buffer, checksum): + return _aisparser.nmea_checksum(buffer, checksum) + +def find_nmea_start(buffer): + return _aisparser.find_nmea_start(buffer) + +def ahextobin(c): + return _aisparser.ahextobin(c) + +def nmea_next_field(p): + return _aisparser.nmea_next_field(p) + +def nmea_uint(p): + return _aisparser.nmea_uint(p) + +def nmea_copy_field(dest, src, len): + return _aisparser.nmea_copy_field(dest, src, len) +SIXBIT_LEN = _aisparser.SIXBIT_LEN +class sixbit(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + bits = property(_aisparser.sixbit_bits_get, _aisparser.sixbit_bits_set) + p = property(_aisparser.sixbit_p_get, _aisparser.sixbit_p_set) + remainder = property(_aisparser.sixbit_remainder_get, _aisparser.sixbit_remainder_set) + remainder_bits = property(_aisparser.sixbit_remainder_bits_get, _aisparser.sixbit_remainder_bits_set) + + def __init__(self): + _aisparser.sixbit_swiginit(self, _aisparser.new_sixbit()) + __swig_destroy__ = _aisparser.delete_sixbit + +# Register sixbit in _aisparser: +_aisparser.sixbit_swigregister(sixbit) + + +def binfrom6bit(ascii): + return _aisparser.binfrom6bit(ascii) + +def init_6bit(state): + return _aisparser.init_6bit(state) + +def get_6bit(state, numbits): + return _aisparser.get_6bit(state, numbits) + +def sixbit_length(state): + return _aisparser.sixbit_length(state) + +def binto6bit(value): + return _aisparser.binto6bit(value) +SIXBUF_LEN = _aisparser.SIXBUF_LEN +class aismsg_1(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_1_msgid_get, _aisparser.aismsg_1_msgid_set) + repeat = property(_aisparser.aismsg_1_repeat_get, _aisparser.aismsg_1_repeat_set) + userid = property(_aisparser.aismsg_1_userid_get, _aisparser.aismsg_1_userid_set) + nav_status = property(_aisparser.aismsg_1_nav_status_get, _aisparser.aismsg_1_nav_status_set) + rot = property(_aisparser.aismsg_1_rot_get, _aisparser.aismsg_1_rot_set) + sog = property(_aisparser.aismsg_1_sog_get, _aisparser.aismsg_1_sog_set) + pos_acc = property(_aisparser.aismsg_1_pos_acc_get, _aisparser.aismsg_1_pos_acc_set) + longitude = property(_aisparser.aismsg_1_longitude_get, _aisparser.aismsg_1_longitude_set) + latitude = property(_aisparser.aismsg_1_latitude_get, _aisparser.aismsg_1_latitude_set) + cog = property(_aisparser.aismsg_1_cog_get, _aisparser.aismsg_1_cog_set) + true = property(_aisparser.aismsg_1_true_get, _aisparser.aismsg_1_true_set) + utc_sec = property(_aisparser.aismsg_1_utc_sec_get, _aisparser.aismsg_1_utc_sec_set) + regional = property(_aisparser.aismsg_1_regional_get, _aisparser.aismsg_1_regional_set) + spare = property(_aisparser.aismsg_1_spare_get, _aisparser.aismsg_1_spare_set) + raim = property(_aisparser.aismsg_1_raim_get, _aisparser.aismsg_1_raim_set) + sync_state = property(_aisparser.aismsg_1_sync_state_get, _aisparser.aismsg_1_sync_state_set) + slot_timeout = property(_aisparser.aismsg_1_slot_timeout_get, _aisparser.aismsg_1_slot_timeout_set) + sub_message = property(_aisparser.aismsg_1_sub_message_get, _aisparser.aismsg_1_sub_message_set) + + def __init__(self): + _aisparser.aismsg_1_swiginit(self, _aisparser.new_aismsg_1()) + __swig_destroy__ = _aisparser.delete_aismsg_1 + +# Register aismsg_1 in _aisparser: +_aisparser.aismsg_1_swigregister(aismsg_1) + +class aismsg_2(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_2_msgid_get, _aisparser.aismsg_2_msgid_set) + repeat = property(_aisparser.aismsg_2_repeat_get, _aisparser.aismsg_2_repeat_set) + userid = property(_aisparser.aismsg_2_userid_get, _aisparser.aismsg_2_userid_set) + nav_status = property(_aisparser.aismsg_2_nav_status_get, _aisparser.aismsg_2_nav_status_set) + rot = property(_aisparser.aismsg_2_rot_get, _aisparser.aismsg_2_rot_set) + sog = property(_aisparser.aismsg_2_sog_get, _aisparser.aismsg_2_sog_set) + pos_acc = property(_aisparser.aismsg_2_pos_acc_get, _aisparser.aismsg_2_pos_acc_set) + longitude = property(_aisparser.aismsg_2_longitude_get, _aisparser.aismsg_2_longitude_set) + latitude = property(_aisparser.aismsg_2_latitude_get, _aisparser.aismsg_2_latitude_set) + cog = property(_aisparser.aismsg_2_cog_get, _aisparser.aismsg_2_cog_set) + true = property(_aisparser.aismsg_2_true_get, _aisparser.aismsg_2_true_set) + utc_sec = property(_aisparser.aismsg_2_utc_sec_get, _aisparser.aismsg_2_utc_sec_set) + regional = property(_aisparser.aismsg_2_regional_get, _aisparser.aismsg_2_regional_set) + spare = property(_aisparser.aismsg_2_spare_get, _aisparser.aismsg_2_spare_set) + raim = property(_aisparser.aismsg_2_raim_get, _aisparser.aismsg_2_raim_set) + sync_state = property(_aisparser.aismsg_2_sync_state_get, _aisparser.aismsg_2_sync_state_set) + slot_timeout = property(_aisparser.aismsg_2_slot_timeout_get, _aisparser.aismsg_2_slot_timeout_set) + sub_message = property(_aisparser.aismsg_2_sub_message_get, _aisparser.aismsg_2_sub_message_set) + + def __init__(self): + _aisparser.aismsg_2_swiginit(self, _aisparser.new_aismsg_2()) + __swig_destroy__ = _aisparser.delete_aismsg_2 + +# Register aismsg_2 in _aisparser: +_aisparser.aismsg_2_swigregister(aismsg_2) + +class aismsg_3(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_3_msgid_get, _aisparser.aismsg_3_msgid_set) + repeat = property(_aisparser.aismsg_3_repeat_get, _aisparser.aismsg_3_repeat_set) + userid = property(_aisparser.aismsg_3_userid_get, _aisparser.aismsg_3_userid_set) + nav_status = property(_aisparser.aismsg_3_nav_status_get, _aisparser.aismsg_3_nav_status_set) + rot = property(_aisparser.aismsg_3_rot_get, _aisparser.aismsg_3_rot_set) + sog = property(_aisparser.aismsg_3_sog_get, _aisparser.aismsg_3_sog_set) + pos_acc = property(_aisparser.aismsg_3_pos_acc_get, _aisparser.aismsg_3_pos_acc_set) + longitude = property(_aisparser.aismsg_3_longitude_get, _aisparser.aismsg_3_longitude_set) + latitude = property(_aisparser.aismsg_3_latitude_get, _aisparser.aismsg_3_latitude_set) + cog = property(_aisparser.aismsg_3_cog_get, _aisparser.aismsg_3_cog_set) + true = property(_aisparser.aismsg_3_true_get, _aisparser.aismsg_3_true_set) + utc_sec = property(_aisparser.aismsg_3_utc_sec_get, _aisparser.aismsg_3_utc_sec_set) + regional = property(_aisparser.aismsg_3_regional_get, _aisparser.aismsg_3_regional_set) + spare = property(_aisparser.aismsg_3_spare_get, _aisparser.aismsg_3_spare_set) + raim = property(_aisparser.aismsg_3_raim_get, _aisparser.aismsg_3_raim_set) + sync_state = property(_aisparser.aismsg_3_sync_state_get, _aisparser.aismsg_3_sync_state_set) + slot_increment = property(_aisparser.aismsg_3_slot_increment_get, _aisparser.aismsg_3_slot_increment_set) + num_slots = property(_aisparser.aismsg_3_num_slots_get, _aisparser.aismsg_3_num_slots_set) + keep = property(_aisparser.aismsg_3_keep_get, _aisparser.aismsg_3_keep_set) + + def __init__(self): + _aisparser.aismsg_3_swiginit(self, _aisparser.new_aismsg_3()) + __swig_destroy__ = _aisparser.delete_aismsg_3 + +# Register aismsg_3 in _aisparser: +_aisparser.aismsg_3_swigregister(aismsg_3) + +class aismsg_4(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_4_msgid_get, _aisparser.aismsg_4_msgid_set) + repeat = property(_aisparser.aismsg_4_repeat_get, _aisparser.aismsg_4_repeat_set) + userid = property(_aisparser.aismsg_4_userid_get, _aisparser.aismsg_4_userid_set) + utc_year = property(_aisparser.aismsg_4_utc_year_get, _aisparser.aismsg_4_utc_year_set) + utc_month = property(_aisparser.aismsg_4_utc_month_get, _aisparser.aismsg_4_utc_month_set) + utc_day = property(_aisparser.aismsg_4_utc_day_get, _aisparser.aismsg_4_utc_day_set) + utc_hour = property(_aisparser.aismsg_4_utc_hour_get, _aisparser.aismsg_4_utc_hour_set) + utc_minute = property(_aisparser.aismsg_4_utc_minute_get, _aisparser.aismsg_4_utc_minute_set) + utc_second = property(_aisparser.aismsg_4_utc_second_get, _aisparser.aismsg_4_utc_second_set) + pos_acc = property(_aisparser.aismsg_4_pos_acc_get, _aisparser.aismsg_4_pos_acc_set) + longitude = property(_aisparser.aismsg_4_longitude_get, _aisparser.aismsg_4_longitude_set) + latitude = property(_aisparser.aismsg_4_latitude_get, _aisparser.aismsg_4_latitude_set) + pos_type = property(_aisparser.aismsg_4_pos_type_get, _aisparser.aismsg_4_pos_type_set) + spare = property(_aisparser.aismsg_4_spare_get, _aisparser.aismsg_4_spare_set) + raim = property(_aisparser.aismsg_4_raim_get, _aisparser.aismsg_4_raim_set) + sync_state = property(_aisparser.aismsg_4_sync_state_get, _aisparser.aismsg_4_sync_state_set) + slot_timeout = property(_aisparser.aismsg_4_slot_timeout_get, _aisparser.aismsg_4_slot_timeout_set) + sub_message = property(_aisparser.aismsg_4_sub_message_get, _aisparser.aismsg_4_sub_message_set) + + def __init__(self): + _aisparser.aismsg_4_swiginit(self, _aisparser.new_aismsg_4()) + __swig_destroy__ = _aisparser.delete_aismsg_4 + +# Register aismsg_4 in _aisparser: +_aisparser.aismsg_4_swigregister(aismsg_4) + +class aismsg_5(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_5_msgid_get, _aisparser.aismsg_5_msgid_set) + repeat = property(_aisparser.aismsg_5_repeat_get, _aisparser.aismsg_5_repeat_set) + userid = property(_aisparser.aismsg_5_userid_get, _aisparser.aismsg_5_userid_set) + version = property(_aisparser.aismsg_5_version_get, _aisparser.aismsg_5_version_set) + imo = property(_aisparser.aismsg_5_imo_get, _aisparser.aismsg_5_imo_set) + callsign = property(_aisparser.aismsg_5_callsign_get, _aisparser.aismsg_5_callsign_set) + name = property(_aisparser.aismsg_5_name_get, _aisparser.aismsg_5_name_set) + ship_type = property(_aisparser.aismsg_5_ship_type_get, _aisparser.aismsg_5_ship_type_set) + dim_bow = property(_aisparser.aismsg_5_dim_bow_get, _aisparser.aismsg_5_dim_bow_set) + dim_stern = property(_aisparser.aismsg_5_dim_stern_get, _aisparser.aismsg_5_dim_stern_set) + dim_port = property(_aisparser.aismsg_5_dim_port_get, _aisparser.aismsg_5_dim_port_set) + dim_starboard = property(_aisparser.aismsg_5_dim_starboard_get, _aisparser.aismsg_5_dim_starboard_set) + pos_type = property(_aisparser.aismsg_5_pos_type_get, _aisparser.aismsg_5_pos_type_set) + eta = property(_aisparser.aismsg_5_eta_get, _aisparser.aismsg_5_eta_set) + draught = property(_aisparser.aismsg_5_draught_get, _aisparser.aismsg_5_draught_set) + dest = property(_aisparser.aismsg_5_dest_get, _aisparser.aismsg_5_dest_set) + dte = property(_aisparser.aismsg_5_dte_get, _aisparser.aismsg_5_dte_set) + spare = property(_aisparser.aismsg_5_spare_get, _aisparser.aismsg_5_spare_set) + + def __init__(self): + _aisparser.aismsg_5_swiginit(self, _aisparser.new_aismsg_5()) + __swig_destroy__ = _aisparser.delete_aismsg_5 + +# Register aismsg_5 in _aisparser: +_aisparser.aismsg_5_swigregister(aismsg_5) + +class aismsg_6(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_6_msgid_get, _aisparser.aismsg_6_msgid_set) + repeat = property(_aisparser.aismsg_6_repeat_get, _aisparser.aismsg_6_repeat_set) + userid = property(_aisparser.aismsg_6_userid_get, _aisparser.aismsg_6_userid_set) + sequence = property(_aisparser.aismsg_6_sequence_get, _aisparser.aismsg_6_sequence_set) + destination = property(_aisparser.aismsg_6_destination_get, _aisparser.aismsg_6_destination_set) + retransmit = property(_aisparser.aismsg_6_retransmit_get, _aisparser.aismsg_6_retransmit_set) + spare = property(_aisparser.aismsg_6_spare_get, _aisparser.aismsg_6_spare_set) + app_id = property(_aisparser.aismsg_6_app_id_get, _aisparser.aismsg_6_app_id_set) + data = property(_aisparser.aismsg_6_data_get, _aisparser.aismsg_6_data_set) + + def __init__(self): + _aisparser.aismsg_6_swiginit(self, _aisparser.new_aismsg_6()) + __swig_destroy__ = _aisparser.delete_aismsg_6 + +# Register aismsg_6 in _aisparser: +_aisparser.aismsg_6_swigregister(aismsg_6) + +class aismsg_7(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_7_msgid_get, _aisparser.aismsg_7_msgid_set) + repeat = property(_aisparser.aismsg_7_repeat_get, _aisparser.aismsg_7_repeat_set) + userid = property(_aisparser.aismsg_7_userid_get, _aisparser.aismsg_7_userid_set) + spare = property(_aisparser.aismsg_7_spare_get, _aisparser.aismsg_7_spare_set) + destid_1 = property(_aisparser.aismsg_7_destid_1_get, _aisparser.aismsg_7_destid_1_set) + sequence_1 = property(_aisparser.aismsg_7_sequence_1_get, _aisparser.aismsg_7_sequence_1_set) + destid_2 = property(_aisparser.aismsg_7_destid_2_get, _aisparser.aismsg_7_destid_2_set) + sequence_2 = property(_aisparser.aismsg_7_sequence_2_get, _aisparser.aismsg_7_sequence_2_set) + destid_3 = property(_aisparser.aismsg_7_destid_3_get, _aisparser.aismsg_7_destid_3_set) + sequence_3 = property(_aisparser.aismsg_7_sequence_3_get, _aisparser.aismsg_7_sequence_3_set) + destid_4 = property(_aisparser.aismsg_7_destid_4_get, _aisparser.aismsg_7_destid_4_set) + sequence_4 = property(_aisparser.aismsg_7_sequence_4_get, _aisparser.aismsg_7_sequence_4_set) + num_acks = property(_aisparser.aismsg_7_num_acks_get, _aisparser.aismsg_7_num_acks_set) + + def __init__(self): + _aisparser.aismsg_7_swiginit(self, _aisparser.new_aismsg_7()) + __swig_destroy__ = _aisparser.delete_aismsg_7 + +# Register aismsg_7 in _aisparser: +_aisparser.aismsg_7_swigregister(aismsg_7) + +class aismsg_8(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_8_msgid_get, _aisparser.aismsg_8_msgid_set) + repeat = property(_aisparser.aismsg_8_repeat_get, _aisparser.aismsg_8_repeat_set) + userid = property(_aisparser.aismsg_8_userid_get, _aisparser.aismsg_8_userid_set) + spare = property(_aisparser.aismsg_8_spare_get, _aisparser.aismsg_8_spare_set) + app_id = property(_aisparser.aismsg_8_app_id_get, _aisparser.aismsg_8_app_id_set) + data = property(_aisparser.aismsg_8_data_get, _aisparser.aismsg_8_data_set) + + def __init__(self): + _aisparser.aismsg_8_swiginit(self, _aisparser.new_aismsg_8()) + __swig_destroy__ = _aisparser.delete_aismsg_8 + +# Register aismsg_8 in _aisparser: +_aisparser.aismsg_8_swigregister(aismsg_8) + +class aismsg_9(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_9_msgid_get, _aisparser.aismsg_9_msgid_set) + repeat = property(_aisparser.aismsg_9_repeat_get, _aisparser.aismsg_9_repeat_set) + userid = property(_aisparser.aismsg_9_userid_get, _aisparser.aismsg_9_userid_set) + altitude = property(_aisparser.aismsg_9_altitude_get, _aisparser.aismsg_9_altitude_set) + sog = property(_aisparser.aismsg_9_sog_get, _aisparser.aismsg_9_sog_set) + pos_acc = property(_aisparser.aismsg_9_pos_acc_get, _aisparser.aismsg_9_pos_acc_set) + longitude = property(_aisparser.aismsg_9_longitude_get, _aisparser.aismsg_9_longitude_set) + latitude = property(_aisparser.aismsg_9_latitude_get, _aisparser.aismsg_9_latitude_set) + cog = property(_aisparser.aismsg_9_cog_get, _aisparser.aismsg_9_cog_set) + utc_sec = property(_aisparser.aismsg_9_utc_sec_get, _aisparser.aismsg_9_utc_sec_set) + regional = property(_aisparser.aismsg_9_regional_get, _aisparser.aismsg_9_regional_set) + dte = property(_aisparser.aismsg_9_dte_get, _aisparser.aismsg_9_dte_set) + spare = property(_aisparser.aismsg_9_spare_get, _aisparser.aismsg_9_spare_set) + assigned = property(_aisparser.aismsg_9_assigned_get, _aisparser.aismsg_9_assigned_set) + raim = property(_aisparser.aismsg_9_raim_get, _aisparser.aismsg_9_raim_set) + comm_state = property(_aisparser.aismsg_9_comm_state_get, _aisparser.aismsg_9_comm_state_set) + sotdma = property(_aisparser.aismsg_9_sotdma_get) + itdma = property(_aisparser.aismsg_9_itdma_get) + + def __init__(self): + _aisparser.aismsg_9_swiginit(self, _aisparser.new_aismsg_9()) + __swig_destroy__ = _aisparser.delete_aismsg_9 + +# Register aismsg_9 in _aisparser: +_aisparser.aismsg_9_swigregister(aismsg_9) + +class aismsg_9_itdma(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + sync_state = property(_aisparser.aismsg_9_itdma_sync_state_get, _aisparser.aismsg_9_itdma_sync_state_set) + slot_inc = property(_aisparser.aismsg_9_itdma_slot_inc_get, _aisparser.aismsg_9_itdma_slot_inc_set) + num_slots = property(_aisparser.aismsg_9_itdma_num_slots_get, _aisparser.aismsg_9_itdma_num_slots_set) + keep_flag = property(_aisparser.aismsg_9_itdma_keep_flag_get, _aisparser.aismsg_9_itdma_keep_flag_set) + + def __init__(self): + _aisparser.aismsg_9_itdma_swiginit(self, _aisparser.new_aismsg_9_itdma()) + __swig_destroy__ = _aisparser.delete_aismsg_9_itdma + +# Register aismsg_9_itdma in _aisparser: +_aisparser.aismsg_9_itdma_swigregister(aismsg_9_itdma) + +class aismsg_9_sotdma(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + sync_state = property(_aisparser.aismsg_9_sotdma_sync_state_get, _aisparser.aismsg_9_sotdma_sync_state_set) + slot_timeout = property(_aisparser.aismsg_9_sotdma_slot_timeout_get, _aisparser.aismsg_9_sotdma_slot_timeout_set) + sub_message = property(_aisparser.aismsg_9_sotdma_sub_message_get, _aisparser.aismsg_9_sotdma_sub_message_set) + + def __init__(self): + _aisparser.aismsg_9_sotdma_swiginit(self, _aisparser.new_aismsg_9_sotdma()) + __swig_destroy__ = _aisparser.delete_aismsg_9_sotdma + +# Register aismsg_9_sotdma in _aisparser: +_aisparser.aismsg_9_sotdma_swigregister(aismsg_9_sotdma) + +class aismsg_10(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_10_msgid_get, _aisparser.aismsg_10_msgid_set) + repeat = property(_aisparser.aismsg_10_repeat_get, _aisparser.aismsg_10_repeat_set) + userid = property(_aisparser.aismsg_10_userid_get, _aisparser.aismsg_10_userid_set) + spare1 = property(_aisparser.aismsg_10_spare1_get, _aisparser.aismsg_10_spare1_set) + destination = property(_aisparser.aismsg_10_destination_get, _aisparser.aismsg_10_destination_set) + spare2 = property(_aisparser.aismsg_10_spare2_get, _aisparser.aismsg_10_spare2_set) + + def __init__(self): + _aisparser.aismsg_10_swiginit(self, _aisparser.new_aismsg_10()) + __swig_destroy__ = _aisparser.delete_aismsg_10 + +# Register aismsg_10 in _aisparser: +_aisparser.aismsg_10_swigregister(aismsg_10) + +class aismsg_11(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_11_msgid_get, _aisparser.aismsg_11_msgid_set) + repeat = property(_aisparser.aismsg_11_repeat_get, _aisparser.aismsg_11_repeat_set) + userid = property(_aisparser.aismsg_11_userid_get, _aisparser.aismsg_11_userid_set) + utc_year = property(_aisparser.aismsg_11_utc_year_get, _aisparser.aismsg_11_utc_year_set) + utc_month = property(_aisparser.aismsg_11_utc_month_get, _aisparser.aismsg_11_utc_month_set) + utc_day = property(_aisparser.aismsg_11_utc_day_get, _aisparser.aismsg_11_utc_day_set) + utc_hour = property(_aisparser.aismsg_11_utc_hour_get, _aisparser.aismsg_11_utc_hour_set) + utc_minute = property(_aisparser.aismsg_11_utc_minute_get, _aisparser.aismsg_11_utc_minute_set) + utc_second = property(_aisparser.aismsg_11_utc_second_get, _aisparser.aismsg_11_utc_second_set) + pos_acc = property(_aisparser.aismsg_11_pos_acc_get, _aisparser.aismsg_11_pos_acc_set) + longitude = property(_aisparser.aismsg_11_longitude_get, _aisparser.aismsg_11_longitude_set) + latitude = property(_aisparser.aismsg_11_latitude_get, _aisparser.aismsg_11_latitude_set) + pos_type = property(_aisparser.aismsg_11_pos_type_get, _aisparser.aismsg_11_pos_type_set) + spare = property(_aisparser.aismsg_11_spare_get, _aisparser.aismsg_11_spare_set) + raim = property(_aisparser.aismsg_11_raim_get, _aisparser.aismsg_11_raim_set) + sync_state = property(_aisparser.aismsg_11_sync_state_get, _aisparser.aismsg_11_sync_state_set) + slot_timeout = property(_aisparser.aismsg_11_slot_timeout_get, _aisparser.aismsg_11_slot_timeout_set) + sub_message = property(_aisparser.aismsg_11_sub_message_get, _aisparser.aismsg_11_sub_message_set) + + def __init__(self): + _aisparser.aismsg_11_swiginit(self, _aisparser.new_aismsg_11()) + __swig_destroy__ = _aisparser.delete_aismsg_11 + +# Register aismsg_11 in _aisparser: +_aisparser.aismsg_11_swigregister(aismsg_11) + +class aismsg_12(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_12_msgid_get, _aisparser.aismsg_12_msgid_set) + repeat = property(_aisparser.aismsg_12_repeat_get, _aisparser.aismsg_12_repeat_set) + userid = property(_aisparser.aismsg_12_userid_get, _aisparser.aismsg_12_userid_set) + sequence = property(_aisparser.aismsg_12_sequence_get, _aisparser.aismsg_12_sequence_set) + destination = property(_aisparser.aismsg_12_destination_get, _aisparser.aismsg_12_destination_set) + retransmit = property(_aisparser.aismsg_12_retransmit_get, _aisparser.aismsg_12_retransmit_set) + spare = property(_aisparser.aismsg_12_spare_get, _aisparser.aismsg_12_spare_set) + message = property(_aisparser.aismsg_12_message_get, _aisparser.aismsg_12_message_set) + + def __init__(self): + _aisparser.aismsg_12_swiginit(self, _aisparser.new_aismsg_12()) + __swig_destroy__ = _aisparser.delete_aismsg_12 + +# Register aismsg_12 in _aisparser: +_aisparser.aismsg_12_swigregister(aismsg_12) + +class aismsg_13(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_13_msgid_get, _aisparser.aismsg_13_msgid_set) + repeat = property(_aisparser.aismsg_13_repeat_get, _aisparser.aismsg_13_repeat_set) + userid = property(_aisparser.aismsg_13_userid_get, _aisparser.aismsg_13_userid_set) + spare = property(_aisparser.aismsg_13_spare_get, _aisparser.aismsg_13_spare_set) + destid_1 = property(_aisparser.aismsg_13_destid_1_get, _aisparser.aismsg_13_destid_1_set) + sequence_1 = property(_aisparser.aismsg_13_sequence_1_get, _aisparser.aismsg_13_sequence_1_set) + destid_2 = property(_aisparser.aismsg_13_destid_2_get, _aisparser.aismsg_13_destid_2_set) + sequence_2 = property(_aisparser.aismsg_13_sequence_2_get, _aisparser.aismsg_13_sequence_2_set) + destid_3 = property(_aisparser.aismsg_13_destid_3_get, _aisparser.aismsg_13_destid_3_set) + sequence_3 = property(_aisparser.aismsg_13_sequence_3_get, _aisparser.aismsg_13_sequence_3_set) + destid_4 = property(_aisparser.aismsg_13_destid_4_get, _aisparser.aismsg_13_destid_4_set) + sequence_4 = property(_aisparser.aismsg_13_sequence_4_get, _aisparser.aismsg_13_sequence_4_set) + num_acks = property(_aisparser.aismsg_13_num_acks_get, _aisparser.aismsg_13_num_acks_set) + + def __init__(self): + _aisparser.aismsg_13_swiginit(self, _aisparser.new_aismsg_13()) + __swig_destroy__ = _aisparser.delete_aismsg_13 + +# Register aismsg_13 in _aisparser: +_aisparser.aismsg_13_swigregister(aismsg_13) + +class aismsg_14(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_14_msgid_get, _aisparser.aismsg_14_msgid_set) + repeat = property(_aisparser.aismsg_14_repeat_get, _aisparser.aismsg_14_repeat_set) + userid = property(_aisparser.aismsg_14_userid_get, _aisparser.aismsg_14_userid_set) + spare = property(_aisparser.aismsg_14_spare_get, _aisparser.aismsg_14_spare_set) + message = property(_aisparser.aismsg_14_message_get, _aisparser.aismsg_14_message_set) + + def __init__(self): + _aisparser.aismsg_14_swiginit(self, _aisparser.new_aismsg_14()) + __swig_destroy__ = _aisparser.delete_aismsg_14 + +# Register aismsg_14 in _aisparser: +_aisparser.aismsg_14_swigregister(aismsg_14) + +class aismsg_15(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_15_msgid_get, _aisparser.aismsg_15_msgid_set) + repeat = property(_aisparser.aismsg_15_repeat_get, _aisparser.aismsg_15_repeat_set) + userid = property(_aisparser.aismsg_15_userid_get, _aisparser.aismsg_15_userid_set) + spare1 = property(_aisparser.aismsg_15_spare1_get, _aisparser.aismsg_15_spare1_set) + destid1 = property(_aisparser.aismsg_15_destid1_get, _aisparser.aismsg_15_destid1_set) + msgid1_1 = property(_aisparser.aismsg_15_msgid1_1_get, _aisparser.aismsg_15_msgid1_1_set) + offset1_1 = property(_aisparser.aismsg_15_offset1_1_get, _aisparser.aismsg_15_offset1_1_set) + spare2 = property(_aisparser.aismsg_15_spare2_get, _aisparser.aismsg_15_spare2_set) + msgid1_2 = property(_aisparser.aismsg_15_msgid1_2_get, _aisparser.aismsg_15_msgid1_2_set) + offset1_2 = property(_aisparser.aismsg_15_offset1_2_get, _aisparser.aismsg_15_offset1_2_set) + spare3 = property(_aisparser.aismsg_15_spare3_get, _aisparser.aismsg_15_spare3_set) + destid2 = property(_aisparser.aismsg_15_destid2_get, _aisparser.aismsg_15_destid2_set) + msgid2_1 = property(_aisparser.aismsg_15_msgid2_1_get, _aisparser.aismsg_15_msgid2_1_set) + offset2_1 = property(_aisparser.aismsg_15_offset2_1_get, _aisparser.aismsg_15_offset2_1_set) + spare4 = property(_aisparser.aismsg_15_spare4_get, _aisparser.aismsg_15_spare4_set) + num_reqs = property(_aisparser.aismsg_15_num_reqs_get, _aisparser.aismsg_15_num_reqs_set) + + def __init__(self): + _aisparser.aismsg_15_swiginit(self, _aisparser.new_aismsg_15()) + __swig_destroy__ = _aisparser.delete_aismsg_15 + +# Register aismsg_15 in _aisparser: +_aisparser.aismsg_15_swigregister(aismsg_15) + +class aismsg_16(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_16_msgid_get, _aisparser.aismsg_16_msgid_set) + repeat = property(_aisparser.aismsg_16_repeat_get, _aisparser.aismsg_16_repeat_set) + userid = property(_aisparser.aismsg_16_userid_get, _aisparser.aismsg_16_userid_set) + spare1 = property(_aisparser.aismsg_16_spare1_get, _aisparser.aismsg_16_spare1_set) + destid_a = property(_aisparser.aismsg_16_destid_a_get, _aisparser.aismsg_16_destid_a_set) + offset_a = property(_aisparser.aismsg_16_offset_a_get, _aisparser.aismsg_16_offset_a_set) + increment_a = property(_aisparser.aismsg_16_increment_a_get, _aisparser.aismsg_16_increment_a_set) + destid_b = property(_aisparser.aismsg_16_destid_b_get, _aisparser.aismsg_16_destid_b_set) + offset_b = property(_aisparser.aismsg_16_offset_b_get, _aisparser.aismsg_16_offset_b_set) + increment_b = property(_aisparser.aismsg_16_increment_b_get, _aisparser.aismsg_16_increment_b_set) + spare2 = property(_aisparser.aismsg_16_spare2_get, _aisparser.aismsg_16_spare2_set) + num_cmds = property(_aisparser.aismsg_16_num_cmds_get, _aisparser.aismsg_16_num_cmds_set) + + def __init__(self): + _aisparser.aismsg_16_swiginit(self, _aisparser.new_aismsg_16()) + __swig_destroy__ = _aisparser.delete_aismsg_16 + +# Register aismsg_16 in _aisparser: +_aisparser.aismsg_16_swigregister(aismsg_16) + +class aismsg_17(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_17_msgid_get, _aisparser.aismsg_17_msgid_set) + repeat = property(_aisparser.aismsg_17_repeat_get, _aisparser.aismsg_17_repeat_set) + userid = property(_aisparser.aismsg_17_userid_get, _aisparser.aismsg_17_userid_set) + spare1 = property(_aisparser.aismsg_17_spare1_get, _aisparser.aismsg_17_spare1_set) + longitude = property(_aisparser.aismsg_17_longitude_get, _aisparser.aismsg_17_longitude_set) + latitude = property(_aisparser.aismsg_17_latitude_get, _aisparser.aismsg_17_latitude_set) + spare2 = property(_aisparser.aismsg_17_spare2_get, _aisparser.aismsg_17_spare2_set) + msg_type = property(_aisparser.aismsg_17_msg_type_get, _aisparser.aismsg_17_msg_type_set) + station_id = property(_aisparser.aismsg_17_station_id_get, _aisparser.aismsg_17_station_id_set) + z_count = property(_aisparser.aismsg_17_z_count_get, _aisparser.aismsg_17_z_count_set) + seq_num = property(_aisparser.aismsg_17_seq_num_get, _aisparser.aismsg_17_seq_num_set) + num_words = property(_aisparser.aismsg_17_num_words_get, _aisparser.aismsg_17_num_words_set) + health = property(_aisparser.aismsg_17_health_get, _aisparser.aismsg_17_health_set) + data = property(_aisparser.aismsg_17_data_get, _aisparser.aismsg_17_data_set) + + def __init__(self): + _aisparser.aismsg_17_swiginit(self, _aisparser.new_aismsg_17()) + __swig_destroy__ = _aisparser.delete_aismsg_17 + +# Register aismsg_17 in _aisparser: +_aisparser.aismsg_17_swigregister(aismsg_17) + +class aismsg_18(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_18_msgid_get, _aisparser.aismsg_18_msgid_set) + repeat = property(_aisparser.aismsg_18_repeat_get, _aisparser.aismsg_18_repeat_set) + userid = property(_aisparser.aismsg_18_userid_get, _aisparser.aismsg_18_userid_set) + regional1 = property(_aisparser.aismsg_18_regional1_get, _aisparser.aismsg_18_regional1_set) + sog = property(_aisparser.aismsg_18_sog_get, _aisparser.aismsg_18_sog_set) + pos_acc = property(_aisparser.aismsg_18_pos_acc_get, _aisparser.aismsg_18_pos_acc_set) + longitude = property(_aisparser.aismsg_18_longitude_get, _aisparser.aismsg_18_longitude_set) + latitude = property(_aisparser.aismsg_18_latitude_get, _aisparser.aismsg_18_latitude_set) + cog = property(_aisparser.aismsg_18_cog_get, _aisparser.aismsg_18_cog_set) + true = property(_aisparser.aismsg_18_true_get, _aisparser.aismsg_18_true_set) + utc_sec = property(_aisparser.aismsg_18_utc_sec_get, _aisparser.aismsg_18_utc_sec_set) + regional2 = property(_aisparser.aismsg_18_regional2_get, _aisparser.aismsg_18_regional2_set) + unit_flag = property(_aisparser.aismsg_18_unit_flag_get, _aisparser.aismsg_18_unit_flag_set) + display_flag = property(_aisparser.aismsg_18_display_flag_get, _aisparser.aismsg_18_display_flag_set) + dsc_flag = property(_aisparser.aismsg_18_dsc_flag_get, _aisparser.aismsg_18_dsc_flag_set) + band_flag = property(_aisparser.aismsg_18_band_flag_get, _aisparser.aismsg_18_band_flag_set) + msg22_flag = property(_aisparser.aismsg_18_msg22_flag_get, _aisparser.aismsg_18_msg22_flag_set) + mode_flag = property(_aisparser.aismsg_18_mode_flag_get, _aisparser.aismsg_18_mode_flag_set) + raim = property(_aisparser.aismsg_18_raim_get, _aisparser.aismsg_18_raim_set) + comm_state = property(_aisparser.aismsg_18_comm_state_get, _aisparser.aismsg_18_comm_state_set) + sotdma = property(_aisparser.aismsg_18_sotdma_get) + itdma = property(_aisparser.aismsg_18_itdma_get) + + def __init__(self): + _aisparser.aismsg_18_swiginit(self, _aisparser.new_aismsg_18()) + __swig_destroy__ = _aisparser.delete_aismsg_18 + +# Register aismsg_18 in _aisparser: +_aisparser.aismsg_18_swigregister(aismsg_18) + +class aismsg_18_itdma(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + sync_state = property(_aisparser.aismsg_18_itdma_sync_state_get, _aisparser.aismsg_18_itdma_sync_state_set) + slot_inc = property(_aisparser.aismsg_18_itdma_slot_inc_get, _aisparser.aismsg_18_itdma_slot_inc_set) + num_slots = property(_aisparser.aismsg_18_itdma_num_slots_get, _aisparser.aismsg_18_itdma_num_slots_set) + keep_flag = property(_aisparser.aismsg_18_itdma_keep_flag_get, _aisparser.aismsg_18_itdma_keep_flag_set) + + def __init__(self): + _aisparser.aismsg_18_itdma_swiginit(self, _aisparser.new_aismsg_18_itdma()) + __swig_destroy__ = _aisparser.delete_aismsg_18_itdma + +# Register aismsg_18_itdma in _aisparser: +_aisparser.aismsg_18_itdma_swigregister(aismsg_18_itdma) + +class aismsg_18_sotdma(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + sync_state = property(_aisparser.aismsg_18_sotdma_sync_state_get, _aisparser.aismsg_18_sotdma_sync_state_set) + slot_timeout = property(_aisparser.aismsg_18_sotdma_slot_timeout_get, _aisparser.aismsg_18_sotdma_slot_timeout_set) + sub_message = property(_aisparser.aismsg_18_sotdma_sub_message_get, _aisparser.aismsg_18_sotdma_sub_message_set) + + def __init__(self): + _aisparser.aismsg_18_sotdma_swiginit(self, _aisparser.new_aismsg_18_sotdma()) + __swig_destroy__ = _aisparser.delete_aismsg_18_sotdma + +# Register aismsg_18_sotdma in _aisparser: +_aisparser.aismsg_18_sotdma_swigregister(aismsg_18_sotdma) + +class aismsg_19(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_19_msgid_get, _aisparser.aismsg_19_msgid_set) + repeat = property(_aisparser.aismsg_19_repeat_get, _aisparser.aismsg_19_repeat_set) + userid = property(_aisparser.aismsg_19_userid_get, _aisparser.aismsg_19_userid_set) + regional1 = property(_aisparser.aismsg_19_regional1_get, _aisparser.aismsg_19_regional1_set) + sog = property(_aisparser.aismsg_19_sog_get, _aisparser.aismsg_19_sog_set) + pos_acc = property(_aisparser.aismsg_19_pos_acc_get, _aisparser.aismsg_19_pos_acc_set) + longitude = property(_aisparser.aismsg_19_longitude_get, _aisparser.aismsg_19_longitude_set) + latitude = property(_aisparser.aismsg_19_latitude_get, _aisparser.aismsg_19_latitude_set) + cog = property(_aisparser.aismsg_19_cog_get, _aisparser.aismsg_19_cog_set) + true = property(_aisparser.aismsg_19_true_get, _aisparser.aismsg_19_true_set) + utc_sec = property(_aisparser.aismsg_19_utc_sec_get, _aisparser.aismsg_19_utc_sec_set) + regional2 = property(_aisparser.aismsg_19_regional2_get, _aisparser.aismsg_19_regional2_set) + name = property(_aisparser.aismsg_19_name_get, _aisparser.aismsg_19_name_set) + ship_type = property(_aisparser.aismsg_19_ship_type_get, _aisparser.aismsg_19_ship_type_set) + dim_bow = property(_aisparser.aismsg_19_dim_bow_get, _aisparser.aismsg_19_dim_bow_set) + dim_stern = property(_aisparser.aismsg_19_dim_stern_get, _aisparser.aismsg_19_dim_stern_set) + dim_port = property(_aisparser.aismsg_19_dim_port_get, _aisparser.aismsg_19_dim_port_set) + dim_starboard = property(_aisparser.aismsg_19_dim_starboard_get, _aisparser.aismsg_19_dim_starboard_set) + pos_type = property(_aisparser.aismsg_19_pos_type_get, _aisparser.aismsg_19_pos_type_set) + raim = property(_aisparser.aismsg_19_raim_get, _aisparser.aismsg_19_raim_set) + dte = property(_aisparser.aismsg_19_dte_get, _aisparser.aismsg_19_dte_set) + spare = property(_aisparser.aismsg_19_spare_get, _aisparser.aismsg_19_spare_set) + + def __init__(self): + _aisparser.aismsg_19_swiginit(self, _aisparser.new_aismsg_19()) + __swig_destroy__ = _aisparser.delete_aismsg_19 + +# Register aismsg_19 in _aisparser: +_aisparser.aismsg_19_swigregister(aismsg_19) + +class aismsg_20(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_20_msgid_get, _aisparser.aismsg_20_msgid_set) + repeat = property(_aisparser.aismsg_20_repeat_get, _aisparser.aismsg_20_repeat_set) + userid = property(_aisparser.aismsg_20_userid_get, _aisparser.aismsg_20_userid_set) + spare1 = property(_aisparser.aismsg_20_spare1_get, _aisparser.aismsg_20_spare1_set) + offset1 = property(_aisparser.aismsg_20_offset1_get, _aisparser.aismsg_20_offset1_set) + slots1 = property(_aisparser.aismsg_20_slots1_get, _aisparser.aismsg_20_slots1_set) + timeout1 = property(_aisparser.aismsg_20_timeout1_get, _aisparser.aismsg_20_timeout1_set) + increment1 = property(_aisparser.aismsg_20_increment1_get, _aisparser.aismsg_20_increment1_set) + offset2 = property(_aisparser.aismsg_20_offset2_get, _aisparser.aismsg_20_offset2_set) + slots2 = property(_aisparser.aismsg_20_slots2_get, _aisparser.aismsg_20_slots2_set) + timeout2 = property(_aisparser.aismsg_20_timeout2_get, _aisparser.aismsg_20_timeout2_set) + increment2 = property(_aisparser.aismsg_20_increment2_get, _aisparser.aismsg_20_increment2_set) + offset3 = property(_aisparser.aismsg_20_offset3_get, _aisparser.aismsg_20_offset3_set) + slots3 = property(_aisparser.aismsg_20_slots3_get, _aisparser.aismsg_20_slots3_set) + timeout3 = property(_aisparser.aismsg_20_timeout3_get, _aisparser.aismsg_20_timeout3_set) + increment3 = property(_aisparser.aismsg_20_increment3_get, _aisparser.aismsg_20_increment3_set) + offset4 = property(_aisparser.aismsg_20_offset4_get, _aisparser.aismsg_20_offset4_set) + slots4 = property(_aisparser.aismsg_20_slots4_get, _aisparser.aismsg_20_slots4_set) + timeout4 = property(_aisparser.aismsg_20_timeout4_get, _aisparser.aismsg_20_timeout4_set) + increment4 = property(_aisparser.aismsg_20_increment4_get, _aisparser.aismsg_20_increment4_set) + spare2 = property(_aisparser.aismsg_20_spare2_get, _aisparser.aismsg_20_spare2_set) + num_cmds = property(_aisparser.aismsg_20_num_cmds_get, _aisparser.aismsg_20_num_cmds_set) + + def __init__(self): + _aisparser.aismsg_20_swiginit(self, _aisparser.new_aismsg_20()) + __swig_destroy__ = _aisparser.delete_aismsg_20 + +# Register aismsg_20 in _aisparser: +_aisparser.aismsg_20_swigregister(aismsg_20) + +class aismsg_21(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_21_msgid_get, _aisparser.aismsg_21_msgid_set) + repeat = property(_aisparser.aismsg_21_repeat_get, _aisparser.aismsg_21_repeat_set) + userid = property(_aisparser.aismsg_21_userid_get, _aisparser.aismsg_21_userid_set) + aton_type = property(_aisparser.aismsg_21_aton_type_get, _aisparser.aismsg_21_aton_type_set) + name = property(_aisparser.aismsg_21_name_get, _aisparser.aismsg_21_name_set) + pos_acc = property(_aisparser.aismsg_21_pos_acc_get, _aisparser.aismsg_21_pos_acc_set) + longitude = property(_aisparser.aismsg_21_longitude_get, _aisparser.aismsg_21_longitude_set) + latitude = property(_aisparser.aismsg_21_latitude_get, _aisparser.aismsg_21_latitude_set) + dim_bow = property(_aisparser.aismsg_21_dim_bow_get, _aisparser.aismsg_21_dim_bow_set) + dim_stern = property(_aisparser.aismsg_21_dim_stern_get, _aisparser.aismsg_21_dim_stern_set) + dim_port = property(_aisparser.aismsg_21_dim_port_get, _aisparser.aismsg_21_dim_port_set) + dim_starboard = property(_aisparser.aismsg_21_dim_starboard_get, _aisparser.aismsg_21_dim_starboard_set) + pos_type = property(_aisparser.aismsg_21_pos_type_get, _aisparser.aismsg_21_pos_type_set) + utc_sec = property(_aisparser.aismsg_21_utc_sec_get, _aisparser.aismsg_21_utc_sec_set) + off_position = property(_aisparser.aismsg_21_off_position_get, _aisparser.aismsg_21_off_position_set) + regional = property(_aisparser.aismsg_21_regional_get, _aisparser.aismsg_21_regional_set) + raim = property(_aisparser.aismsg_21_raim_get, _aisparser.aismsg_21_raim_set) + virtual = property(_aisparser.aismsg_21_virtual_get, _aisparser.aismsg_21_virtual_set) + assigned = property(_aisparser.aismsg_21_assigned_get, _aisparser.aismsg_21_assigned_set) + spare1 = property(_aisparser.aismsg_21_spare1_get, _aisparser.aismsg_21_spare1_set) + name_ext = property(_aisparser.aismsg_21_name_ext_get, _aisparser.aismsg_21_name_ext_set) + spare2 = property(_aisparser.aismsg_21_spare2_get, _aisparser.aismsg_21_spare2_set) + + def __init__(self): + _aisparser.aismsg_21_swiginit(self, _aisparser.new_aismsg_21()) + __swig_destroy__ = _aisparser.delete_aismsg_21 + +# Register aismsg_21 in _aisparser: +_aisparser.aismsg_21_swigregister(aismsg_21) + +class aismsg_22(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_22_msgid_get, _aisparser.aismsg_22_msgid_set) + repeat = property(_aisparser.aismsg_22_repeat_get, _aisparser.aismsg_22_repeat_set) + userid = property(_aisparser.aismsg_22_userid_get, _aisparser.aismsg_22_userid_set) + spare1 = property(_aisparser.aismsg_22_spare1_get, _aisparser.aismsg_22_spare1_set) + channel_a = property(_aisparser.aismsg_22_channel_a_get, _aisparser.aismsg_22_channel_a_set) + channel_b = property(_aisparser.aismsg_22_channel_b_get, _aisparser.aismsg_22_channel_b_set) + txrx_mode = property(_aisparser.aismsg_22_txrx_mode_get, _aisparser.aismsg_22_txrx_mode_set) + power = property(_aisparser.aismsg_22_power_get, _aisparser.aismsg_22_power_set) + NE_longitude = property(_aisparser.aismsg_22_NE_longitude_get, _aisparser.aismsg_22_NE_longitude_set) + NE_latitude = property(_aisparser.aismsg_22_NE_latitude_get, _aisparser.aismsg_22_NE_latitude_set) + addressed_1 = property(_aisparser.aismsg_22_addressed_1_get, _aisparser.aismsg_22_addressed_1_set) + SW_longitude = property(_aisparser.aismsg_22_SW_longitude_get, _aisparser.aismsg_22_SW_longitude_set) + SW_latitude = property(_aisparser.aismsg_22_SW_latitude_get, _aisparser.aismsg_22_SW_latitude_set) + addressed_2 = property(_aisparser.aismsg_22_addressed_2_get, _aisparser.aismsg_22_addressed_2_set) + addressed = property(_aisparser.aismsg_22_addressed_get, _aisparser.aismsg_22_addressed_set) + bw_a = property(_aisparser.aismsg_22_bw_a_get, _aisparser.aismsg_22_bw_a_set) + bw_b = property(_aisparser.aismsg_22_bw_b_get, _aisparser.aismsg_22_bw_b_set) + tz_size = property(_aisparser.aismsg_22_tz_size_get, _aisparser.aismsg_22_tz_size_set) + spare2 = property(_aisparser.aismsg_22_spare2_get, _aisparser.aismsg_22_spare2_set) + + def __init__(self): + _aisparser.aismsg_22_swiginit(self, _aisparser.new_aismsg_22()) + __swig_destroy__ = _aisparser.delete_aismsg_22 + +# Register aismsg_22 in _aisparser: +_aisparser.aismsg_22_swigregister(aismsg_22) + +class aismsg_23(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_23_msgid_get, _aisparser.aismsg_23_msgid_set) + repeat = property(_aisparser.aismsg_23_repeat_get, _aisparser.aismsg_23_repeat_set) + userid = property(_aisparser.aismsg_23_userid_get, _aisparser.aismsg_23_userid_set) + spare1 = property(_aisparser.aismsg_23_spare1_get, _aisparser.aismsg_23_spare1_set) + NE_longitude = property(_aisparser.aismsg_23_NE_longitude_get, _aisparser.aismsg_23_NE_longitude_set) + NE_latitude = property(_aisparser.aismsg_23_NE_latitude_get, _aisparser.aismsg_23_NE_latitude_set) + SW_longitude = property(_aisparser.aismsg_23_SW_longitude_get, _aisparser.aismsg_23_SW_longitude_set) + SW_latitude = property(_aisparser.aismsg_23_SW_latitude_get, _aisparser.aismsg_23_SW_latitude_set) + station_type = property(_aisparser.aismsg_23_station_type_get, _aisparser.aismsg_23_station_type_set) + ship_type = property(_aisparser.aismsg_23_ship_type_get, _aisparser.aismsg_23_ship_type_set) + spare2 = property(_aisparser.aismsg_23_spare2_get, _aisparser.aismsg_23_spare2_set) + txrx_mode = property(_aisparser.aismsg_23_txrx_mode_get, _aisparser.aismsg_23_txrx_mode_set) + report_interval = property(_aisparser.aismsg_23_report_interval_get, _aisparser.aismsg_23_report_interval_set) + quiet_time = property(_aisparser.aismsg_23_quiet_time_get, _aisparser.aismsg_23_quiet_time_set) + spare3 = property(_aisparser.aismsg_23_spare3_get, _aisparser.aismsg_23_spare3_set) + + def __init__(self): + _aisparser.aismsg_23_swiginit(self, _aisparser.new_aismsg_23()) + __swig_destroy__ = _aisparser.delete_aismsg_23 + +# Register aismsg_23 in _aisparser: +_aisparser.aismsg_23_swigregister(aismsg_23) + +class aismsg_24(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_24_msgid_get, _aisparser.aismsg_24_msgid_set) + repeat = property(_aisparser.aismsg_24_repeat_get, _aisparser.aismsg_24_repeat_set) + userid = property(_aisparser.aismsg_24_userid_get, _aisparser.aismsg_24_userid_set) + part_number = property(_aisparser.aismsg_24_part_number_get, _aisparser.aismsg_24_part_number_set) + name = property(_aisparser.aismsg_24_name_get, _aisparser.aismsg_24_name_set) + ship_type = property(_aisparser.aismsg_24_ship_type_get, _aisparser.aismsg_24_ship_type_set) + vendor_id = property(_aisparser.aismsg_24_vendor_id_get, _aisparser.aismsg_24_vendor_id_set) + callsign = property(_aisparser.aismsg_24_callsign_get, _aisparser.aismsg_24_callsign_set) + dim_bow = property(_aisparser.aismsg_24_dim_bow_get, _aisparser.aismsg_24_dim_bow_set) + dim_stern = property(_aisparser.aismsg_24_dim_stern_get, _aisparser.aismsg_24_dim_stern_set) + dim_port = property(_aisparser.aismsg_24_dim_port_get, _aisparser.aismsg_24_dim_port_set) + dim_starboard = property(_aisparser.aismsg_24_dim_starboard_get, _aisparser.aismsg_24_dim_starboard_set) + spare = property(_aisparser.aismsg_24_spare_get, _aisparser.aismsg_24_spare_set) + flags = property(_aisparser.aismsg_24_flags_get, _aisparser.aismsg_24_flags_set) + + def __init__(self): + _aisparser.aismsg_24_swiginit(self, _aisparser.new_aismsg_24()) + __swig_destroy__ = _aisparser.delete_aismsg_24 + +# Register aismsg_24 in _aisparser: +_aisparser.aismsg_24_swigregister(aismsg_24) + +class aismsg_27(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.aismsg_27_msgid_get, _aisparser.aismsg_27_msgid_set) + repeat = property(_aisparser.aismsg_27_repeat_get, _aisparser.aismsg_27_repeat_set) + userid = property(_aisparser.aismsg_27_userid_get, _aisparser.aismsg_27_userid_set) + pos_acc = property(_aisparser.aismsg_27_pos_acc_get, _aisparser.aismsg_27_pos_acc_set) + raim = property(_aisparser.aismsg_27_raim_get, _aisparser.aismsg_27_raim_set) + nav_status = property(_aisparser.aismsg_27_nav_status_get, _aisparser.aismsg_27_nav_status_set) + longitude = property(_aisparser.aismsg_27_longitude_get, _aisparser.aismsg_27_longitude_set) + latitude = property(_aisparser.aismsg_27_latitude_get, _aisparser.aismsg_27_latitude_set) + sog = property(_aisparser.aismsg_27_sog_get, _aisparser.aismsg_27_sog_set) + cog = property(_aisparser.aismsg_27_cog_get, _aisparser.aismsg_27_cog_set) + gnss = property(_aisparser.aismsg_27_gnss_get, _aisparser.aismsg_27_gnss_set) + spare = property(_aisparser.aismsg_27_spare_get, _aisparser.aismsg_27_spare_set) + + def __init__(self): + _aisparser.aismsg_27_swiginit(self, _aisparser.new_aismsg_27()) + __swig_destroy__ = _aisparser.delete_aismsg_27 + +# Register aismsg_27 in _aisparser: +_aisparser.aismsg_27_swigregister(aismsg_27) + +class timetag(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + month = property(_aisparser.timetag_month_get, _aisparser.timetag_month_set) + day = property(_aisparser.timetag_day_get, _aisparser.timetag_day_set) + hours = property(_aisparser.timetag_hours_get, _aisparser.timetag_hours_set) + minutes = property(_aisparser.timetag_minutes_get, _aisparser.timetag_minutes_set) + + def __init__(self): + _aisparser.timetag_swiginit(self, _aisparser.new_timetag()) + __swig_destroy__ = _aisparser.delete_timetag + +# Register timetag in _aisparser: +_aisparser.timetag_swigregister(timetag) + +class ais_state(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + msgid = property(_aisparser.ais_state_msgid_get, _aisparser.ais_state_msgid_set) + sequence = property(_aisparser.ais_state_sequence_get, _aisparser.ais_state_sequence_set) + total = property(_aisparser.ais_state_total_get, _aisparser.ais_state_total_set) + num = property(_aisparser.ais_state_num_get, _aisparser.ais_state_num_set) + channel = property(_aisparser.ais_state_channel_get, _aisparser.ais_state_channel_set) + six_state = property(_aisparser.ais_state_six_state_get, _aisparser.ais_state_six_state_set) + + def __init__(self): + _aisparser.ais_state_swiginit(self, _aisparser.new_ais_state()) + __swig_destroy__ = _aisparser.delete_ais_state + +# Register ais_state in _aisparser: +_aisparser.ais_state_swigregister(ais_state) + +class binary_state(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + dac = property(_aisparser.binary_state_dac_get, _aisparser.binary_state_dac_set) + fi = property(_aisparser.binary_state_fi_get, _aisparser.binary_state_fi_set) + spare = property(_aisparser.binary_state_spare_get, _aisparser.binary_state_spare_set) + msgid = property(_aisparser.binary_state_msgid_get, _aisparser.binary_state_msgid_set) + six_state = property(_aisparser.binary_state_six_state_get, _aisparser.binary_state_six_state_set) + + def __init__(self): + _aisparser.binary_state_swiginit(self, _aisparser.new_binary_state()) + __swig_destroy__ = _aisparser.delete_binary_state + +# Register binary_state in _aisparser: +_aisparser.binary_state_swigregister(binary_state) + + +def get_timetag(state, datetime): + return _aisparser.get_timetag(state, datetime) + +def conv_sign(sign_bit, value): + return _aisparser.conv_sign(sign_bit, value) + +def ais2ascii(value): + return _aisparser.ais2ascii(value) + +def conv_pos(latitude, longitude): + return _aisparser.conv_pos(latitude, longitude) + +def conv_pos27(latitude, longitude): + return _aisparser.conv_pos27(latitude, longitude) + +def assemble_vdm(state, str): + return _aisparser.assemble_vdm(state, str) + +def parse_ais_1(state, result): + return _aisparser.parse_ais_1(state, result) + +def parse_ais_2(state, result): + return _aisparser.parse_ais_2(state, result) + +def parse_ais_3(state, result): + return _aisparser.parse_ais_3(state, result) + +def parse_ais_4(state, result): + return _aisparser.parse_ais_4(state, result) + +def parse_ais_5(state, result): + return _aisparser.parse_ais_5(state, result) + +def parse_ais_6(state, result): + return _aisparser.parse_ais_6(state, result) + +def parse_ais_7(state, result): + return _aisparser.parse_ais_7(state, result) + +def parse_ais_8(state, result): + return _aisparser.parse_ais_8(state, result) + +def parse_ais_9(state, result): + return _aisparser.parse_ais_9(state, result) + +def parse_ais_10(state, result): + return _aisparser.parse_ais_10(state, result) + +def parse_ais_11(state, result): + return _aisparser.parse_ais_11(state, result) + +def parse_ais_12(state, result): + return _aisparser.parse_ais_12(state, result) + +def parse_ais_13(state, result): + return _aisparser.parse_ais_13(state, result) + +def parse_ais_14(state, result): + return _aisparser.parse_ais_14(state, result) + +def parse_ais_15(state, result): + return _aisparser.parse_ais_15(state, result) + +def parse_ais_16(state, result): + return _aisparser.parse_ais_16(state, result) + +def parse_ais_17(state, result): + return _aisparser.parse_ais_17(state, result) + +def parse_ais_18(state, result): + return _aisparser.parse_ais_18(state, result) + +def parse_ais_19(state, result): + return _aisparser.parse_ais_19(state, result) + +def parse_ais_20(state, result): + return _aisparser.parse_ais_20(state, result) + +def parse_ais_21(state, result): + return _aisparser.parse_ais_21(state, result) + +def parse_ais_22(state, result): + return _aisparser.parse_ais_22(state, result) + +def parse_ais_23(state, result): + return _aisparser.parse_ais_23(state, result) + +def parse_ais_24(state, result): + return _aisparser.parse_ais_24(state, result) + +def parse_ais_27(state, result): + return _aisparser.parse_ais_27(state, result) +class wind_report(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + utc_time = property(_aisparser.wind_report_utc_time_get, _aisparser.wind_report_utc_time_set) + station_id = property(_aisparser.wind_report_station_id_get, _aisparser.wind_report_station_id_set) + longitude = property(_aisparser.wind_report_longitude_get, _aisparser.wind_report_longitude_set) + latitude = property(_aisparser.wind_report_latitude_get, _aisparser.wind_report_latitude_set) + speed = property(_aisparser.wind_report_speed_get, _aisparser.wind_report_speed_set) + gust = property(_aisparser.wind_report_gust_get, _aisparser.wind_report_gust_set) + direction = property(_aisparser.wind_report_direction_get, _aisparser.wind_report_direction_set) + spare = property(_aisparser.wind_report_spare_get, _aisparser.wind_report_spare_set) + + def __init__(self): + _aisparser.wind_report_swiginit(self, _aisparser.new_wind_report()) + __swig_destroy__ = _aisparser.delete_wind_report + +# Register wind_report in _aisparser: +_aisparser.wind_report_swigregister(wind_report) + +class weather_report(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + utc_time = property(_aisparser.weather_report_utc_time_get, _aisparser.weather_report_utc_time_set) + station_id = property(_aisparser.weather_report_station_id_get, _aisparser.weather_report_station_id_set) + longitude = property(_aisparser.weather_report_longitude_get, _aisparser.weather_report_longitude_set) + latitude = property(_aisparser.weather_report_latitude_get, _aisparser.weather_report_latitude_set) + speed = property(_aisparser.weather_report_speed_get, _aisparser.weather_report_speed_set) + gust = property(_aisparser.weather_report_gust_get, _aisparser.weather_report_gust_set) + direction = property(_aisparser.weather_report_direction_get, _aisparser.weather_report_direction_set) + pressure = property(_aisparser.weather_report_pressure_get, _aisparser.weather_report_pressure_set) + air_temp = property(_aisparser.weather_report_air_temp_get, _aisparser.weather_report_air_temp_set) + dew_point = property(_aisparser.weather_report_dew_point_get, _aisparser.weather_report_dew_point_set) + visibility = property(_aisparser.weather_report_visibility_get, _aisparser.weather_report_visibility_set) + water_temp = property(_aisparser.weather_report_water_temp_get, _aisparser.weather_report_water_temp_set) + + def __init__(self): + _aisparser.weather_report_swiginit(self, _aisparser.new_weather_report()) + __swig_destroy__ = _aisparser.delete_weather_report + +# Register weather_report in _aisparser: +_aisparser.weather_report_swigregister(weather_report) + +class water_level_report(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + utc_time = property(_aisparser.water_level_report_utc_time_get, _aisparser.water_level_report_utc_time_set) + station_id = property(_aisparser.water_level_report_station_id_get, _aisparser.water_level_report_station_id_set) + longitude = property(_aisparser.water_level_report_longitude_get, _aisparser.water_level_report_longitude_set) + latitude = property(_aisparser.water_level_report_latitude_get, _aisparser.water_level_report_latitude_set) + type = property(_aisparser.water_level_report_type_get, _aisparser.water_level_report_type_set) + level = property(_aisparser.water_level_report_level_get, _aisparser.water_level_report_level_set) + datum = property(_aisparser.water_level_report_datum_get, _aisparser.water_level_report_datum_set) + spare = property(_aisparser.water_level_report_spare_get, _aisparser.water_level_report_spare_set) + + def __init__(self): + _aisparser.water_level_report_swiginit(self, _aisparser.new_water_level_report()) + __swig_destroy__ = _aisparser.delete_water_level_report + +# Register water_level_report in _aisparser: +_aisparser.water_level_report_swigregister(water_level_report) + +class water_flow_report(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + utc_time = property(_aisparser.water_flow_report_utc_time_get, _aisparser.water_flow_report_utc_time_set) + station_id = property(_aisparser.water_flow_report_station_id_get, _aisparser.water_flow_report_station_id_set) + longitude = property(_aisparser.water_flow_report_longitude_get, _aisparser.water_flow_report_longitude_set) + latitude = property(_aisparser.water_flow_report_latitude_get, _aisparser.water_flow_report_latitude_set) + flow = property(_aisparser.water_flow_report_flow_get, _aisparser.water_flow_report_flow_set) + spare = property(_aisparser.water_flow_report_spare_get, _aisparser.water_flow_report_spare_set) + + def __init__(self): + _aisparser.water_flow_report_swiginit(self, _aisparser.new_water_flow_report()) + __swig_destroy__ = _aisparser.delete_water_flow_report + +# Register water_flow_report in _aisparser: +_aisparser.water_flow_report_swigregister(water_flow_report) + +class lock_schedule(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + name = property(_aisparser.lock_schedule_name_get, _aisparser.lock_schedule_name_set) + direction = property(_aisparser.lock_schedule_direction_get, _aisparser.lock_schedule_direction_set) + eta = property(_aisparser.lock_schedule_eta_get, _aisparser.lock_schedule_eta_set) + spare = property(_aisparser.lock_schedule_spare_get, _aisparser.lock_schedule_spare_set) + + def __init__(self): + _aisparser.lock_schedule_swiginit(self, _aisparser.new_lock_schedule()) + __swig_destroy__ = _aisparser.delete_lock_schedule + +# Register lock_schedule in _aisparser: +_aisparser.lock_schedule_swigregister(lock_schedule) + +class current_report(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + utc_time = property(_aisparser.current_report_utc_time_get, _aisparser.current_report_utc_time_set) + station_id = property(_aisparser.current_report_station_id_get, _aisparser.current_report_station_id_set) + longitude = property(_aisparser.current_report_longitude_get, _aisparser.current_report_longitude_set) + latitude = property(_aisparser.current_report_latitude_get, _aisparser.current_report_latitude_set) + speed = property(_aisparser.current_report_speed_get, _aisparser.current_report_speed_set) + direction = property(_aisparser.current_report_direction_get, _aisparser.current_report_direction_set) + spare = property(_aisparser.current_report_spare_get, _aisparser.current_report_spare_set) + + def __init__(self): + _aisparser.current_report_swiginit(self, _aisparser.new_current_report()) + __swig_destroy__ = _aisparser.delete_current_report + +# Register current_report in _aisparser: +_aisparser.current_report_swigregister(current_report) + +class salinity_report(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + utc_time = property(_aisparser.salinity_report_utc_time_get, _aisparser.salinity_report_utc_time_set) + station_id = property(_aisparser.salinity_report_station_id_get, _aisparser.salinity_report_station_id_set) + longitude = property(_aisparser.salinity_report_longitude_get, _aisparser.salinity_report_longitude_set) + latitude = property(_aisparser.salinity_report_latitude_get, _aisparser.salinity_report_latitude_set) + salinity = property(_aisparser.salinity_report_salinity_get, _aisparser.salinity_report_salinity_set) + water_temp = property(_aisparser.salinity_report_water_temp_get, _aisparser.salinity_report_water_temp_set) + spare = property(_aisparser.salinity_report_spare_get, _aisparser.salinity_report_spare_set) + + def __init__(self): + _aisparser.salinity_report_swiginit(self, _aisparser.new_salinity_report()) + __swig_destroy__ = _aisparser.delete_salinity_report + +# Register salinity_report in _aisparser: +_aisparser.salinity_report_swigregister(salinity_report) + +class procession_order(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + order = property(_aisparser.procession_order_order_get, _aisparser.procession_order_order_set) + vessel_name = property(_aisparser.procession_order_vessel_name_get, _aisparser.procession_order_vessel_name_set) + position_name = property(_aisparser.procession_order_position_name_get, _aisparser.procession_order_position_name_set) + time_hh = property(_aisparser.procession_order_time_hh_get, _aisparser.procession_order_time_hh_set) + time_mm = property(_aisparser.procession_order_time_mm_get, _aisparser.procession_order_time_mm_set) + spare = property(_aisparser.procession_order_spare_get, _aisparser.procession_order_spare_set) + + def __init__(self): + _aisparser.procession_order_swiginit(self, _aisparser.new_procession_order()) + __swig_destroy__ = _aisparser.delete_procession_order + +# Register procession_order in _aisparser: +_aisparser.procession_order_swigregister(procession_order) + +class seaway1_1(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + report = property(_aisparser.seaway1_1_report_get, _aisparser.seaway1_1_report_set) + + def __init__(self): + _aisparser.seaway1_1_swiginit(self, _aisparser.new_seaway1_1()) + __swig_destroy__ = _aisparser.delete_seaway1_1 + +# Register seaway1_1 in _aisparser: +_aisparser.seaway1_1_swigregister(seaway1_1) + +class seaway1_2(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + report = property(_aisparser.seaway1_2_report_get, _aisparser.seaway1_2_report_set) + + def __init__(self): + _aisparser.seaway1_2_swiginit(self, _aisparser.new_seaway1_2()) + __swig_destroy__ = _aisparser.delete_seaway1_2 + +# Register seaway1_2 in _aisparser: +_aisparser.seaway1_2_swigregister(seaway1_2) + +class seaway1_3(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + report = property(_aisparser.seaway1_3_report_get, _aisparser.seaway1_3_report_set) + + def __init__(self): + _aisparser.seaway1_3_swiginit(self, _aisparser.new_seaway1_3()) + __swig_destroy__ = _aisparser.delete_seaway1_3 + +# Register seaway1_3 in _aisparser: +_aisparser.seaway1_3_swigregister(seaway1_3) + +class seaway1_6(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + report = property(_aisparser.seaway1_6_report_get, _aisparser.seaway1_6_report_set) + + def __init__(self): + _aisparser.seaway1_6_swiginit(self, _aisparser.new_seaway1_6()) + __swig_destroy__ = _aisparser.delete_seaway1_6 + +# Register seaway1_6 in _aisparser: +_aisparser.seaway1_6_swigregister(seaway1_6) + +class seaway2_1(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + utc_time = property(_aisparser.seaway2_1_utc_time_get, _aisparser.seaway2_1_utc_time_set) + lock_id = property(_aisparser.seaway2_1_lock_id_get, _aisparser.seaway2_1_lock_id_set) + longitude = property(_aisparser.seaway2_1_longitude_get, _aisparser.seaway2_1_longitude_set) + latitude = property(_aisparser.seaway2_1_latitude_get, _aisparser.seaway2_1_latitude_set) + spare2 = property(_aisparser.seaway2_1_spare2_get, _aisparser.seaway2_1_spare2_set) + schedule = property(_aisparser.seaway2_1_schedule_get, _aisparser.seaway2_1_schedule_set) + + def __init__(self): + _aisparser.seaway2_1_swiginit(self, _aisparser.new_seaway2_1()) + __swig_destroy__ = _aisparser.delete_seaway2_1 + +# Register seaway2_1 in _aisparser: +_aisparser.seaway2_1_swigregister(seaway2_1) + +class seaway2_2(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + utc_time = property(_aisparser.seaway2_2_utc_time_get, _aisparser.seaway2_2_utc_time_set) + name = property(_aisparser.seaway2_2_name_get, _aisparser.seaway2_2_name_set) + last_location = property(_aisparser.seaway2_2_last_location_get, _aisparser.seaway2_2_last_location_set) + last_ata = property(_aisparser.seaway2_2_last_ata_get, _aisparser.seaway2_2_last_ata_set) + first_lock = property(_aisparser.seaway2_2_first_lock_get, _aisparser.seaway2_2_first_lock_set) + first_eta = property(_aisparser.seaway2_2_first_eta_get, _aisparser.seaway2_2_first_eta_set) + second_lock = property(_aisparser.seaway2_2_second_lock_get, _aisparser.seaway2_2_second_lock_set) + second_eta = property(_aisparser.seaway2_2_second_eta_get, _aisparser.seaway2_2_second_eta_set) + delay = property(_aisparser.seaway2_2_delay_get, _aisparser.seaway2_2_delay_set) + spare2 = property(_aisparser.seaway2_2_spare2_get, _aisparser.seaway2_2_spare2_set) + + def __init__(self): + _aisparser.seaway2_2_swiginit(self, _aisparser.new_seaway2_2()) + __swig_destroy__ = _aisparser.delete_seaway2_2 + +# Register seaway2_2 in _aisparser: +_aisparser.seaway2_2_swigregister(seaway2_2) + +class seaway32_1(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + major = property(_aisparser.seaway32_1_major_get, _aisparser.seaway32_1_major_set) + minor = property(_aisparser.seaway32_1_minor_get, _aisparser.seaway32_1_minor_set) + spare2 = property(_aisparser.seaway32_1_spare2_get, _aisparser.seaway32_1_spare2_set) + + def __init__(self): + _aisparser.seaway32_1_swiginit(self, _aisparser.new_seaway32_1()) + __swig_destroy__ = _aisparser.delete_seaway32_1 + +# Register seaway32_1 in _aisparser: +_aisparser.seaway32_1_swigregister(seaway32_1) + +class pawss1_4(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + report = property(_aisparser.pawss1_4_report_get, _aisparser.pawss1_4_report_set) + + def __init__(self): + _aisparser.pawss1_4_swiginit(self, _aisparser.new_pawss1_4()) + __swig_destroy__ = _aisparser.delete_pawss1_4 + +# Register pawss1_4 in _aisparser: +_aisparser.pawss1_4_swigregister(pawss1_4) + +class pawss1_5(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + report = property(_aisparser.pawss1_5_report_get, _aisparser.pawss1_5_report_set) + + def __init__(self): + _aisparser.pawss1_5_swiginit(self, _aisparser.new_pawss1_5()) + __swig_destroy__ = _aisparser.delete_pawss1_5 + +# Register pawss1_5 in _aisparser: +_aisparser.pawss1_5_swigregister(pawss1_5) + +class pawss2_3(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + utc_time = property(_aisparser.pawss2_3_utc_time_get, _aisparser.pawss2_3_utc_time_set) + direction = property(_aisparser.pawss2_3_direction_get, _aisparser.pawss2_3_direction_set) + longitude = property(_aisparser.pawss2_3_longitude_get, _aisparser.pawss2_3_longitude_set) + latitude = property(_aisparser.pawss2_3_latitude_get, _aisparser.pawss2_3_latitude_set) + spare2 = property(_aisparser.pawss2_3_spare2_get, _aisparser.pawss2_3_spare2_set) + report = property(_aisparser.pawss2_3_report_get, _aisparser.pawss2_3_report_set) + + def __init__(self): + _aisparser.pawss2_3_swiginit(self, _aisparser.new_pawss2_3()) + __swig_destroy__ = _aisparser.delete_pawss2_3 + +# Register pawss2_3 in _aisparser: +_aisparser.pawss2_3_swigregister(pawss2_3) + + +def parse_seaway1_1(state, result): + return _aisparser.parse_seaway1_1(state, result) + +def parse_seaway1_2(state, result): + return _aisparser.parse_seaway1_2(state, result) + +def parse_seaway1_3(state, result): + return _aisparser.parse_seaway1_3(state, result) + +def parse_seaway1_6(state, result): + return _aisparser.parse_seaway1_6(state, result) + +def parse_seaway2_1(state, result): + return _aisparser.parse_seaway2_1(state, result) + +def parse_seaway2_2(state, result): + return _aisparser.parse_seaway2_2(state, result) + +def parse_seaway32_1(state, result): + return _aisparser.parse_seaway32_1(state, result) + +def parse_pawss1_4(state, result): + return _aisparser.parse_pawss1_4(state, result) + +def parse_pawss1_5(state, result): + return _aisparser.parse_pawss1_5(state, result) + +def parse_pawss2_3(state, result): + return _aisparser.parse_pawss2_3(state, result) +class imo1_11(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + latitude = property(_aisparser.imo1_11_latitude_get, _aisparser.imo1_11_latitude_set) + longitude = property(_aisparser.imo1_11_longitude_get, _aisparser.imo1_11_longitude_set) + timedate = property(_aisparser.imo1_11_timedate_get, _aisparser.imo1_11_timedate_set) + wind_avg = property(_aisparser.imo1_11_wind_avg_get, _aisparser.imo1_11_wind_avg_set) + wind_gust = property(_aisparser.imo1_11_wind_gust_get, _aisparser.imo1_11_wind_gust_set) + wind_dir = property(_aisparser.imo1_11_wind_dir_get, _aisparser.imo1_11_wind_dir_set) + gust_dir = property(_aisparser.imo1_11_gust_dir_get, _aisparser.imo1_11_gust_dir_set) + air_temp = property(_aisparser.imo1_11_air_temp_get, _aisparser.imo1_11_air_temp_set) + humidity = property(_aisparser.imo1_11_humidity_get, _aisparser.imo1_11_humidity_set) + dew_point = property(_aisparser.imo1_11_dew_point_get, _aisparser.imo1_11_dew_point_set) + pressure = property(_aisparser.imo1_11_pressure_get, _aisparser.imo1_11_pressure_set) + tendency = property(_aisparser.imo1_11_tendency_get, _aisparser.imo1_11_tendency_set) + visibility = property(_aisparser.imo1_11_visibility_get, _aisparser.imo1_11_visibility_set) + water_level = property(_aisparser.imo1_11_water_level_get, _aisparser.imo1_11_water_level_set) + water_trend = property(_aisparser.imo1_11_water_trend_get, _aisparser.imo1_11_water_trend_set) + surface_speed = property(_aisparser.imo1_11_surface_speed_get, _aisparser.imo1_11_surface_speed_set) + surface_dir = property(_aisparser.imo1_11_surface_dir_get, _aisparser.imo1_11_surface_dir_set) + speed_2 = property(_aisparser.imo1_11_speed_2_get, _aisparser.imo1_11_speed_2_set) + dir_2 = property(_aisparser.imo1_11_dir_2_get, _aisparser.imo1_11_dir_2_set) + level_2 = property(_aisparser.imo1_11_level_2_get, _aisparser.imo1_11_level_2_set) + speed_3 = property(_aisparser.imo1_11_speed_3_get, _aisparser.imo1_11_speed_3_set) + dir_3 = property(_aisparser.imo1_11_dir_3_get, _aisparser.imo1_11_dir_3_set) + level_3 = property(_aisparser.imo1_11_level_3_get, _aisparser.imo1_11_level_3_set) + wave_height = property(_aisparser.imo1_11_wave_height_get, _aisparser.imo1_11_wave_height_set) + wave_period = property(_aisparser.imo1_11_wave_period_get, _aisparser.imo1_11_wave_period_set) + wave_dir = property(_aisparser.imo1_11_wave_dir_get, _aisparser.imo1_11_wave_dir_set) + swell_height = property(_aisparser.imo1_11_swell_height_get, _aisparser.imo1_11_swell_height_set) + swell_period = property(_aisparser.imo1_11_swell_period_get, _aisparser.imo1_11_swell_period_set) + swell_dir = property(_aisparser.imo1_11_swell_dir_get, _aisparser.imo1_11_swell_dir_set) + sea_state = property(_aisparser.imo1_11_sea_state_get, _aisparser.imo1_11_sea_state_set) + water_temp = property(_aisparser.imo1_11_water_temp_get, _aisparser.imo1_11_water_temp_set) + precip_type = property(_aisparser.imo1_11_precip_type_get, _aisparser.imo1_11_precip_type_set) + salanity = property(_aisparser.imo1_11_salanity_get, _aisparser.imo1_11_salanity_set) + ice = property(_aisparser.imo1_11_ice_get, _aisparser.imo1_11_ice_set) + spare = property(_aisparser.imo1_11_spare_get, _aisparser.imo1_11_spare_set) + + def __init__(self): + _aisparser.imo1_11_swiginit(self, _aisparser.new_imo1_11()) + __swig_destroy__ = _aisparser.delete_imo1_11 + +# Register imo1_11 in _aisparser: +_aisparser.imo1_11_swigregister(imo1_11) + +class imo1_12(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + last_port = property(_aisparser.imo1_12_last_port_get, _aisparser.imo1_12_last_port_set) + atd = property(_aisparser.imo1_12_atd_get, _aisparser.imo1_12_atd_set) + next_port = property(_aisparser.imo1_12_next_port_get, _aisparser.imo1_12_next_port_set) + eta = property(_aisparser.imo1_12_eta_get, _aisparser.imo1_12_eta_set) + good = property(_aisparser.imo1_12_good_get, _aisparser.imo1_12_good_set) + imd = property(_aisparser.imo1_12_imd_get, _aisparser.imo1_12_imd_set) + un_number = property(_aisparser.imo1_12_un_number_get, _aisparser.imo1_12_un_number_set) + quantity = property(_aisparser.imo1_12_quantity_get, _aisparser.imo1_12_quantity_set) + units = property(_aisparser.imo1_12_units_get, _aisparser.imo1_12_units_set) + spare = property(_aisparser.imo1_12_spare_get, _aisparser.imo1_12_spare_set) + + def __init__(self): + _aisparser.imo1_12_swiginit(self, _aisparser.new_imo1_12()) + __swig_destroy__ = _aisparser.delete_imo1_12 + +# Register imo1_12 in _aisparser: +_aisparser.imo1_12_swigregister(imo1_12) + +class imo1_13(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + reason = property(_aisparser.imo1_13_reason_get, _aisparser.imo1_13_reason_set) + location_from = property(_aisparser.imo1_13_location_from_get, _aisparser.imo1_13_location_from_set) + location_to = property(_aisparser.imo1_13_location_to_get, _aisparser.imo1_13_location_to_set) + extension = property(_aisparser.imo1_13_extension_get, _aisparser.imo1_13_extension_set) + units = property(_aisparser.imo1_13_units_get, _aisparser.imo1_13_units_set) + from_day = property(_aisparser.imo1_13_from_day_get, _aisparser.imo1_13_from_day_set) + from_month = property(_aisparser.imo1_13_from_month_get, _aisparser.imo1_13_from_month_set) + from_hour = property(_aisparser.imo1_13_from_hour_get, _aisparser.imo1_13_from_hour_set) + from_minute = property(_aisparser.imo1_13_from_minute_get, _aisparser.imo1_13_from_minute_set) + to_day = property(_aisparser.imo1_13_to_day_get, _aisparser.imo1_13_to_day_set) + to_month = property(_aisparser.imo1_13_to_month_get, _aisparser.imo1_13_to_month_set) + to_hour = property(_aisparser.imo1_13_to_hour_get, _aisparser.imo1_13_to_hour_set) + to_minute = property(_aisparser.imo1_13_to_minute_get, _aisparser.imo1_13_to_minute_set) + spare = property(_aisparser.imo1_13_spare_get, _aisparser.imo1_13_spare_set) + + def __init__(self): + _aisparser.imo1_13_swiginit(self, _aisparser.new_imo1_13()) + __swig_destroy__ = _aisparser.delete_imo1_13 + +# Register imo1_13 in _aisparser: +_aisparser.imo1_13_swigregister(imo1_13) + +class tidal_window(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + latitude = property(_aisparser.tidal_window_latitude_get, _aisparser.tidal_window_latitude_set) + longitude = property(_aisparser.tidal_window_longitude_get, _aisparser.tidal_window_longitude_set) + from_hour = property(_aisparser.tidal_window_from_hour_get, _aisparser.tidal_window_from_hour_set) + from_minute = property(_aisparser.tidal_window_from_minute_get, _aisparser.tidal_window_from_minute_set) + to_hour = property(_aisparser.tidal_window_to_hour_get, _aisparser.tidal_window_to_hour_set) + to_minute = property(_aisparser.tidal_window_to_minute_get, _aisparser.tidal_window_to_minute_set) + current_dir = property(_aisparser.tidal_window_current_dir_get, _aisparser.tidal_window_current_dir_set) + current_speed = property(_aisparser.tidal_window_current_speed_get, _aisparser.tidal_window_current_speed_set) + + def __init__(self): + _aisparser.tidal_window_swiginit(self, _aisparser.new_tidal_window()) + __swig_destroy__ = _aisparser.delete_tidal_window + +# Register tidal_window in _aisparser: +_aisparser.tidal_window_swigregister(tidal_window) + +class imo1_14(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + utc_month = property(_aisparser.imo1_14_utc_month_get, _aisparser.imo1_14_utc_month_set) + utc_day = property(_aisparser.imo1_14_utc_day_get, _aisparser.imo1_14_utc_day_set) + windows = property(_aisparser.imo1_14_windows_get, _aisparser.imo1_14_windows_set) + + def __init__(self): + _aisparser.imo1_14_swiginit(self, _aisparser.new_imo1_14()) + __swig_destroy__ = _aisparser.delete_imo1_14 + +# Register imo1_14 in _aisparser: +_aisparser.imo1_14_swigregister(imo1_14) + +class imo1_15(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + ais_draught = property(_aisparser.imo1_15_ais_draught_get, _aisparser.imo1_15_ais_draught_set) + spare = property(_aisparser.imo1_15_spare_get, _aisparser.imo1_15_spare_set) + + def __init__(self): + _aisparser.imo1_15_swiginit(self, _aisparser.new_imo1_15()) + __swig_destroy__ = _aisparser.delete_imo1_15 + +# Register imo1_15 in _aisparser: +_aisparser.imo1_15_swigregister(imo1_15) + +class imo1_16(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + num_persons = property(_aisparser.imo1_16_num_persons_get, _aisparser.imo1_16_num_persons_set) + spare = property(_aisparser.imo1_16_spare_get, _aisparser.imo1_16_spare_set) + + def __init__(self): + _aisparser.imo1_16_swiginit(self, _aisparser.new_imo1_16()) + __swig_destroy__ = _aisparser.delete_imo1_16 + +# Register imo1_16 in _aisparser: +_aisparser.imo1_16_swigregister(imo1_16) + +class pseudo_target(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + type = property(_aisparser.pseudo_target_type_get, _aisparser.pseudo_target_type_set) + mmsi = property(_aisparser.pseudo_target_mmsi_get, _aisparser.pseudo_target_mmsi_set) + imo = property(_aisparser.pseudo_target_imo_get, _aisparser.pseudo_target_imo_set) + callsign = property(_aisparser.pseudo_target_callsign_get, _aisparser.pseudo_target_callsign_set) + other = property(_aisparser.pseudo_target_other_get, _aisparser.pseudo_target_other_set) + spare = property(_aisparser.pseudo_target_spare_get, _aisparser.pseudo_target_spare_set) + latitude = property(_aisparser.pseudo_target_latitude_get, _aisparser.pseudo_target_latitude_set) + longitude = property(_aisparser.pseudo_target_longitude_get, _aisparser.pseudo_target_longitude_set) + cog = property(_aisparser.pseudo_target_cog_get, _aisparser.pseudo_target_cog_set) + timestamp = property(_aisparser.pseudo_target_timestamp_get, _aisparser.pseudo_target_timestamp_set) + sog = property(_aisparser.pseudo_target_sog_get, _aisparser.pseudo_target_sog_set) + + def __init__(self): + _aisparser.pseudo_target_swiginit(self, _aisparser.new_pseudo_target()) + __swig_destroy__ = _aisparser.delete_pseudo_target + +# Register pseudo_target in _aisparser: +_aisparser.pseudo_target_swigregister(pseudo_target) + +class imo1_17(object): + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + targets = property(_aisparser.imo1_17_targets_get, _aisparser.imo1_17_targets_set) + + def __init__(self): + _aisparser.imo1_17_swiginit(self, _aisparser.new_imo1_17()) + __swig_destroy__ = _aisparser.delete_imo1_17 + +# Register imo1_17 in _aisparser: +_aisparser.imo1_17_swigregister(imo1_17) + + +def parse_imo1_11(state, result): + return _aisparser.parse_imo1_11(state, result) + +def parse_imo1_12(state, result): + return _aisparser.parse_imo1_12(state, result) + +def parse_imo1_13(state, result): + return _aisparser.parse_imo1_13(state, result) + +def parse_imo1_14(state, result): + return _aisparser.parse_imo1_14(state, result) + +def parse_imo1_15(state, result): + return _aisparser.parse_imo1_15(state, result) + +def parse_imo1_16(state, result): + return _aisparser.parse_imo1_16(state, result) + +def parse_imo1_17(state, result): + return _aisparser.parse_imo1_17(state, result) + +def get_msg6_data(msg): + return _aisparser.get_msg6_data(msg) + +def get_msg8_data(msg): + return _aisparser.get_msg8_data(msg) + +def get_msg17_data(msg): + return _aisparser.get_msg17_data(msg) + +def get_weather_report(msg, idx): + return _aisparser.get_weather_report(msg, idx) + +def get_weather_utc_time(msg): + return _aisparser.get_weather_utc_time(msg) + +def get_wind_report(msg, idx): + return _aisparser.get_wind_report(msg, idx) + +def get_wind_utc_time(msg): + return _aisparser.get_wind_utc_time(msg) + +def get_water_level_report(msg, idx): + return _aisparser.get_water_level_report(msg, idx) + +def get_water_level_utc_time(msg): + return _aisparser.get_water_level_utc_time(msg) + +def get_water_flow_report(msg, idx): + return _aisparser.get_water_flow_report(msg, idx) + +def get_water_flow_utc_time(msg): + return _aisparser.get_water_flow_utc_time(msg) + +def get_lock_schedule(msg, idx): + return _aisparser.get_lock_schedule(msg, idx) + +def get_lock_schedule_utc_time(msg): + return _aisparser.get_lock_schedule_utc_time(msg) + +def get_lock_schedule_eta(msg): + return _aisparser.get_lock_schedule_eta(msg) + +def get_lock_times_utc_time(msg): + return _aisparser.get_lock_times_utc_time(msg) + +def get_lock_times_last_ata(msg): + return _aisparser.get_lock_times_last_ata(msg) + +def get_lock_times_first_eta(msg): + return _aisparser.get_lock_times_first_eta(msg) + +def get_lock_times_second_eta(msg): + return _aisparser.get_lock_times_second_eta(msg) + +def get_current_report(msg, idx): + return _aisparser.get_current_report(msg, idx) + +def get_current_utc_time(msg): + return _aisparser.get_current_utc_time(msg) + +def get_salinity_report(msg, idx): + return _aisparser.get_salinity_report(msg, idx) + +def get_salinity_utc_time(msg): + return _aisparser.get_salinity_utc_time(msg) + +def get_procession_order(msg, idx): + return _aisparser.get_procession_order(msg, idx) + +def get_procession_order_utc_time(msg): + return _aisparser.get_procession_order_utc_time(msg) + +def get_imo1_12_atd(msg): + return _aisparser.get_imo1_12_atd(msg) + +def get_imo1_12_eta(msg): + return _aisparser.get_imo1_12_eta(msg) + +def get_tidal_window(msg, idx): + return _aisparser.get_tidal_window(msg, idx) + +def get_pseudo_target(msg, idx): + return _aisparser.get_pseudo_target(msg, idx) + + diff --git a/python/freebsd/aisparser_wrap.c b/python/freebsd/aisparser_wrap.c new file mode 100644 index 0000000..76f7273 --- /dev/null +++ b/python/freebsd/aisparser_wrap.c @@ -0,0 +1,42134 @@ +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 4.0.2 + * + * This file is not intended to be easily readable and contains a number of + * coding conventions designed to improve portability and efficiency. Do not make + * changes to this file unless you know what you are doing--modify the SWIG + * interface file instead. + * ----------------------------------------------------------------------------- */ + + +#ifndef SWIGPYTHON +#define SWIGPYTHON +#endif + +#define SWIG_PYTHON_DIRECTOR_NO_VTABLE + +/* ----------------------------------------------------------------------------- + * This section contains generic SWIG labels for method/variable + * declarations/attributes, and other compiler dependent labels. + * ----------------------------------------------------------------------------- */ + +/* template workaround for compilers that cannot correctly implement the C++ standard */ +#ifndef SWIGTEMPLATEDISAMBIGUATOR +# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) +# define SWIGTEMPLATEDISAMBIGUATOR template +# elif defined(__HP_aCC) +/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */ +/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */ +# define SWIGTEMPLATEDISAMBIGUATOR template +# else +# define SWIGTEMPLATEDISAMBIGUATOR +# endif +#endif + +/* inline attribute */ +#ifndef SWIGINLINE +# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) +# define SWIGINLINE inline +# else +# define SWIGINLINE +# endif +#endif + +/* attribute recognised by some compilers to avoid 'unused' warnings */ +#ifndef SWIGUNUSED +# if defined(__GNUC__) +# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) +# define SWIGUNUSED __attribute__ ((__unused__)) +# else +# define SWIGUNUSED +# endif +# elif defined(__ICC) +# define SWIGUNUSED __attribute__ ((__unused__)) +# else +# define SWIGUNUSED +# endif +#endif + +#ifndef SWIG_MSC_UNSUPPRESS_4505 +# if defined(_MSC_VER) +# pragma warning(disable : 4505) /* unreferenced local function has been removed */ +# endif +#endif + +#ifndef SWIGUNUSEDPARM +# ifdef __cplusplus +# define SWIGUNUSEDPARM(p) +# else +# define SWIGUNUSEDPARM(p) p SWIGUNUSED +# endif +#endif + +/* internal SWIG method */ +#ifndef SWIGINTERN +# define SWIGINTERN static SWIGUNUSED +#endif + +/* internal inline SWIG method */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE +#endif + +/* exporting methods */ +#if defined(__GNUC__) +# if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) +# ifndef GCC_HASCLASSVISIBILITY +# define GCC_HASCLASSVISIBILITY +# endif +# endif +#endif + +#ifndef SWIGEXPORT +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# if defined(STATIC_LINKED) +# define SWIGEXPORT +# else +# define SWIGEXPORT __declspec(dllexport) +# endif +# else +# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) +# define SWIGEXPORT __attribute__ ((visibility("default"))) +# else +# define SWIGEXPORT +# endif +# endif +#endif + +/* calling conventions for Windows */ +#ifndef SWIGSTDCALL +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# define SWIGSTDCALL __stdcall +# else +# define SWIGSTDCALL +# endif +#endif + +/* Deal with Microsoft's attempt at deprecating C standard runtime functions */ +#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) +# define _CRT_SECURE_NO_DEPRECATE +#endif + +/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */ +#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE) +# define _SCL_SECURE_NO_DEPRECATE +#endif + +/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */ +#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES) +# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0 +#endif + +/* Intel's compiler complains if a variable which was never initialised is + * cast to void, which is a common idiom which we use to indicate that we + * are aware a variable isn't used. So we just silence that warning. + * See: https://github.com/swig/swig/issues/192 for more discussion. + */ +#ifdef __INTEL_COMPILER +# pragma warning disable 592 +#endif + + +#if defined(__GNUC__) && defined(_WIN32) && !defined(SWIG_PYTHON_NO_HYPOT_WORKAROUND) +/* Workaround for '::hypot' has not been declared', see https://bugs.python.org/issue11566 */ +# include +#endif + +#if defined(_DEBUG) && defined(SWIG_PYTHON_INTERPRETER_NO_DEBUG) +/* Use debug wrappers with the Python release dll */ +# undef _DEBUG +# include +# define _DEBUG 1 +#else +# include +#endif + +/* ----------------------------------------------------------------------------- + * swigrun.swg + * + * This file contains generic C API SWIG runtime support for pointer + * type checking. + * ----------------------------------------------------------------------------- */ + +/* This should only be incremented when either the layout of swig_type_info changes, + or for whatever reason, the runtime changes incompatibly */ +#define SWIG_RUNTIME_VERSION "4" + +/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ +#ifdef SWIG_TYPE_TABLE +# define SWIG_QUOTE_STRING(x) #x +# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) +# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) +#else +# define SWIG_TYPE_TABLE_NAME +#endif + +/* + You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for + creating a static or dynamic library from the SWIG runtime code. + In 99.9% of the cases, SWIG just needs to declare them as 'static'. + + But only do this if strictly necessary, ie, if you have problems + with your compiler or suchlike. +*/ + +#ifndef SWIGRUNTIME +# define SWIGRUNTIME SWIGINTERN +#endif + +#ifndef SWIGRUNTIMEINLINE +# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE +#endif + +/* Generic buffer size */ +#ifndef SWIG_BUFFER_SIZE +# define SWIG_BUFFER_SIZE 1024 +#endif + +/* Flags for pointer conversions */ +#define SWIG_POINTER_DISOWN 0x1 +#define SWIG_CAST_NEW_MEMORY 0x2 +#define SWIG_POINTER_NO_NULL 0x4 + +/* Flags for new pointer objects */ +#define SWIG_POINTER_OWN 0x1 + + +/* + Flags/methods for returning states. + + The SWIG conversion methods, as ConvertPtr, return an integer + that tells if the conversion was successful or not. And if not, + an error code can be returned (see swigerrors.swg for the codes). + + Use the following macros/flags to set or process the returning + states. + + In old versions of SWIG, code such as the following was usually written: + + if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) { + // success code + } else { + //fail code + } + + Now you can be more explicit: + + int res = SWIG_ConvertPtr(obj,vptr,ty.flags); + if (SWIG_IsOK(res)) { + // success code + } else { + // fail code + } + + which is the same really, but now you can also do + + Type *ptr; + int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags); + if (SWIG_IsOK(res)) { + // success code + if (SWIG_IsNewObj(res) { + ... + delete *ptr; + } else { + ... + } + } else { + // fail code + } + + I.e., now SWIG_ConvertPtr can return new objects and you can + identify the case and take care of the deallocation. Of course that + also requires SWIG_ConvertPtr to return new result values, such as + + int SWIG_ConvertPtr(obj, ptr,...) { + if () { + if () { + *ptr = ; + return SWIG_NEWOBJ; + } else { + *ptr = ; + return SWIG_OLDOBJ; + } + } else { + return SWIG_BADOBJ; + } + } + + Of course, returning the plain '0(success)/-1(fail)' still works, but you can be + more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the + SWIG errors code. + + Finally, if the SWIG_CASTRANK_MODE is enabled, the result code + allows to return the 'cast rank', for example, if you have this + + int food(double) + int fooi(int); + + and you call + + food(1) // cast rank '1' (1 -> 1.0) + fooi(1) // cast rank '0' + + just use the SWIG_AddCast()/SWIG_CheckState() +*/ + +#define SWIG_OK (0) +#define SWIG_ERROR (-1) +#define SWIG_IsOK(r) (r >= 0) +#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError) + +/* The CastRankLimit says how many bits are used for the cast rank */ +#define SWIG_CASTRANKLIMIT (1 << 8) +/* The NewMask denotes the object was created (using new/malloc) */ +#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1) +/* The TmpMask is for in/out typemaps that use temporal objects */ +#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1) +/* Simple returning values */ +#define SWIG_BADOBJ (SWIG_ERROR) +#define SWIG_OLDOBJ (SWIG_OK) +#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) +#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) +/* Check, add and del mask methods */ +#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) +#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) +#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) +#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r) +#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) +#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) + +/* Cast-Rank Mode */ +#if defined(SWIG_CASTRANK_MODE) +# ifndef SWIG_TypeRank +# define SWIG_TypeRank unsigned long +# endif +# ifndef SWIG_MAXCASTRANK /* Default cast allowed */ +# define SWIG_MAXCASTRANK (2) +# endif +# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1) +# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK) +SWIGINTERNINLINE int SWIG_AddCast(int r) { + return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r; +} +SWIGINTERNINLINE int SWIG_CheckState(int r) { + return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; +} +#else /* no cast-rank mode */ +# define SWIG_AddCast(r) (r) +# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0) +#endif + + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef void *(*swig_converter_func)(void *, int *); +typedef struct swig_type_info *(*swig_dycast_func)(void **); + +/* Structure to store information on one type */ +typedef struct swig_type_info { + const char *name; /* mangled name of this type */ + const char *str; /* human readable name of this type */ + swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ + struct swig_cast_info *cast; /* linked list of types that can cast into this type */ + void *clientdata; /* language specific type data */ + int owndata; /* flag if the structure owns the clientdata */ +} swig_type_info; + +/* Structure to store a type and conversion function used for casting */ +typedef struct swig_cast_info { + swig_type_info *type; /* pointer to type that is equivalent to this type */ + swig_converter_func converter; /* function to cast the void pointers */ + struct swig_cast_info *next; /* pointer to next cast in linked list */ + struct swig_cast_info *prev; /* pointer to the previous cast */ +} swig_cast_info; + +/* Structure used to store module information + * Each module generates one structure like this, and the runtime collects + * all of these structures and stores them in a circularly linked list.*/ +typedef struct swig_module_info { + swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ + size_t size; /* Number of types in this module */ + struct swig_module_info *next; /* Pointer to next element in circularly linked list */ + swig_type_info **type_initial; /* Array of initially generated type structures */ + swig_cast_info **cast_initial; /* Array of initially generated casting structures */ + void *clientdata; /* Language specific module data */ +} swig_module_info; + +/* + Compare two type names skipping the space characters, therefore + "char*" == "char *" and "Class" == "Class", etc. + + Return 0 when the two name types are equivalent, as in + strncmp, but skipping ' '. +*/ +SWIGRUNTIME int +SWIG_TypeNameComp(const char *f1, const char *l1, + const char *f2, const char *l2) { + for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { + while ((*f1 == ' ') && (f1 != l1)) ++f1; + while ((*f2 == ' ') && (f2 != l2)) ++f2; + if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; + } + return (int)((l1 - f1) - (l2 - f2)); +} + +/* + Check type equivalence in a name list like ||... + Return 0 if equal, -1 if nb < tb, 1 if nb > tb +*/ +SWIGRUNTIME int +SWIG_TypeCmp(const char *nb, const char *tb) { + int equiv = 1; + const char* te = tb + strlen(tb); + const char* ne = nb; + while (equiv != 0 && *ne) { + for (nb = ne; *ne; ++ne) { + if (*ne == '|') break; + } + equiv = SWIG_TypeNameComp(nb, ne, tb, te); + if (*ne) ++ne; + } + return equiv; +} + +/* + Check type equivalence in a name list like ||... + Return 0 if not equal, 1 if equal +*/ +SWIGRUNTIME int +SWIG_TypeEquiv(const char *nb, const char *tb) { + return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0; +} + +/* + Check the typename +*/ +SWIGRUNTIME swig_cast_info * +SWIG_TypeCheck(const char *c, swig_type_info *ty) { + if (ty) { + swig_cast_info *iter = ty->cast; + while (iter) { + if (strcmp(iter->type->name, c) == 0) { + if (iter == ty->cast) + return iter; + /* Move iter to the top of the linked list */ + iter->prev->next = iter->next; + if (iter->next) + iter->next->prev = iter->prev; + iter->next = ty->cast; + iter->prev = 0; + if (ty->cast) ty->cast->prev = iter; + ty->cast = iter; + return iter; + } + iter = iter->next; + } + } + return 0; +} + +/* + Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison +*/ +SWIGRUNTIME swig_cast_info * +SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) { + if (ty) { + swig_cast_info *iter = ty->cast; + while (iter) { + if (iter->type == from) { + if (iter == ty->cast) + return iter; + /* Move iter to the top of the linked list */ + iter->prev->next = iter->next; + if (iter->next) + iter->next->prev = iter->prev; + iter->next = ty->cast; + iter->prev = 0; + if (ty->cast) ty->cast->prev = iter; + ty->cast = iter; + return iter; + } + iter = iter->next; + } + } + return 0; +} + +/* + Cast a pointer up an inheritance hierarchy +*/ +SWIGRUNTIMEINLINE void * +SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) { + return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory); +} + +/* + Dynamic pointer casting. Down an inheritance hierarchy +*/ +SWIGRUNTIME swig_type_info * +SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { + swig_type_info *lastty = ty; + if (!ty || !ty->dcast) return ty; + while (ty && (ty->dcast)) { + ty = (*ty->dcast)(ptr); + if (ty) lastty = ty; + } + return lastty; +} + +/* + Return the name associated with this type +*/ +SWIGRUNTIMEINLINE const char * +SWIG_TypeName(const swig_type_info *ty) { + return ty->name; +} + +/* + Return the pretty name associated with this type, + that is an unmangled type name in a form presentable to the user. +*/ +SWIGRUNTIME const char * +SWIG_TypePrettyName(const swig_type_info *type) { + /* The "str" field contains the equivalent pretty names of the + type, separated by vertical-bar characters. We choose + to print the last name, as it is often (?) the most + specific. */ + if (!type) return NULL; + if (type->str != NULL) { + const char *last_name = type->str; + const char *s; + for (s = type->str; *s; s++) + if (*s == '|') last_name = s+1; + return last_name; + } + else + return type->name; +} + +/* + Set the clientdata field for a type +*/ +SWIGRUNTIME void +SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { + swig_cast_info *cast = ti->cast; + /* if (ti->clientdata == clientdata) return; */ + ti->clientdata = clientdata; + + while (cast) { + if (!cast->converter) { + swig_type_info *tc = cast->type; + if (!tc->clientdata) { + SWIG_TypeClientData(tc, clientdata); + } + } + cast = cast->next; + } +} +SWIGRUNTIME void +SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) { + SWIG_TypeClientData(ti, clientdata); + ti->owndata = 1; +} + +/* + Search for a swig_type_info structure only by mangled name + Search is a O(log #types) + + We start searching at module start, and finish searching when start == end. + Note: if start == end at the beginning of the function, we go all the way around + the circular list. +*/ +SWIGRUNTIME swig_type_info * +SWIG_MangledTypeQueryModule(swig_module_info *start, + swig_module_info *end, + const char *name) { + swig_module_info *iter = start; + do { + if (iter->size) { + size_t l = 0; + size_t r = iter->size - 1; + do { + /* since l+r >= 0, we can (>> 1) instead (/ 2) */ + size_t i = (l + r) >> 1; + const char *iname = iter->types[i]->name; + if (iname) { + int compare = strcmp(name, iname); + if (compare == 0) { + return iter->types[i]; + } else if (compare < 0) { + if (i) { + r = i - 1; + } else { + break; + } + } else if (compare > 0) { + l = i + 1; + } + } else { + break; /* should never happen */ + } + } while (l <= r); + } + iter = iter->next; + } while (iter != end); + return 0; +} + +/* + Search for a swig_type_info structure for either a mangled name or a human readable name. + It first searches the mangled names of the types, which is a O(log #types) + If a type is not found it then searches the human readable names, which is O(#types). + + We start searching at module start, and finish searching when start == end. + Note: if start == end at the beginning of the function, we go all the way around + the circular list. +*/ +SWIGRUNTIME swig_type_info * +SWIG_TypeQueryModule(swig_module_info *start, + swig_module_info *end, + const char *name) { + /* STEP 1: Search the name field using binary search */ + swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); + if (ret) { + return ret; + } else { + /* STEP 2: If the type hasn't been found, do a complete search + of the str field (the human readable name) */ + swig_module_info *iter = start; + do { + size_t i = 0; + for (; i < iter->size; ++i) { + if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) + return iter->types[i]; + } + iter = iter->next; + } while (iter != end); + } + + /* neither found a match */ + return 0; +} + +/* + Pack binary data into a string +*/ +SWIGRUNTIME char * +SWIG_PackData(char *c, void *ptr, size_t sz) { + static const char hex[17] = "0123456789abcdef"; + const unsigned char *u = (unsigned char *) ptr; + const unsigned char *eu = u + sz; + for (; u != eu; ++u) { + unsigned char uu = *u; + *(c++) = hex[(uu & 0xf0) >> 4]; + *(c++) = hex[uu & 0xf]; + } + return c; +} + +/* + Unpack binary data from a string +*/ +SWIGRUNTIME const char * +SWIG_UnpackData(const char *c, void *ptr, size_t sz) { + unsigned char *u = (unsigned char *) ptr; + const unsigned char *eu = u + sz; + for (; u != eu; ++u) { + char d = *(c++); + unsigned char uu; + if ((d >= '0') && (d <= '9')) + uu = (unsigned char)((d - '0') << 4); + else if ((d >= 'a') && (d <= 'f')) + uu = (unsigned char)((d - ('a'-10)) << 4); + else + return (char *) 0; + d = *(c++); + if ((d >= '0') && (d <= '9')) + uu |= (unsigned char)(d - '0'); + else if ((d >= 'a') && (d <= 'f')) + uu |= (unsigned char)(d - ('a'-10)); + else + return (char *) 0; + *u = uu; + } + return c; +} + +/* + Pack 'void *' into a string buffer. +*/ +SWIGRUNTIME char * +SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { + char *r = buff; + if ((2*sizeof(void *) + 2) > bsz) return 0; + *(r++) = '_'; + r = SWIG_PackData(r,&ptr,sizeof(void *)); + if (strlen(name) + 1 > (bsz - (r - buff))) return 0; + strcpy(r,name); + return buff; +} + +SWIGRUNTIME const char * +SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { + if (*c != '_') { + if (strcmp(c,"NULL") == 0) { + *ptr = (void *) 0; + return name; + } else { + return 0; + } + } + return SWIG_UnpackData(++c,ptr,sizeof(void *)); +} + +SWIGRUNTIME char * +SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { + char *r = buff; + size_t lname = (name ? strlen(name) : 0); + if ((2*sz + 2 + lname) > bsz) return 0; + *(r++) = '_'; + r = SWIG_PackData(r,ptr,sz); + if (lname) { + strncpy(r,name,lname+1); + } else { + *r = 0; + } + return buff; +} + +SWIGRUNTIME const char * +SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { + if (*c != '_') { + if (strcmp(c,"NULL") == 0) { + memset(ptr,0,sz); + return name; + } else { + return 0; + } + } + return SWIG_UnpackData(++c,ptr,sz); +} + +#ifdef __cplusplus +} +#endif + +/* Errors in SWIG */ +#define SWIG_UnknownError -1 +#define SWIG_IOError -2 +#define SWIG_RuntimeError -3 +#define SWIG_IndexError -4 +#define SWIG_TypeError -5 +#define SWIG_DivisionByZero -6 +#define SWIG_OverflowError -7 +#define SWIG_SyntaxError -8 +#define SWIG_ValueError -9 +#define SWIG_SystemError -10 +#define SWIG_AttributeError -11 +#define SWIG_MemoryError -12 +#define SWIG_NullReferenceError -13 + + + +/* Compatibility macros for Python 3 */ +#if PY_VERSION_HEX >= 0x03000000 + +#define PyClass_Check(obj) PyObject_IsInstance(obj, (PyObject *)&PyType_Type) +#define PyInt_Check(x) PyLong_Check(x) +#define PyInt_AsLong(x) PyLong_AsLong(x) +#define PyInt_FromLong(x) PyLong_FromLong(x) +#define PyInt_FromSize_t(x) PyLong_FromSize_t(x) +#define PyString_Check(name) PyBytes_Check(name) +#define PyString_FromString(x) PyUnicode_FromString(x) +#define PyString_Format(fmt, args) PyUnicode_Format(fmt, args) +#define PyString_AsString(str) PyBytes_AsString(str) +#define PyString_Size(str) PyBytes_Size(str) +#define PyString_InternFromString(key) PyUnicode_InternFromString(key) +#define Py_TPFLAGS_HAVE_CLASS Py_TPFLAGS_BASETYPE +#define PyString_AS_STRING(x) PyUnicode_AS_STRING(x) +#define _PyLong_FromSsize_t(x) PyLong_FromSsize_t(x) + +#endif + +#ifndef Py_TYPE +# define Py_TYPE(op) ((op)->ob_type) +#endif + +/* SWIG APIs for compatibility of both Python 2 & 3 */ + +#if PY_VERSION_HEX >= 0x03000000 +# define SWIG_Python_str_FromFormat PyUnicode_FromFormat +#else +# define SWIG_Python_str_FromFormat PyString_FromFormat +#endif + + +/* Warning: This function will allocate a new string in Python 3, + * so please call SWIG_Python_str_DelForPy3(x) to free the space. + */ +SWIGINTERN char* +SWIG_Python_str_AsChar(PyObject *str) +{ +#if PY_VERSION_HEX >= 0x03030000 + return (char *)PyUnicode_AsUTF8(str); +#elif PY_VERSION_HEX >= 0x03000000 + char *newstr = 0; + str = PyUnicode_AsUTF8String(str); + if (str) { + char *cstr; + Py_ssize_t len; + if (PyBytes_AsStringAndSize(str, &cstr, &len) != -1) { + newstr = (char *) malloc(len+1); + if (newstr) + memcpy(newstr, cstr, len+1); + } + Py_XDECREF(str); + } + return newstr; +#else + return PyString_AsString(str); +#endif +} + +#if PY_VERSION_HEX >= 0x03030000 || PY_VERSION_HEX < 0x03000000 +# define SWIG_Python_str_DelForPy3(x) +#else +# define SWIG_Python_str_DelForPy3(x) free( (void*) (x) ) +#endif + + +SWIGINTERN PyObject* +SWIG_Python_str_FromChar(const char *c) +{ +#if PY_VERSION_HEX >= 0x03000000 + return PyUnicode_FromString(c); +#else + return PyString_FromString(c); +#endif +} + +#ifndef PyObject_DEL +# define PyObject_DEL PyObject_Del +#endif + +// SWIGPY_USE_CAPSULE is no longer used within SWIG itself, but some user +// interface files check for it. +# define SWIGPY_USE_CAPSULE +# define SWIGPY_CAPSULE_NAME ("swig_runtime_data" SWIG_RUNTIME_VERSION ".type_pointer_capsule" SWIG_TYPE_TABLE_NAME) + +#if PY_VERSION_HEX < 0x03020000 +#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type) +#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name) +#define Py_hash_t long +#endif + +/* ----------------------------------------------------------------------------- + * error manipulation + * ----------------------------------------------------------------------------- */ + +SWIGRUNTIME PyObject* +SWIG_Python_ErrorType(int code) { + PyObject* type = 0; + switch(code) { + case SWIG_MemoryError: + type = PyExc_MemoryError; + break; + case SWIG_IOError: + type = PyExc_IOError; + break; + case SWIG_RuntimeError: + type = PyExc_RuntimeError; + break; + case SWIG_IndexError: + type = PyExc_IndexError; + break; + case SWIG_TypeError: + type = PyExc_TypeError; + break; + case SWIG_DivisionByZero: + type = PyExc_ZeroDivisionError; + break; + case SWIG_OverflowError: + type = PyExc_OverflowError; + break; + case SWIG_SyntaxError: + type = PyExc_SyntaxError; + break; + case SWIG_ValueError: + type = PyExc_ValueError; + break; + case SWIG_SystemError: + type = PyExc_SystemError; + break; + case SWIG_AttributeError: + type = PyExc_AttributeError; + break; + default: + type = PyExc_RuntimeError; + } + return type; +} + + +SWIGRUNTIME void +SWIG_Python_AddErrorMsg(const char* mesg) +{ + PyObject *type = 0; + PyObject *value = 0; + PyObject *traceback = 0; + + if (PyErr_Occurred()) + PyErr_Fetch(&type, &value, &traceback); + if (value) { + PyObject *old_str = PyObject_Str(value); + const char *tmp = SWIG_Python_str_AsChar(old_str); + PyErr_Clear(); + Py_XINCREF(type); + if (tmp) + PyErr_Format(type, "%s %s", tmp, mesg); + else + PyErr_Format(type, "%s", mesg); + SWIG_Python_str_DelForPy3(tmp); + Py_DECREF(old_str); + Py_DECREF(value); + } else { + PyErr_SetString(PyExc_RuntimeError, mesg); + } +} + +SWIGRUNTIME int +SWIG_Python_TypeErrorOccurred(PyObject *obj) +{ + PyObject *error; + if (obj) + return 0; + error = PyErr_Occurred(); + return error && PyErr_GivenExceptionMatches(error, PyExc_TypeError); +} + +SWIGRUNTIME void +SWIG_Python_RaiseOrModifyTypeError(const char *message) +{ + if (SWIG_Python_TypeErrorOccurred(NULL)) { + /* Use existing TypeError to preserve stacktrace and enhance with given message */ + PyObject *newvalue; + PyObject *type = NULL, *value = NULL, *traceback = NULL; + PyErr_Fetch(&type, &value, &traceback); +#if PY_VERSION_HEX >= 0x03000000 + newvalue = PyUnicode_FromFormat("%S\nAdditional information:\n%s", value, message); +#else + newvalue = PyString_FromFormat("%s\nAdditional information:\n%s", PyString_AsString(value), message); +#endif + Py_XDECREF(value); + PyErr_Restore(type, newvalue, traceback); + } else { + /* Raise TypeError using given message */ + PyErr_SetString(PyExc_TypeError, message); + } +} + +#if defined(SWIG_PYTHON_NO_THREADS) +# if defined(SWIG_PYTHON_THREADS) +# undef SWIG_PYTHON_THREADS +# endif +#endif +#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */ +# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL) +# define SWIG_PYTHON_USE_GIL +# endif +# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */ +# ifndef SWIG_PYTHON_INITIALIZE_THREADS +# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads() +# endif +# ifdef __cplusplus /* C++ code */ + class SWIG_Python_Thread_Block { + bool status; + PyGILState_STATE state; + public: + void end() { if (status) { PyGILState_Release(state); status = false;} } + SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {} + ~SWIG_Python_Thread_Block() { end(); } + }; + class SWIG_Python_Thread_Allow { + bool status; + PyThreadState *save; + public: + void end() { if (status) { PyEval_RestoreThread(save); status = false; }} + SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {} + ~SWIG_Python_Thread_Allow() { end(); } + }; +# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block +# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end() +# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow +# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end() +# else /* C code */ +# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure() +# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block) +# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread() +# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow) +# endif +# else /* Old thread way, not implemented, user must provide it */ +# if !defined(SWIG_PYTHON_INITIALIZE_THREADS) +# define SWIG_PYTHON_INITIALIZE_THREADS +# endif +# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK) +# define SWIG_PYTHON_THREAD_BEGIN_BLOCK +# endif +# if !defined(SWIG_PYTHON_THREAD_END_BLOCK) +# define SWIG_PYTHON_THREAD_END_BLOCK +# endif +# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW) +# define SWIG_PYTHON_THREAD_BEGIN_ALLOW +# endif +# if !defined(SWIG_PYTHON_THREAD_END_ALLOW) +# define SWIG_PYTHON_THREAD_END_ALLOW +# endif +# endif +#else /* No thread support */ +# define SWIG_PYTHON_INITIALIZE_THREADS +# define SWIG_PYTHON_THREAD_BEGIN_BLOCK +# define SWIG_PYTHON_THREAD_END_BLOCK +# define SWIG_PYTHON_THREAD_BEGIN_ALLOW +# define SWIG_PYTHON_THREAD_END_ALLOW +#endif + +/* ----------------------------------------------------------------------------- + * Python API portion that goes into the runtime + * ----------------------------------------------------------------------------- */ + +#ifdef __cplusplus +extern "C" { +#endif + +/* ----------------------------------------------------------------------------- + * Constant declarations + * ----------------------------------------------------------------------------- */ + +/* Constant Types */ +#define SWIG_PY_POINTER 4 +#define SWIG_PY_BINARY 5 + +/* Constant information structure */ +typedef struct swig_const_info { + int type; + const char *name; + long lvalue; + double dvalue; + void *pvalue; + swig_type_info **ptype; +} swig_const_info; + +#ifdef __cplusplus +} +#endif + + +/* ----------------------------------------------------------------------------- + * pyrun.swg + * + * This file contains the runtime support for Python modules + * and includes code for managing global variables and pointer + * type checking. + * + * ----------------------------------------------------------------------------- */ + +#if PY_VERSION_HEX < 0x02070000 /* 2.7.0 */ +# error "This version of SWIG only supports Python >= 2.7" +#endif + +#if PY_VERSION_HEX >= 0x03000000 && PY_VERSION_HEX < 0x03020000 +# error "This version of SWIG only supports Python 3 >= 3.2" +#endif + +/* Common SWIG API */ + +/* for raw pointers */ +#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) +#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags) +#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) + +#ifdef SWIGPYTHON_BUILTIN +#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags) +#else +#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) +#endif + +#define SWIG_InternalNewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) + +#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty) +#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src) +#define swig_owntype int + +/* for raw packed data */ +#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) +#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) + +/* for class or struct pointers */ +#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags) +#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags) + +/* for C or C++ function pointers */ +#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type) +#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(NULL, ptr, type, 0) + +/* for C++ member pointers, ie, member methods */ +#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) +#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) + + +/* Runtime API */ + +#define SWIG_GetModule(clientdata) SWIG_Python_GetModule(clientdata) +#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) +#define SWIG_NewClientData(obj) SwigPyClientData_New(obj) + +#define SWIG_SetErrorObj SWIG_Python_SetErrorObj +#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg +#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code) +#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) +#define SWIG_fail goto fail + + +/* Runtime API implementation */ + +/* Error manipulation */ + +SWIGINTERN void +SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) { + SWIG_PYTHON_THREAD_BEGIN_BLOCK; + PyErr_SetObject(errtype, obj); + Py_DECREF(obj); + SWIG_PYTHON_THREAD_END_BLOCK; +} + +SWIGINTERN void +SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) { + SWIG_PYTHON_THREAD_BEGIN_BLOCK; + PyErr_SetString(errtype, msg); + SWIG_PYTHON_THREAD_END_BLOCK; +} + +#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) + +/* Set a constant value */ + +#if defined(SWIGPYTHON_BUILTIN) + +SWIGINTERN void +SwigPyBuiltin_AddPublicSymbol(PyObject *seq, const char *key) { + PyObject *s = PyString_InternFromString(key); + PyList_Append(seq, s); + Py_DECREF(s); +} + +SWIGINTERN void +SWIG_Python_SetConstant(PyObject *d, PyObject *public_interface, const char *name, PyObject *obj) { + PyDict_SetItemString(d, name, obj); + Py_DECREF(obj); + if (public_interface) + SwigPyBuiltin_AddPublicSymbol(public_interface, name); +} + +#else + +SWIGINTERN void +SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) { + PyDict_SetItemString(d, name, obj); + Py_DECREF(obj); +} + +#endif + +/* Append a value to the result obj */ + +SWIGINTERN PyObject* +SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { + if (!result) { + result = obj; + } else if (result == Py_None) { + Py_DECREF(result); + result = obj; + } else { + if (!PyList_Check(result)) { + PyObject *o2 = result; + result = PyList_New(1); + PyList_SetItem(result, 0, o2); + } + PyList_Append(result,obj); + Py_DECREF(obj); + } + return result; +} + +/* Unpack the argument tuple */ + +SWIGINTERN Py_ssize_t +SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs) +{ + if (!args) { + if (!min && !max) { + return 1; + } else { + PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none", + name, (min == max ? "" : "at least "), (int)min); + return 0; + } + } + if (!PyTuple_Check(args)) { + if (min <= 1 && max >= 1) { + Py_ssize_t i; + objs[0] = args; + for (i = 1; i < max; ++i) { + objs[i] = 0; + } + return 2; + } + PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple"); + return 0; + } else { + Py_ssize_t l = PyTuple_GET_SIZE(args); + if (l < min) { + PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", + name, (min == max ? "" : "at least "), (int)min, (int)l); + return 0; + } else if (l > max) { + PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", + name, (min == max ? "" : "at most "), (int)max, (int)l); + return 0; + } else { + Py_ssize_t i; + for (i = 0; i < l; ++i) { + objs[i] = PyTuple_GET_ITEM(args, i); + } + for (; l < max; ++l) { + objs[l] = 0; + } + return i + 1; + } + } +} + +SWIGINTERN int +SWIG_Python_CheckNoKeywords(PyObject *kwargs, const char *name) { + int no_kwargs = 1; + if (kwargs) { + assert(PyDict_Check(kwargs)); + if (PyDict_Size(kwargs) > 0) { + PyErr_Format(PyExc_TypeError, "%s() does not take keyword arguments", name); + no_kwargs = 0; + } + } + return no_kwargs; +} + +/* A functor is a function object with one single object argument */ +#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL); + +/* + Helper for static pointer initialization for both C and C++ code, for example + static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...); +*/ +#ifdef __cplusplus +#define SWIG_STATIC_POINTER(var) var +#else +#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var +#endif + +/* ----------------------------------------------------------------------------- + * Pointer declarations + * ----------------------------------------------------------------------------- */ + +/* Flags for new pointer objects */ +#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1) +#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) + +#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1) + +#define SWIG_BUILTIN_TP_INIT (SWIG_POINTER_OWN << 2) +#define SWIG_BUILTIN_INIT (SWIG_BUILTIN_TP_INIT | SWIG_POINTER_OWN) + +#ifdef __cplusplus +extern "C" { +#endif + +/* The python void return value */ + +SWIGRUNTIMEINLINE PyObject * +SWIG_Py_Void(void) +{ + PyObject *none = Py_None; + Py_INCREF(none); + return none; +} + +/* SwigPyClientData */ + +typedef struct { + PyObject *klass; + PyObject *newraw; + PyObject *newargs; + PyObject *destroy; + int delargs; + int implicitconv; + PyTypeObject *pytype; +} SwigPyClientData; + +SWIGRUNTIMEINLINE int +SWIG_Python_CheckImplicit(swig_type_info *ty) +{ + SwigPyClientData *data = (SwigPyClientData *)ty->clientdata; + int fail = data ? data->implicitconv : 0; + if (fail) + PyErr_SetString(PyExc_TypeError, "Implicit conversion is prohibited for explicit constructors."); + return fail; +} + +SWIGRUNTIMEINLINE PyObject * +SWIG_Python_ExceptionType(swig_type_info *desc) { + SwigPyClientData *data = desc ? (SwigPyClientData *) desc->clientdata : 0; + PyObject *klass = data ? data->klass : 0; + return (klass ? klass : PyExc_RuntimeError); +} + + +SWIGRUNTIME SwigPyClientData * +SwigPyClientData_New(PyObject* obj) +{ + if (!obj) { + return 0; + } else { + SwigPyClientData *data = (SwigPyClientData *)malloc(sizeof(SwigPyClientData)); + /* the klass element */ + data->klass = obj; + Py_INCREF(data->klass); + /* the newraw method and newargs arguments used to create a new raw instance */ + if (PyClass_Check(obj)) { + data->newraw = 0; + data->newargs = obj; + Py_INCREF(obj); + } else { + data->newraw = PyObject_GetAttrString(data->klass, "__new__"); + if (data->newraw) { + Py_INCREF(data->newraw); + data->newargs = PyTuple_New(1); + PyTuple_SetItem(data->newargs, 0, obj); + } else { + data->newargs = obj; + } + Py_INCREF(data->newargs); + } + /* the destroy method, aka as the C++ delete method */ + data->destroy = PyObject_GetAttrString(data->klass, "__swig_destroy__"); + if (PyErr_Occurred()) { + PyErr_Clear(); + data->destroy = 0; + } + if (data->destroy) { + int flags; + Py_INCREF(data->destroy); + flags = PyCFunction_GET_FLAGS(data->destroy); + data->delargs = !(flags & (METH_O)); + } else { + data->delargs = 0; + } + data->implicitconv = 0; + data->pytype = 0; + return data; + } +} + +SWIGRUNTIME void +SwigPyClientData_Del(SwigPyClientData *data) { + Py_XDECREF(data->newraw); + Py_XDECREF(data->newargs); + Py_XDECREF(data->destroy); +} + +/* =============== SwigPyObject =====================*/ + +typedef struct { + PyObject_HEAD + void *ptr; + swig_type_info *ty; + int own; + PyObject *next; +#ifdef SWIGPYTHON_BUILTIN + PyObject *dict; +#endif +} SwigPyObject; + + +#ifdef SWIGPYTHON_BUILTIN + +SWIGRUNTIME PyObject * +SwigPyObject_get___dict__(PyObject *v, PyObject *SWIGUNUSEDPARM(args)) +{ + SwigPyObject *sobj = (SwigPyObject *)v; + + if (!sobj->dict) + sobj->dict = PyDict_New(); + + Py_INCREF(sobj->dict); + return sobj->dict; +} + +#endif + +SWIGRUNTIME PyObject * +SwigPyObject_long(SwigPyObject *v) +{ + return PyLong_FromVoidPtr(v->ptr); +} + +SWIGRUNTIME PyObject * +SwigPyObject_format(const char* fmt, SwigPyObject *v) +{ + PyObject *res = NULL; + PyObject *args = PyTuple_New(1); + if (args) { + if (PyTuple_SetItem(args, 0, SwigPyObject_long(v)) == 0) { + PyObject *ofmt = SWIG_Python_str_FromChar(fmt); + if (ofmt) { +#if PY_VERSION_HEX >= 0x03000000 + res = PyUnicode_Format(ofmt,args); +#else + res = PyString_Format(ofmt,args); +#endif + Py_DECREF(ofmt); + } + Py_DECREF(args); + } + } + return res; +} + +SWIGRUNTIME PyObject * +SwigPyObject_oct(SwigPyObject *v) +{ + return SwigPyObject_format("%o",v); +} + +SWIGRUNTIME PyObject * +SwigPyObject_hex(SwigPyObject *v) +{ + return SwigPyObject_format("%x",v); +} + +SWIGRUNTIME PyObject * +SwigPyObject_repr(SwigPyObject *v) +{ + const char *name = SWIG_TypePrettyName(v->ty); + PyObject *repr = SWIG_Python_str_FromFormat("", (name ? name : "unknown"), (void *)v); + if (v->next) { + PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next); +# if PY_VERSION_HEX >= 0x03000000 + PyObject *joined = PyUnicode_Concat(repr, nrep); + Py_DecRef(repr); + Py_DecRef(nrep); + repr = joined; +# else + PyString_ConcatAndDel(&repr,nrep); +# endif + } + return repr; +} + +/* We need a version taking two PyObject* parameters so it's a valid + * PyCFunction to use in swigobject_methods[]. */ +SWIGRUNTIME PyObject * +SwigPyObject_repr2(PyObject *v, PyObject *SWIGUNUSEDPARM(args)) +{ + return SwigPyObject_repr((SwigPyObject*)v); +} + +SWIGRUNTIME int +SwigPyObject_compare(SwigPyObject *v, SwigPyObject *w) +{ + void *i = v->ptr; + void *j = w->ptr; + return (i < j) ? -1 : ((i > j) ? 1 : 0); +} + +/* Added for Python 3.x, would it also be useful for Python 2.x? */ +SWIGRUNTIME PyObject* +SwigPyObject_richcompare(SwigPyObject *v, SwigPyObject *w, int op) +{ + PyObject* res; + if( op != Py_EQ && op != Py_NE ) { + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; + } + res = PyBool_FromLong( (SwigPyObject_compare(v, w)==0) == (op == Py_EQ) ? 1 : 0); + return res; +} + + +SWIGRUNTIME PyTypeObject* SwigPyObject_TypeOnce(void); + +#ifdef SWIGPYTHON_BUILTIN +static swig_type_info *SwigPyObject_stype = 0; +SWIGRUNTIME PyTypeObject* +SwigPyObject_type(void) { + SwigPyClientData *cd; + assert(SwigPyObject_stype); + cd = (SwigPyClientData*) SwigPyObject_stype->clientdata; + assert(cd); + assert(cd->pytype); + return cd->pytype; +} +#else +SWIGRUNTIME PyTypeObject* +SwigPyObject_type(void) { + static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyObject_TypeOnce(); + return type; +} +#endif + +SWIGRUNTIMEINLINE int +SwigPyObject_Check(PyObject *op) { +#ifdef SWIGPYTHON_BUILTIN + PyTypeObject *target_tp = SwigPyObject_type(); + if (PyType_IsSubtype(op->ob_type, target_tp)) + return 1; + return (strcmp(op->ob_type->tp_name, "SwigPyObject") == 0); +#else + return (Py_TYPE(op) == SwigPyObject_type()) + || (strcmp(Py_TYPE(op)->tp_name,"SwigPyObject") == 0); +#endif +} + +SWIGRUNTIME PyObject * +SwigPyObject_New(void *ptr, swig_type_info *ty, int own); + +SWIGRUNTIME void +SwigPyObject_dealloc(PyObject *v) +{ + SwigPyObject *sobj = (SwigPyObject *) v; + PyObject *next = sobj->next; + if (sobj->own == SWIG_POINTER_OWN) { + swig_type_info *ty = sobj->ty; + SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0; + PyObject *destroy = data ? data->destroy : 0; + if (destroy) { + /* destroy is always a VARARGS method */ + PyObject *res; + + /* PyObject_CallFunction() has the potential to silently drop + the active exception. In cases of unnamed temporary + variable or where we just finished iterating over a generator + StopIteration will be active right now, and this needs to + remain true upon return from SwigPyObject_dealloc. So save + and restore. */ + + PyObject *type = NULL, *value = NULL, *traceback = NULL; + PyErr_Fetch(&type, &value, &traceback); + + if (data->delargs) { + /* we need to create a temporary object to carry the destroy operation */ + PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0); + res = SWIG_Python_CallFunctor(destroy, tmp); + Py_DECREF(tmp); + } else { + PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); + PyObject *mself = PyCFunction_GET_SELF(destroy); + res = ((*meth)(mself, v)); + } + if (!res) + PyErr_WriteUnraisable(destroy); + + PyErr_Restore(type, value, traceback); + + Py_XDECREF(res); + } +#if !defined(SWIG_PYTHON_SILENT_MEMLEAK) + else { + const char *name = SWIG_TypePrettyName(ty); + printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown")); + } +#endif + } + Py_XDECREF(next); + PyObject_DEL(v); +} + +SWIGRUNTIME PyObject* +SwigPyObject_append(PyObject* v, PyObject* next) +{ + SwigPyObject *sobj = (SwigPyObject *) v; + if (!SwigPyObject_Check(next)) { + PyErr_SetString(PyExc_TypeError, "Attempt to append a non SwigPyObject"); + return NULL; + } + sobj->next = next; + Py_INCREF(next); + return SWIG_Py_Void(); +} + +SWIGRUNTIME PyObject* +SwigPyObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) +{ + SwigPyObject *sobj = (SwigPyObject *) v; + if (sobj->next) { + Py_INCREF(sobj->next); + return sobj->next; + } else { + return SWIG_Py_Void(); + } +} + +SWIGINTERN PyObject* +SwigPyObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) +{ + SwigPyObject *sobj = (SwigPyObject *)v; + sobj->own = 0; + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject* +SwigPyObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) +{ + SwigPyObject *sobj = (SwigPyObject *)v; + sobj->own = SWIG_POINTER_OWN; + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject* +SwigPyObject_own(PyObject *v, PyObject *args) +{ + PyObject *val = 0; + if (!PyArg_UnpackTuple(args, "own", 0, 1, &val)) { + return NULL; + } else { + SwigPyObject *sobj = (SwigPyObject *)v; + PyObject *obj = PyBool_FromLong(sobj->own); + if (val) { + if (PyObject_IsTrue(val)) { + SwigPyObject_acquire(v,args); + } else { + SwigPyObject_disown(v,args); + } + } + return obj; + } +} + +static PyMethodDef +swigobject_methods[] = { + {"disown", SwigPyObject_disown, METH_NOARGS, "releases ownership of the pointer"}, + {"acquire", SwigPyObject_acquire, METH_NOARGS, "acquires ownership of the pointer"}, + {"own", SwigPyObject_own, METH_VARARGS, "returns/sets ownership of the pointer"}, + {"append", SwigPyObject_append, METH_O, "appends another 'this' object"}, + {"next", SwigPyObject_next, METH_NOARGS, "returns the next 'this' object"}, + {"__repr__",SwigPyObject_repr2, METH_NOARGS, "returns object representation"}, + {0, 0, 0, 0} +}; + +SWIGRUNTIME PyTypeObject* +SwigPyObject_TypeOnce(void) { + static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer"; + + static PyNumberMethods SwigPyObject_as_number = { + (binaryfunc)0, /*nb_add*/ + (binaryfunc)0, /*nb_subtract*/ + (binaryfunc)0, /*nb_multiply*/ + /* nb_divide removed in Python 3 */ +#if PY_VERSION_HEX < 0x03000000 + (binaryfunc)0, /*nb_divide*/ +#endif + (binaryfunc)0, /*nb_remainder*/ + (binaryfunc)0, /*nb_divmod*/ + (ternaryfunc)0,/*nb_power*/ + (unaryfunc)0, /*nb_negative*/ + (unaryfunc)0, /*nb_positive*/ + (unaryfunc)0, /*nb_absolute*/ + (inquiry)0, /*nb_nonzero*/ + 0, /*nb_invert*/ + 0, /*nb_lshift*/ + 0, /*nb_rshift*/ + 0, /*nb_and*/ + 0, /*nb_xor*/ + 0, /*nb_or*/ +#if PY_VERSION_HEX < 0x03000000 + 0, /*nb_coerce*/ +#endif + (unaryfunc)SwigPyObject_long, /*nb_int*/ +#if PY_VERSION_HEX < 0x03000000 + (unaryfunc)SwigPyObject_long, /*nb_long*/ +#else + 0, /*nb_reserved*/ +#endif + (unaryfunc)0, /*nb_float*/ +#if PY_VERSION_HEX < 0x03000000 + (unaryfunc)SwigPyObject_oct, /*nb_oct*/ + (unaryfunc)SwigPyObject_hex, /*nb_hex*/ +#endif +#if PY_VERSION_HEX >= 0x03050000 /* 3.5 */ + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_matrix_multiply */ +#elif PY_VERSION_HEX >= 0x03000000 /* 3.0 */ + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index, nb_inplace_divide removed */ +#else + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */ +#endif + }; + + static PyTypeObject swigpyobject_type; + static int type_init = 0; + if (!type_init) { + const PyTypeObject tmp = { +#if PY_VERSION_HEX >= 0x03000000 + PyVarObject_HEAD_INIT(NULL, 0) +#else + PyObject_HEAD_INIT(NULL) + 0, /* ob_size */ +#endif + "SwigPyObject", /* tp_name */ + sizeof(SwigPyObject), /* tp_basicsize */ + 0, /* tp_itemsize */ + (destructor)SwigPyObject_dealloc, /* tp_dealloc */ + 0, /* tp_print */ + (getattrfunc)0, /* tp_getattr */ + (setattrfunc)0, /* tp_setattr */ +#if PY_VERSION_HEX >= 0x03000000 + 0, /* tp_reserved in 3.0.1, tp_compare in 3.0.0 but not used */ +#else + (cmpfunc)SwigPyObject_compare, /* tp_compare */ +#endif + (reprfunc)SwigPyObject_repr, /* tp_repr */ + &SwigPyObject_as_number, /* tp_as_number */ + 0, /* tp_as_sequence */ + 0, /* tp_as_mapping */ + (hashfunc)0, /* tp_hash */ + (ternaryfunc)0, /* tp_call */ + 0, /* tp_str */ + PyObject_GenericGetAttr, /* tp_getattro */ + 0, /* tp_setattro */ + 0, /* tp_as_buffer */ + Py_TPFLAGS_DEFAULT, /* tp_flags */ + swigobject_doc, /* tp_doc */ + 0, /* tp_traverse */ + 0, /* tp_clear */ + (richcmpfunc)SwigPyObject_richcompare,/* tp_richcompare */ + 0, /* tp_weaklistoffset */ + 0, /* tp_iter */ + 0, /* tp_iternext */ + swigobject_methods, /* tp_methods */ + 0, /* tp_members */ + 0, /* tp_getset */ + 0, /* tp_base */ + 0, /* tp_dict */ + 0, /* tp_descr_get */ + 0, /* tp_descr_set */ + 0, /* tp_dictoffset */ + 0, /* tp_init */ + 0, /* tp_alloc */ + 0, /* tp_new */ + 0, /* tp_free */ + 0, /* tp_is_gc */ + 0, /* tp_bases */ + 0, /* tp_mro */ + 0, /* tp_cache */ + 0, /* tp_subclasses */ + 0, /* tp_weaklist */ + 0, /* tp_del */ + 0, /* tp_version_tag */ +#if PY_VERSION_HEX >= 0x03040000 + 0, /* tp_finalize */ +#endif +#if PY_VERSION_HEX >= 0x03080000 + 0, /* tp_vectorcall */ +#endif +#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) + 0, /* tp_print */ +#endif +#ifdef COUNT_ALLOCS + 0, /* tp_allocs */ + 0, /* tp_frees */ + 0, /* tp_maxalloc */ + 0, /* tp_prev */ + 0 /* tp_next */ +#endif + }; + swigpyobject_type = tmp; + type_init = 1; + if (PyType_Ready(&swigpyobject_type) < 0) + return NULL; + } + return &swigpyobject_type; +} + +SWIGRUNTIME PyObject * +SwigPyObject_New(void *ptr, swig_type_info *ty, int own) +{ + SwigPyObject *sobj = PyObject_NEW(SwigPyObject, SwigPyObject_type()); + if (sobj) { + sobj->ptr = ptr; + sobj->ty = ty; + sobj->own = own; + sobj->next = 0; + } + return (PyObject *)sobj; +} + +/* ----------------------------------------------------------------------------- + * Implements a simple Swig Packed type, and use it instead of string + * ----------------------------------------------------------------------------- */ + +typedef struct { + PyObject_HEAD + void *pack; + swig_type_info *ty; + size_t size; +} SwigPyPacked; + +SWIGRUNTIME PyObject * +SwigPyPacked_repr(SwigPyPacked *v) +{ + char result[SWIG_BUFFER_SIZE]; + if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { + return SWIG_Python_str_FromFormat("", result, v->ty->name); + } else { + return SWIG_Python_str_FromFormat("", v->ty->name); + } +} + +SWIGRUNTIME PyObject * +SwigPyPacked_str(SwigPyPacked *v) +{ + char result[SWIG_BUFFER_SIZE]; + if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ + return SWIG_Python_str_FromFormat("%s%s", result, v->ty->name); + } else { + return SWIG_Python_str_FromChar(v->ty->name); + } +} + +SWIGRUNTIME int +SwigPyPacked_compare(SwigPyPacked *v, SwigPyPacked *w) +{ + size_t i = v->size; + size_t j = w->size; + int s = (i < j) ? -1 : ((i > j) ? 1 : 0); + return s ? s : strncmp((const char *)v->pack, (const char *)w->pack, 2*v->size); +} + +SWIGRUNTIME PyTypeObject* SwigPyPacked_TypeOnce(void); + +SWIGRUNTIME PyTypeObject* +SwigPyPacked_type(void) { + static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyPacked_TypeOnce(); + return type; +} + +SWIGRUNTIMEINLINE int +SwigPyPacked_Check(PyObject *op) { + return ((op)->ob_type == SwigPyPacked_TypeOnce()) + || (strcmp((op)->ob_type->tp_name,"SwigPyPacked") == 0); +} + +SWIGRUNTIME void +SwigPyPacked_dealloc(PyObject *v) +{ + if (SwigPyPacked_Check(v)) { + SwigPyPacked *sobj = (SwigPyPacked *) v; + free(sobj->pack); + } + PyObject_DEL(v); +} + +SWIGRUNTIME PyTypeObject* +SwigPyPacked_TypeOnce(void) { + static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer"; + static PyTypeObject swigpypacked_type; + static int type_init = 0; + if (!type_init) { + const PyTypeObject tmp = { +#if PY_VERSION_HEX>=0x03000000 + PyVarObject_HEAD_INIT(NULL, 0) +#else + PyObject_HEAD_INIT(NULL) + 0, /* ob_size */ +#endif + "SwigPyPacked", /* tp_name */ + sizeof(SwigPyPacked), /* tp_basicsize */ + 0, /* tp_itemsize */ + (destructor)SwigPyPacked_dealloc, /* tp_dealloc */ + 0, /* tp_print */ + (getattrfunc)0, /* tp_getattr */ + (setattrfunc)0, /* tp_setattr */ +#if PY_VERSION_HEX>=0x03000000 + 0, /* tp_reserved in 3.0.1 */ +#else + (cmpfunc)SwigPyPacked_compare, /* tp_compare */ +#endif + (reprfunc)SwigPyPacked_repr, /* tp_repr */ + 0, /* tp_as_number */ + 0, /* tp_as_sequence */ + 0, /* tp_as_mapping */ + (hashfunc)0, /* tp_hash */ + (ternaryfunc)0, /* tp_call */ + (reprfunc)SwigPyPacked_str, /* tp_str */ + PyObject_GenericGetAttr, /* tp_getattro */ + 0, /* tp_setattro */ + 0, /* tp_as_buffer */ + Py_TPFLAGS_DEFAULT, /* tp_flags */ + swigpacked_doc, /* tp_doc */ + 0, /* tp_traverse */ + 0, /* tp_clear */ + 0, /* tp_richcompare */ + 0, /* tp_weaklistoffset */ + 0, /* tp_iter */ + 0, /* tp_iternext */ + 0, /* tp_methods */ + 0, /* tp_members */ + 0, /* tp_getset */ + 0, /* tp_base */ + 0, /* tp_dict */ + 0, /* tp_descr_get */ + 0, /* tp_descr_set */ + 0, /* tp_dictoffset */ + 0, /* tp_init */ + 0, /* tp_alloc */ + 0, /* tp_new */ + 0, /* tp_free */ + 0, /* tp_is_gc */ + 0, /* tp_bases */ + 0, /* tp_mro */ + 0, /* tp_cache */ + 0, /* tp_subclasses */ + 0, /* tp_weaklist */ + 0, /* tp_del */ + 0, /* tp_version_tag */ +#if PY_VERSION_HEX >= 0x03040000 + 0, /* tp_finalize */ +#endif +#if PY_VERSION_HEX >= 0x03080000 + 0, /* tp_vectorcall */ +#endif +#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) + 0, /* tp_print */ +#endif +#ifdef COUNT_ALLOCS + 0, /* tp_allocs */ + 0, /* tp_frees */ + 0, /* tp_maxalloc */ + 0, /* tp_prev */ + 0 /* tp_next */ +#endif + }; + swigpypacked_type = tmp; + type_init = 1; + if (PyType_Ready(&swigpypacked_type) < 0) + return NULL; + } + return &swigpypacked_type; +} + +SWIGRUNTIME PyObject * +SwigPyPacked_New(void *ptr, size_t size, swig_type_info *ty) +{ + SwigPyPacked *sobj = PyObject_NEW(SwigPyPacked, SwigPyPacked_type()); + if (sobj) { + void *pack = malloc(size); + if (pack) { + memcpy(pack, ptr, size); + sobj->pack = pack; + sobj->ty = ty; + sobj->size = size; + } else { + PyObject_DEL((PyObject *) sobj); + sobj = 0; + } + } + return (PyObject *) sobj; +} + +SWIGRUNTIME swig_type_info * +SwigPyPacked_UnpackData(PyObject *obj, void *ptr, size_t size) +{ + if (SwigPyPacked_Check(obj)) { + SwigPyPacked *sobj = (SwigPyPacked *)obj; + if (sobj->size != size) return 0; + memcpy(ptr, sobj->pack, size); + return sobj->ty; + } else { + return 0; + } +} + +/* ----------------------------------------------------------------------------- + * pointers/data manipulation + * ----------------------------------------------------------------------------- */ + +static PyObject *Swig_This_global = NULL; + +SWIGRUNTIME PyObject * +SWIG_This(void) +{ + if (Swig_This_global == NULL) + Swig_This_global = SWIG_Python_str_FromChar("this"); + return Swig_This_global; +} + +/* #define SWIG_PYTHON_SLOW_GETSET_THIS */ + +/* TODO: I don't know how to implement the fast getset in Python 3 right now */ +#if PY_VERSION_HEX>=0x03000000 +#define SWIG_PYTHON_SLOW_GETSET_THIS +#endif + +SWIGRUNTIME SwigPyObject * +SWIG_Python_GetSwigThis(PyObject *pyobj) +{ + PyObject *obj; + + if (SwigPyObject_Check(pyobj)) + return (SwigPyObject *) pyobj; + +#ifdef SWIGPYTHON_BUILTIN + (void)obj; +# ifdef PyWeakref_CheckProxy + if (PyWeakref_CheckProxy(pyobj)) { + pyobj = PyWeakref_GET_OBJECT(pyobj); + if (pyobj && SwigPyObject_Check(pyobj)) + return (SwigPyObject*) pyobj; + } +# endif + return NULL; +#else + + obj = 0; + +#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) + if (PyInstance_Check(pyobj)) { + obj = _PyInstance_Lookup(pyobj, SWIG_This()); + } else { + PyObject **dictptr = _PyObject_GetDictPtr(pyobj); + if (dictptr != NULL) { + PyObject *dict = *dictptr; + obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0; + } else { +#ifdef PyWeakref_CheckProxy + if (PyWeakref_CheckProxy(pyobj)) { + PyObject *wobj = PyWeakref_GET_OBJECT(pyobj); + return wobj ? SWIG_Python_GetSwigThis(wobj) : 0; + } +#endif + obj = PyObject_GetAttr(pyobj,SWIG_This()); + if (obj) { + Py_DECREF(obj); + } else { + if (PyErr_Occurred()) PyErr_Clear(); + return 0; + } + } + } +#else + obj = PyObject_GetAttr(pyobj,SWIG_This()); + if (obj) { + Py_DECREF(obj); + } else { + if (PyErr_Occurred()) PyErr_Clear(); + return 0; + } +#endif + if (obj && !SwigPyObject_Check(obj)) { + /* a PyObject is called 'this', try to get the 'real this' + SwigPyObject from it */ + return SWIG_Python_GetSwigThis(obj); + } + return (SwigPyObject *)obj; +#endif +} + +/* Acquire a pointer value */ + +SWIGRUNTIME int +SWIG_Python_AcquirePtr(PyObject *obj, int own) { + if (own == SWIG_POINTER_OWN) { + SwigPyObject *sobj = SWIG_Python_GetSwigThis(obj); + if (sobj) { + int oldown = sobj->own; + sobj->own = own; + return oldown; + } + } + return 0; +} + +/* Convert a pointer value */ + +SWIGRUNTIME int +SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) { + int res; + SwigPyObject *sobj; + int implicit_conv = (flags & SWIG_POINTER_IMPLICIT_CONV) != 0; + + if (!obj) + return SWIG_ERROR; + if (obj == Py_None && !implicit_conv) { + if (ptr) + *ptr = 0; + return (flags & SWIG_POINTER_NO_NULL) ? SWIG_NullReferenceError : SWIG_OK; + } + + res = SWIG_ERROR; + + sobj = SWIG_Python_GetSwigThis(obj); + if (own) + *own = 0; + while (sobj) { + void *vptr = sobj->ptr; + if (ty) { + swig_type_info *to = sobj->ty; + if (to == ty) { + /* no type cast needed */ + if (ptr) *ptr = vptr; + break; + } else { + swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); + if (!tc) { + sobj = (SwigPyObject *)sobj->next; + } else { + if (ptr) { + int newmemory = 0; + *ptr = SWIG_TypeCast(tc,vptr,&newmemory); + if (newmemory == SWIG_CAST_NEW_MEMORY) { + assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */ + if (own) + *own = *own | SWIG_CAST_NEW_MEMORY; + } + } + break; + } + } + } else { + if (ptr) *ptr = vptr; + break; + } + } + if (sobj) { + if (own) + *own = *own | sobj->own; + if (flags & SWIG_POINTER_DISOWN) { + sobj->own = 0; + } + res = SWIG_OK; + } else { + if (implicit_conv) { + SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0; + if (data && !data->implicitconv) { + PyObject *klass = data->klass; + if (klass) { + PyObject *impconv; + data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/ + impconv = SWIG_Python_CallFunctor(klass, obj); + data->implicitconv = 0; + if (PyErr_Occurred()) { + PyErr_Clear(); + impconv = 0; + } + if (impconv) { + SwigPyObject *iobj = SWIG_Python_GetSwigThis(impconv); + if (iobj) { + void *vptr; + res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0); + if (SWIG_IsOK(res)) { + if (ptr) { + *ptr = vptr; + /* transfer the ownership to 'ptr' */ + iobj->own = 0; + res = SWIG_AddCast(res); + res = SWIG_AddNewMask(res); + } else { + res = SWIG_AddCast(res); + } + } + } + Py_DECREF(impconv); + } + } + } + if (!SWIG_IsOK(res) && obj == Py_None) { + if (ptr) + *ptr = 0; + if (PyErr_Occurred()) + PyErr_Clear(); + res = SWIG_OK; + } + } + } + return res; +} + +/* Convert a function ptr value */ + +SWIGRUNTIME int +SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) { + if (!PyCFunction_Check(obj)) { + return SWIG_ConvertPtr(obj, ptr, ty, 0); + } else { + void *vptr = 0; + swig_cast_info *tc; + + /* here we get the method pointer for callbacks */ + const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); + const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0; + if (desc) + desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0; + if (!desc) + return SWIG_ERROR; + tc = SWIG_TypeCheck(desc,ty); + if (tc) { + int newmemory = 0; + *ptr = SWIG_TypeCast(tc,vptr,&newmemory); + assert(!newmemory); /* newmemory handling not yet implemented */ + } else { + return SWIG_ERROR; + } + return SWIG_OK; + } +} + +/* Convert a packed pointer value */ + +SWIGRUNTIME int +SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) { + swig_type_info *to = SwigPyPacked_UnpackData(obj, ptr, sz); + if (!to) return SWIG_ERROR; + if (ty) { + if (to != ty) { + /* check type cast? */ + swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); + if (!tc) return SWIG_ERROR; + } + } + return SWIG_OK; +} + +/* ----------------------------------------------------------------------------- + * Create a new pointer object + * ----------------------------------------------------------------------------- */ + +/* + Create a new instance object, without calling __init__, and set the + 'this' attribute. +*/ + +SWIGRUNTIME PyObject* +SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this) +{ + PyObject *inst = 0; + PyObject *newraw = data->newraw; + if (newraw) { + inst = PyObject_Call(newraw, data->newargs, NULL); + if (inst) { +#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) + PyObject **dictptr = _PyObject_GetDictPtr(inst); + if (dictptr != NULL) { + PyObject *dict = *dictptr; + if (dict == NULL) { + dict = PyDict_New(); + *dictptr = dict; + PyDict_SetItem(dict, SWIG_This(), swig_this); + } + } +#else + if (PyObject_SetAttr(inst, SWIG_This(), swig_this) == -1) { + Py_DECREF(inst); + inst = 0; + } +#endif + } + } else { +#if PY_VERSION_HEX >= 0x03000000 + PyObject *empty_args = PyTuple_New(0); + if (empty_args) { + PyObject *empty_kwargs = PyDict_New(); + if (empty_kwargs) { + inst = ((PyTypeObject *)data->newargs)->tp_new((PyTypeObject *)data->newargs, empty_args, empty_kwargs); + Py_DECREF(empty_kwargs); + if (inst) { + if (PyObject_SetAttr(inst, SWIG_This(), swig_this) == -1) { + Py_DECREF(inst); + inst = 0; + } else { + Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG; + } + } + } + Py_DECREF(empty_args); + } +#else + PyObject *dict = PyDict_New(); + if (dict) { + PyDict_SetItem(dict, SWIG_This(), swig_this); + inst = PyInstance_NewRaw(data->newargs, dict); + Py_DECREF(dict); + } +#endif + } + return inst; +} + +SWIGRUNTIME int +SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this) +{ +#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) + PyObject **dictptr = _PyObject_GetDictPtr(inst); + if (dictptr != NULL) { + PyObject *dict = *dictptr; + if (dict == NULL) { + dict = PyDict_New(); + *dictptr = dict; + } + return PyDict_SetItem(dict, SWIG_This(), swig_this); + } +#endif + return PyObject_SetAttr(inst, SWIG_This(), swig_this); +} + + +SWIGINTERN PyObject * +SWIG_Python_InitShadowInstance(PyObject *args) { + PyObject *obj[2]; + if (!SWIG_Python_UnpackTuple(args, "swiginit", 2, 2, obj)) { + return NULL; + } else { + SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]); + if (sthis) { + SwigPyObject_append((PyObject*) sthis, obj[1]); + } else { + if (SWIG_Python_SetSwigThis(obj[0], obj[1]) != 0) + return NULL; + } + return SWIG_Py_Void(); + } +} + +/* Create a new pointer object */ + +SWIGRUNTIME PyObject * +SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int flags) { + SwigPyClientData *clientdata; + PyObject * robj; + int own; + + if (!ptr) + return SWIG_Py_Void(); + + clientdata = type ? (SwigPyClientData *)(type->clientdata) : 0; + own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0; + if (clientdata && clientdata->pytype) { + SwigPyObject *newobj; + if (flags & SWIG_BUILTIN_TP_INIT) { + newobj = (SwigPyObject*) self; + if (newobj->ptr) { + PyObject *next_self = clientdata->pytype->tp_alloc(clientdata->pytype, 0); + while (newobj->next) + newobj = (SwigPyObject *) newobj->next; + newobj->next = next_self; + newobj = (SwigPyObject *)next_self; +#ifdef SWIGPYTHON_BUILTIN + newobj->dict = 0; +#endif + } + } else { + newobj = PyObject_New(SwigPyObject, clientdata->pytype); +#ifdef SWIGPYTHON_BUILTIN + newobj->dict = 0; +#endif + } + if (newobj) { + newobj->ptr = ptr; + newobj->ty = type; + newobj->own = own; + newobj->next = 0; + return (PyObject*) newobj; + } + return SWIG_Py_Void(); + } + + assert(!(flags & SWIG_BUILTIN_TP_INIT)); + + robj = SwigPyObject_New(ptr, type, own); + if (robj && clientdata && !(flags & SWIG_POINTER_NOSHADOW)) { + PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj); + Py_DECREF(robj); + robj = inst; + } + return robj; +} + +/* Create a new packed object */ + +SWIGRUNTIMEINLINE PyObject * +SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { + return ptr ? SwigPyPacked_New((void *) ptr, sz, type) : SWIG_Py_Void(); +} + +/* -----------------------------------------------------------------------------* + * Get type list + * -----------------------------------------------------------------------------*/ + +#ifdef SWIG_LINK_RUNTIME +void *SWIG_ReturnGlobalTypeList(void *); +#endif + +SWIGRUNTIME swig_module_info * +SWIG_Python_GetModule(void *SWIGUNUSEDPARM(clientdata)) { + static void *type_pointer = (void *)0; + /* first check if module already created */ + if (!type_pointer) { +#ifdef SWIG_LINK_RUNTIME + type_pointer = SWIG_ReturnGlobalTypeList((void *)0); +#else + type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0); + if (PyErr_Occurred()) { + PyErr_Clear(); + type_pointer = (void *)0; + } +#endif + } + return (swig_module_info *) type_pointer; +} + +SWIGRUNTIME void +SWIG_Python_DestroyModule(PyObject *obj) +{ + swig_module_info *swig_module = (swig_module_info *) PyCapsule_GetPointer(obj, SWIGPY_CAPSULE_NAME); + swig_type_info **types = swig_module->types; + size_t i; + for (i =0; i < swig_module->size; ++i) { + swig_type_info *ty = types[i]; + if (ty->owndata) { + SwigPyClientData *data = (SwigPyClientData *) ty->clientdata; + if (data) SwigPyClientData_Del(data); + } + } + Py_DECREF(SWIG_This()); + Swig_This_global = NULL; +} + +SWIGRUNTIME void +SWIG_Python_SetModule(swig_module_info *swig_module) { +#if PY_VERSION_HEX >= 0x03000000 + /* Add a dummy module object into sys.modules */ + PyObject *module = PyImport_AddModule("swig_runtime_data" SWIG_RUNTIME_VERSION); +#else + static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} }; /* Sentinel */ + PyObject *module = Py_InitModule("swig_runtime_data" SWIG_RUNTIME_VERSION, swig_empty_runtime_method_table); +#endif + PyObject *pointer = PyCapsule_New((void *) swig_module, SWIGPY_CAPSULE_NAME, SWIG_Python_DestroyModule); + if (pointer && module) { + PyModule_AddObject(module, "type_pointer_capsule" SWIG_TYPE_TABLE_NAME, pointer); + } else { + Py_XDECREF(pointer); + } +} + +/* The python cached type query */ +SWIGRUNTIME PyObject * +SWIG_Python_TypeCache(void) { + static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New(); + return cache; +} + +SWIGRUNTIME swig_type_info * +SWIG_Python_TypeQuery(const char *type) +{ + PyObject *cache = SWIG_Python_TypeCache(); + PyObject *key = SWIG_Python_str_FromChar(type); + PyObject *obj = PyDict_GetItem(cache, key); + swig_type_info *descriptor; + if (obj) { + descriptor = (swig_type_info *) PyCapsule_GetPointer(obj, NULL); + } else { + swig_module_info *swig_module = SWIG_GetModule(0); + descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type); + if (descriptor) { + obj = PyCapsule_New((void*) descriptor, NULL, NULL); + PyDict_SetItem(cache, key, obj); + Py_DECREF(obj); + } + } + Py_DECREF(key); + return descriptor; +} + +/* + For backward compatibility only +*/ +#define SWIG_POINTER_EXCEPTION 0 +#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) +#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) + +SWIGRUNTIME int +SWIG_Python_AddErrMesg(const char* mesg, int infront) +{ + if (PyErr_Occurred()) { + PyObject *type = 0; + PyObject *value = 0; + PyObject *traceback = 0; + PyErr_Fetch(&type, &value, &traceback); + if (value) { + PyObject *old_str = PyObject_Str(value); + const char *tmp = SWIG_Python_str_AsChar(old_str); + const char *errmesg = tmp ? tmp : "Invalid error message"; + Py_XINCREF(type); + PyErr_Clear(); + if (infront) { + PyErr_Format(type, "%s %s", mesg, errmesg); + } else { + PyErr_Format(type, "%s %s", errmesg, mesg); + } + SWIG_Python_str_DelForPy3(tmp); + Py_DECREF(old_str); + } + return 1; + } else { + return 0; + } +} + +SWIGRUNTIME int +SWIG_Python_ArgFail(int argnum) +{ + if (PyErr_Occurred()) { + /* add information about failing argument */ + char mesg[256]; + PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); + return SWIG_Python_AddErrMesg(mesg, 1); + } else { + return 0; + } +} + +SWIGRUNTIMEINLINE const char * +SwigPyObject_GetDesc(PyObject *self) +{ + SwigPyObject *v = (SwigPyObject *)self; + swig_type_info *ty = v ? v->ty : 0; + return ty ? ty->str : ""; +} + +SWIGRUNTIME void +SWIG_Python_TypeError(const char *type, PyObject *obj) +{ + if (type) { +#if defined(SWIG_COBJECT_TYPES) + if (obj && SwigPyObject_Check(obj)) { + const char *otype = (const char *) SwigPyObject_GetDesc(obj); + if (otype) { + PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'SwigPyObject(%s)' is received", + type, otype); + return; + } + } else +#endif + { + const char *otype = (obj ? obj->ob_type->tp_name : 0); + if (otype) { + PyObject *str = PyObject_Str(obj); + const char *cstr = str ? SWIG_Python_str_AsChar(str) : 0; + if (cstr) { + PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", + type, otype, cstr); + SWIG_Python_str_DelForPy3(cstr); + } else { + PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", + type, otype); + } + Py_XDECREF(str); + return; + } + } + PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); + } else { + PyErr_Format(PyExc_TypeError, "unexpected type is received"); + } +} + + +/* Convert a pointer value, signal an exception on a type mismatch */ +SWIGRUNTIME void * +SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int SWIGUNUSEDPARM(argnum), int flags) { + void *result; + if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { + PyErr_Clear(); +#if SWIG_POINTER_EXCEPTION + if (flags) { + SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); + SWIG_Python_ArgFail(argnum); + } +#endif + } + return result; +} + +#ifdef SWIGPYTHON_BUILTIN +SWIGRUNTIME int +SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) { + PyTypeObject *tp = obj->ob_type; + PyObject *descr; + PyObject *encoded_name; + descrsetfunc f; + int res = -1; + +# ifdef Py_USING_UNICODE + if (PyString_Check(name)) { + name = PyUnicode_Decode(PyString_AsString(name), PyString_Size(name), NULL, NULL); + if (!name) + return -1; + } else if (!PyUnicode_Check(name)) +# else + if (!PyString_Check(name)) +# endif + { + PyErr_Format(PyExc_TypeError, "attribute name must be string, not '%.200s'", name->ob_type->tp_name); + return -1; + } else { + Py_INCREF(name); + } + + if (!tp->tp_dict) { + if (PyType_Ready(tp) < 0) + goto done; + } + + descr = _PyType_Lookup(tp, name); + f = NULL; + if (descr != NULL) + f = descr->ob_type->tp_descr_set; + if (!f) { + if (PyString_Check(name)) { + encoded_name = name; + Py_INCREF(name); + } else { + encoded_name = PyUnicode_AsUTF8String(name); + if (!encoded_name) + return -1; + } + PyErr_Format(PyExc_AttributeError, "'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name)); + Py_DECREF(encoded_name); + } else { + res = f(descr, obj, value); + } + + done: + Py_DECREF(name); + return res; +} +#endif + + +#ifdef __cplusplus +} +#endif + + + +#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) + +#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else + + + +#ifdef __cplusplus +extern "C" { +#endif + +/* Method creation and docstring support functions */ + +SWIGINTERN PyMethodDef *SWIG_PythonGetProxyDoc(const char *name); +SWIGINTERN PyObject *SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func); +SWIGINTERN PyObject *SWIG_PyStaticMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func); + +#ifdef __cplusplus +} +#endif + + +/* -------- TYPES TABLE (BEGIN) -------- */ + +#define SWIGTYPE_p_ais_state swig_types[0] +#define SWIGTYPE_p_aismsg_1 swig_types[1] +#define SWIGTYPE_p_aismsg_10 swig_types[2] +#define SWIGTYPE_p_aismsg_11 swig_types[3] +#define SWIGTYPE_p_aismsg_12 swig_types[4] +#define SWIGTYPE_p_aismsg_13 swig_types[5] +#define SWIGTYPE_p_aismsg_14 swig_types[6] +#define SWIGTYPE_p_aismsg_15 swig_types[7] +#define SWIGTYPE_p_aismsg_16 swig_types[8] +#define SWIGTYPE_p_aismsg_17 swig_types[9] +#define SWIGTYPE_p_aismsg_18 swig_types[10] +#define SWIGTYPE_p_aismsg_18_itdma swig_types[11] +#define SWIGTYPE_p_aismsg_18_sotdma swig_types[12] +#define SWIGTYPE_p_aismsg_19 swig_types[13] +#define SWIGTYPE_p_aismsg_2 swig_types[14] +#define SWIGTYPE_p_aismsg_20 swig_types[15] +#define SWIGTYPE_p_aismsg_21 swig_types[16] +#define SWIGTYPE_p_aismsg_22 swig_types[17] +#define SWIGTYPE_p_aismsg_23 swig_types[18] +#define SWIGTYPE_p_aismsg_24 swig_types[19] +#define SWIGTYPE_p_aismsg_27 swig_types[20] +#define SWIGTYPE_p_aismsg_3 swig_types[21] +#define SWIGTYPE_p_aismsg_4 swig_types[22] +#define SWIGTYPE_p_aismsg_5 swig_types[23] +#define SWIGTYPE_p_aismsg_6 swig_types[24] +#define SWIGTYPE_p_aismsg_7 swig_types[25] +#define SWIGTYPE_p_aismsg_8 swig_types[26] +#define SWIGTYPE_p_aismsg_9 swig_types[27] +#define SWIGTYPE_p_aismsg_9_itdma swig_types[28] +#define SWIGTYPE_p_aismsg_9_sotdma swig_types[29] +#define SWIGTYPE_p_binary_state swig_types[30] +#define SWIGTYPE_p_char swig_types[31] +#define SWIGTYPE_p_current_report swig_types[32] +#define SWIGTYPE_p_double swig_types[33] +#define SWIGTYPE_p_imo1_11 swig_types[34] +#define SWIGTYPE_p_imo1_12 swig_types[35] +#define SWIGTYPE_p_imo1_13 swig_types[36] +#define SWIGTYPE_p_imo1_14 swig_types[37] +#define SWIGTYPE_p_imo1_15 swig_types[38] +#define SWIGTYPE_p_imo1_16 swig_types[39] +#define SWIGTYPE_p_imo1_17 swig_types[40] +#define SWIGTYPE_p_int swig_types[41] +#define SWIGTYPE_p_lock_schedule swig_types[42] +#define SWIGTYPE_p_long swig_types[43] +#define SWIGTYPE_p_nmea_state swig_types[44] +#define SWIGTYPE_p_p_char swig_types[45] +#define SWIGTYPE_p_pawss1_4 swig_types[46] +#define SWIGTYPE_p_pawss1_5 swig_types[47] +#define SWIGTYPE_p_pawss2_3 swig_types[48] +#define SWIGTYPE_p_procession_order swig_types[49] +#define SWIGTYPE_p_pseudo_target swig_types[50] +#define SWIGTYPE_p_salinity_report swig_types[51] +#define SWIGTYPE_p_seaway1_1 swig_types[52] +#define SWIGTYPE_p_seaway1_2 swig_types[53] +#define SWIGTYPE_p_seaway1_3 swig_types[54] +#define SWIGTYPE_p_seaway1_6 swig_types[55] +#define SWIGTYPE_p_seaway2_1 swig_types[56] +#define SWIGTYPE_p_seaway2_2 swig_types[57] +#define SWIGTYPE_p_seaway32_1 swig_types[58] +#define SWIGTYPE_p_short swig_types[59] +#define SWIGTYPE_p_sixbit swig_types[60] +#define SWIGTYPE_p_tidal_window swig_types[61] +#define SWIGTYPE_p_timetag swig_types[62] +#define SWIGTYPE_p_unsigned_char swig_types[63] +#define SWIGTYPE_p_water_flow_report swig_types[64] +#define SWIGTYPE_p_water_level_report swig_types[65] +#define SWIGTYPE_p_weather_report swig_types[66] +#define SWIGTYPE_p_wind_report swig_types[67] +static swig_type_info *swig_types[69]; +static swig_module_info swig_module = {swig_types, 68, 0, 0, 0, 0}; +#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) +#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) + +/* -------- TYPES TABLE (END) -------- */ + +#ifdef SWIG_TypeQuery +# undef SWIG_TypeQuery +#endif +#define SWIG_TypeQuery SWIG_Python_TypeQuery + +/*----------------------------------------------- + @(target):= _aisparser.so + ------------------------------------------------*/ +#if PY_VERSION_HEX >= 0x03000000 +# define SWIG_init PyInit__aisparser + +#else +# define SWIG_init init_aisparser + +#endif +#define SWIG_name "_aisparser" + +#define SWIGVERSION 0x040002 +#define SWIG_VERSION SWIGVERSION + + +#define SWIG_as_voidptr(a) (void *)((const void *)(a)) +#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a)) + + +SWIGINTERN int +SWIG_AsVal_double (PyObject *obj, double *val) +{ + int res = SWIG_TypeError; + if (PyFloat_Check(obj)) { + if (val) *val = PyFloat_AsDouble(obj); + return SWIG_OK; +#if PY_VERSION_HEX < 0x03000000 + } else if (PyInt_Check(obj)) { + if (val) *val = (double) PyInt_AsLong(obj); + return SWIG_OK; +#endif + } else if (PyLong_Check(obj)) { + double v = PyLong_AsDouble(obj); + if (!PyErr_Occurred()) { + if (val) *val = v; + return SWIG_OK; + } else { + PyErr_Clear(); + } + } +#ifdef SWIG_PYTHON_CAST_MODE + { + int dispatch = 0; + double d = PyFloat_AsDouble(obj); + if (!PyErr_Occurred()) { + if (val) *val = d; + return SWIG_AddCast(SWIG_OK); + } else { + PyErr_Clear(); + } + if (!dispatch) { + long v = PyLong_AsLong(obj); + if (!PyErr_Occurred()) { + if (val) *val = v; + return SWIG_AddCast(SWIG_AddCast(SWIG_OK)); + } else { + PyErr_Clear(); + } + } + } +#endif + return res; +} + + +#include + + +#include + + +SWIGINTERNINLINE int +SWIG_CanCastAsInteger(double *d, double min, double max) { + double x = *d; + if ((min <= x && x <= max)) { + double fx = floor(x); + double cx = ceil(x); + double rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */ + if ((errno == EDOM) || (errno == ERANGE)) { + errno = 0; + } else { + double summ, reps, diff; + if (rd < x) { + diff = x - rd; + } else if (rd > x) { + diff = rd - x; + } else { + return 1; + } + summ = rd + x; + reps = diff/summ; + if (reps < 8*DBL_EPSILON) { + *d = rd; + return 1; + } + } + } + return 0; +} + + +SWIGINTERN int +SWIG_AsVal_long (PyObject *obj, long* val) +{ +#if PY_VERSION_HEX < 0x03000000 + if (PyInt_Check(obj)) { + if (val) *val = PyInt_AsLong(obj); + return SWIG_OK; + } else +#endif + if (PyLong_Check(obj)) { + long v = PyLong_AsLong(obj); + if (!PyErr_Occurred()) { + if (val) *val = v; + return SWIG_OK; + } else { + PyErr_Clear(); + return SWIG_OverflowError; + } + } +#ifdef SWIG_PYTHON_CAST_MODE + { + int dispatch = 0; + long v = PyInt_AsLong(obj); + if (!PyErr_Occurred()) { + if (val) *val = v; + return SWIG_AddCast(SWIG_OK); + } else { + PyErr_Clear(); + } + if (!dispatch) { + double d; + int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d)); + if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) { + if (val) *val = (long)(d); + return res; + } + } + } +#endif + return SWIG_TypeError; +} + + + #define SWIG_From_double PyFloat_FromDouble + + +SWIGINTERNINLINE PyObject* + SWIG_From_int (int value) +{ + return PyInt_FromLong((long) value); +} + + + #define SWIG_From_long PyInt_FromLong + + +SWIGINTERNINLINE PyObject * +SWIG_From_short (short value) +{ + return SWIG_From_long (value); +} + + +/* Includes the header in the wrapper code */ +#include "../../c/src/portable.h" +#include "../../c/src/nmea.h" +#include "../../c/src/sixbit.h" +#include "../../c/src/vdm_parse.h" +#include "../../c/src/seaway.h" +#include "../../c/src/imo.h" +#include "../../c/src/access.h" + + +#include +#if !defined(SWIG_NO_LLONG_MAX) +# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__) +# define LLONG_MAX __LONG_LONG_MAX__ +# define LLONG_MIN (-LLONG_MAX - 1LL) +# define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL) +# endif +#endif + + +SWIGINTERN int +SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val) +{ +#if PY_VERSION_HEX < 0x03000000 + if (PyInt_Check(obj)) { + long v = PyInt_AsLong(obj); + if (v >= 0) { + if (val) *val = v; + return SWIG_OK; + } else { + return SWIG_OverflowError; + } + } else +#endif + if (PyLong_Check(obj)) { + unsigned long v = PyLong_AsUnsignedLong(obj); + if (!PyErr_Occurred()) { + if (val) *val = v; + return SWIG_OK; + } else { + PyErr_Clear(); + return SWIG_OverflowError; + } + } +#ifdef SWIG_PYTHON_CAST_MODE + { + int dispatch = 0; + unsigned long v = PyLong_AsUnsignedLong(obj); + if (!PyErr_Occurred()) { + if (val) *val = v; + return SWIG_AddCast(SWIG_OK); + } else { + PyErr_Clear(); + } + if (!dispatch) { + double d; + int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d)); + if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) { + if (val) *val = (unsigned long)(d); + return res; + } + } + } +#endif + return SWIG_TypeError; +} + + +SWIGINTERN int +SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val) +{ + unsigned long v; + int res = SWIG_AsVal_unsigned_SS_long (obj, &v); + if (SWIG_IsOK(res)) { + if ((v > UCHAR_MAX)) { + return SWIG_OverflowError; + } else { + if (val) *val = (unsigned char)(v); + } + } + return res; +} + + +SWIGINTERNINLINE PyObject* +SWIG_From_unsigned_SS_long (unsigned long value) +{ + return (value > LONG_MAX) ? + PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)(value)); +} + + +SWIGINTERNINLINE PyObject * +SWIG_From_unsigned_SS_char (unsigned char value) +{ + return SWIG_From_unsigned_SS_long (value); +} + + +SWIGINTERN swig_type_info* +SWIG_pchar_descriptor(void) +{ + static int init = 0; + static swig_type_info* info = 0; + if (!init) { + info = SWIG_TypeQuery("_p_char"); + init = 1; + } + return info; +} + + +SWIGINTERN int +SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc) +{ +#if PY_VERSION_HEX>=0x03000000 +#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR) + if (PyBytes_Check(obj)) +#else + if (PyUnicode_Check(obj)) +#endif +#else + if (PyString_Check(obj)) +#endif + { + char *cstr; Py_ssize_t len; + int ret = SWIG_OK; +#if PY_VERSION_HEX>=0x03000000 +#if !defined(SWIG_PYTHON_STRICT_BYTE_CHAR) + if (!alloc && cptr) { + /* We can't allow converting without allocation, since the internal + representation of string in Python 3 is UCS-2/UCS-4 but we require + a UTF-8 representation. + TODO(bhy) More detailed explanation */ + return SWIG_RuntimeError; + } + obj = PyUnicode_AsUTF8String(obj); + if (!obj) + return SWIG_TypeError; + if (alloc) + *alloc = SWIG_NEWOBJ; +#endif + if (PyBytes_AsStringAndSize(obj, &cstr, &len) == -1) + return SWIG_TypeError; +#else + if (PyString_AsStringAndSize(obj, &cstr, &len) == -1) + return SWIG_TypeError; +#endif + if (cptr) { + if (alloc) { + if (*alloc == SWIG_NEWOBJ) { + *cptr = (char *)memcpy(malloc((len + 1)*sizeof(char)), cstr, sizeof(char)*(len + 1)); + *alloc = SWIG_NEWOBJ; + } else { + *cptr = cstr; + *alloc = SWIG_OLDOBJ; + } + } else { +#if PY_VERSION_HEX>=0x03000000 +#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR) + *cptr = PyBytes_AsString(obj); +#else + assert(0); /* Should never reach here with Unicode strings in Python 3 */ +#endif +#else + *cptr = SWIG_Python_str_AsChar(obj); + if (!*cptr) + ret = SWIG_TypeError; +#endif + } + } + if (psize) *psize = len + 1; +#if PY_VERSION_HEX>=0x03000000 && !defined(SWIG_PYTHON_STRICT_BYTE_CHAR) + Py_XDECREF(obj); +#endif + return ret; + } else { +#if defined(SWIG_PYTHON_2_UNICODE) +#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR) +#error "Cannot use both SWIG_PYTHON_2_UNICODE and SWIG_PYTHON_STRICT_BYTE_CHAR at once" +#endif +#if PY_VERSION_HEX<0x03000000 + if (PyUnicode_Check(obj)) { + char *cstr; Py_ssize_t len; + if (!alloc && cptr) { + return SWIG_RuntimeError; + } + obj = PyUnicode_AsUTF8String(obj); + if (!obj) + return SWIG_TypeError; + if (PyString_AsStringAndSize(obj, &cstr, &len) != -1) { + if (cptr) { + if (alloc) *alloc = SWIG_NEWOBJ; + *cptr = (char *)memcpy(malloc((len + 1)*sizeof(char)), cstr, sizeof(char)*(len + 1)); + } + if (psize) *psize = len + 1; + + Py_XDECREF(obj); + return SWIG_OK; + } else { + Py_XDECREF(obj); + } + } +#endif +#endif + + swig_type_info* pchar_descriptor = SWIG_pchar_descriptor(); + if (pchar_descriptor) { + void* vptr = 0; + if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) { + if (cptr) *cptr = (char *) vptr; + if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0; + if (alloc) *alloc = SWIG_OLDOBJ; + return SWIG_OK; + } + } + } + return SWIG_TypeError; +} + + +SWIGINTERN int +SWIG_AsCharArray(PyObject * obj, char *val, size_t size) +{ + char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ; + int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc); + if (SWIG_IsOK(res)) { + /* special case of single char conversion when we don't need space for NUL */ + if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize; + if (csize <= size) { + if (val) { + if (csize) memcpy(val, cptr, csize*sizeof(char)); + if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char)); + } + if (alloc == SWIG_NEWOBJ) { + free((char*)cptr); + res = SWIG_DelNewMask(res); + } + return res; + } + if (alloc == SWIG_NEWOBJ) free((char*)cptr); + } + return SWIG_TypeError; +} + + +SWIGINTERNINLINE PyObject * +SWIG_FromCharPtrAndSize(const char* carray, size_t size) +{ + if (carray) { + if (size > INT_MAX) { + swig_type_info* pchar_descriptor = SWIG_pchar_descriptor(); + return pchar_descriptor ? + SWIG_InternalNewPointerObj((char *)(carray), pchar_descriptor, 0) : SWIG_Py_Void(); + } else { +#if PY_VERSION_HEX >= 0x03000000 +#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR) + return PyBytes_FromStringAndSize(carray, (Py_ssize_t)(size)); +#else + return PyUnicode_DecodeUTF8(carray, (Py_ssize_t)(size), "surrogateescape"); +#endif +#else + return PyString_FromStringAndSize(carray, (Py_ssize_t)(size)); +#endif + } + } else { + return SWIG_Py_Void(); + } +} + + +SWIGINTERN size_t +SWIG_strnlen(const char* s, size_t maxlen) +{ + const char *p; + for (p = s; maxlen-- && *p; p++) + ; + return p - s; +} + + + + + +SWIGINTERNINLINE PyObject* + SWIG_From_unsigned_SS_int (unsigned int value) +{ + return PyInt_FromSize_t((size_t) value); +} + + +SWIGINTERNINLINE PyObject * +SWIG_FromCharPtr(const char *cptr) +{ + return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0)); +} + + +SWIGINTERNINLINE PyObject * +SWIG_From_char (char c) +{ + return SWIG_FromCharPtrAndSize(&c,1); +} + + +SWIGINTERN int +SWIG_AsVal_int (PyObject * obj, int *val) +{ + long v; + int res = SWIG_AsVal_long (obj, &v); + if (SWIG_IsOK(res)) { + if ((v < INT_MIN || v > INT_MAX)) { + return SWIG_OverflowError; + } else { + if (val) *val = (int)(v); + } + } + return res; +} + + +SWIGINTERN int +SWIG_AsVal_char (PyObject * obj, char *val) +{ + int res = SWIG_AsCharArray(obj, val, 1); + if (!SWIG_IsOK(res)) { + long v; + res = SWIG_AddCast(SWIG_AsVal_long (obj, &v)); + if (SWIG_IsOK(res)) { + if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) { + if (val) *val = (char)(v); + } else { + res = SWIG_OverflowError; + } + } + } + return res; +} + + +SWIGINTERN int +SWIG_AsVal_short (PyObject * obj, short *val) +{ + long v; + int res = SWIG_AsVal_long (obj, &v); + if (SWIG_IsOK(res)) { + if ((v < SHRT_MIN || v > SHRT_MAX)) { + return SWIG_OverflowError; + } else { + if (val) *val = (short)(v); + } + } + return res; +} + + +SWIGINTERN int +SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val) +{ + unsigned long v; + int res = SWIG_AsVal_unsigned_SS_long (obj, &v); + if (SWIG_IsOK(res)) { + if ((v > UINT_MAX)) { + return SWIG_OverflowError; + } else { + if (val) *val = (unsigned int)(v); + } + } + return res; +} + +typedef struct { + char sync_state; + char slot_timeout; + int sub_message; +} aismsg_9_sotdma; + +typedef struct { + char sync_state; + int slot_inc; + char num_slots; + char keep_flag; +} aismsg_9_itdma; + +typedef struct { + char sync_state; + char slot_timeout; + int sub_message; +} aismsg_18_sotdma; + +typedef struct { + char sync_state; + int slot_inc; + char num_slots; + char keep_flag; +} aismsg_18_itdma; + +#ifdef __cplusplus +extern "C" { +#endif +SWIGINTERN PyObject *_wrap_pos2ddd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + long arg1 ; + long arg2 ; + double *arg3 = (double *) 0 ; + double *arg4 = (double *) 0 ; + long val1 ; + int ecode1 = 0 ; + long val2 ; + int ecode2 = 0 ; + double temp3 ; + int res3 = SWIG_TMPOBJ ; + double temp4 ; + int res4 = SWIG_TMPOBJ ; + PyObject *swig_obj[2] ; + int result; + + arg3 = &temp3; + arg4 = &temp4; + if (!SWIG_Python_UnpackTuple(args, "pos2ddd", 2, 2, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pos2ddd" "', argument " "1"" of type '" "long""'"); + } + arg1 = (long)(val1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pos2ddd" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + result = (int)pos2ddd(arg1,arg2,arg3,arg4); + resultobj = SWIG_From_int((int)(result)); + if (SWIG_IsTmpObj(res3)) { + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3))); + } else { + int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags)); + } + if (SWIG_IsTmpObj(res4)) { + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4))); + } else { + int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags)); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pos2dmm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + long arg1 ; + long arg2 ; + short *arg3 = (short *) 0 ; + double *arg4 = (double *) 0 ; + short *arg5 = (short *) 0 ; + double *arg6 = (double *) 0 ; + long val1 ; + int ecode1 = 0 ; + long val2 ; + int ecode2 = 0 ; + short temp3 ; + int res3 = SWIG_TMPOBJ ; + double temp4 ; + int res4 = SWIG_TMPOBJ ; + short temp5 ; + int res5 = SWIG_TMPOBJ ; + double temp6 ; + int res6 = SWIG_TMPOBJ ; + PyObject *swig_obj[2] ; + int result; + + arg3 = &temp3; + arg4 = &temp4; + arg5 = &temp5; + arg6 = &temp6; + if (!SWIG_Python_UnpackTuple(args, "pos2dmm", 2, 2, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pos2dmm" "', argument " "1"" of type '" "long""'"); + } + arg1 = (long)(val1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pos2dmm" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + result = (int)pos2dmm(arg1,arg2,arg3,arg4,arg5,arg6); + resultobj = SWIG_From_int((int)(result)); + if (SWIG_IsTmpObj(res3)) { + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_short((*arg3))); + } else { + int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_short, new_flags)); + } + if (SWIG_IsTmpObj(res4)) { + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4))); + } else { + int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags)); + } + if (SWIG_IsTmpObj(res5)) { + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_short((*arg5))); + } else { + int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ; + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_short, new_flags)); + } + if (SWIG_IsTmpObj(res6)) { + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg6))); + } else { + int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ; + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, new_flags)); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_nmea_state_search_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + nmea_state *arg1 = (nmea_state *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "nmea_state_search_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_nmea_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "nmea_state_search_set" "', argument " "1"" of type '" "nmea_state *""'"); + } + arg1 = (nmea_state *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "nmea_state_search_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->search = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_nmea_state_search_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + nmea_state *arg1 = (nmea_state *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_nmea_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "nmea_state_search_get" "', argument " "1"" of type '" "nmea_state *""'"); + } + arg1 = (nmea_state *)(argp1); + result = (unsigned char) ((arg1)->search); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_nmea_state_field_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + nmea_state *arg1 = (nmea_state *) 0 ; + char **arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "nmea_state_field_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_nmea_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "nmea_state_field_set" "', argument " "1"" of type '" "nmea_state *""'"); + } + arg1 = (nmea_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_p_char, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "nmea_state_field_set" "', argument " "2"" of type '" "char *[50]""'"); + } + arg2 = (char **)(argp2); + { + if (arg2) { + size_t ii = 0; + for (; ii < (size_t)50; ++ii) *(char * *)&arg1->field[ii] = *((char * *)arg2 + ii); + } else { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""field""' of type '""char *[50]""'"); + } + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_nmea_state_field_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + nmea_state *arg1 = (nmea_state *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char **result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_nmea_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "nmea_state_field_get" "', argument " "1"" of type '" "nmea_state *""'"); + } + arg1 = (nmea_state *)(argp1); + result = (char **)(char **) ((arg1)->field); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_char, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_nmea_state_str_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + nmea_state *arg1 = (nmea_state *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[255] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "nmea_state_str_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_nmea_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "nmea_state_str_set" "', argument " "1"" of type '" "nmea_state *""'"); + } + arg1 = (nmea_state *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 255); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "nmea_state_str_set" "', argument " "2"" of type '" "char [255]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->str,arg2,255*sizeof(char)); + else memset(arg1->str,0,255*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_nmea_state_str_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + nmea_state *arg1 = (nmea_state *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_nmea_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "nmea_state_str_get" "', argument " "1"" of type '" "nmea_state *""'"); + } + arg1 = (nmea_state *)(argp1); + result = (char *)(char *) ((arg1)->str); + { + size_t size = SWIG_strnlen(result, 255); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_nmea_state_str_len_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + nmea_state *arg1 = (nmea_state *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "nmea_state_str_len_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_nmea_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "nmea_state_str_len_set" "', argument " "1"" of type '" "nmea_state *""'"); + } + arg1 = (nmea_state *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "nmea_state_str_len_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->str_len = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_nmea_state_str_len_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + nmea_state *arg1 = (nmea_state *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_nmea_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "nmea_state_str_len_get" "', argument " "1"" of type '" "nmea_state *""'"); + } + arg1 = (nmea_state *)(argp1); + result = (unsigned long) ((arg1)->str_len); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_nmea_state(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + nmea_state *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_nmea_state", 0, 0, 0)) SWIG_fail; + result = (nmea_state *)calloc(1, sizeof(nmea_state)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_nmea_state, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_nmea_state(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + nmea_state *arg1 = (nmea_state *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_nmea_state, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_nmea_state" "', argument " "1"" of type '" "nmea_state *""'"); + } + arg1 = (nmea_state *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *nmea_state_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_nmea_state, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *nmea_state_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_check_nmea_checksum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + char *arg1 = (char *) 0 ; + unsigned char *arg2 = (unsigned char *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + unsigned int result; + + if (!SWIG_Python_UnpackTuple(args, "check_nmea_checksum", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "check_nmea_checksum" "', argument " "1"" of type '" "char *""'"); + } + arg1 = (char *)(buf1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "check_nmea_checksum" "', argument " "2"" of type '" "unsigned char *""'"); + } + arg2 = (unsigned char *)(argp2); + result = (unsigned int)check_nmea_checksum(arg1,arg2); + resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return resultobj; +fail: + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return NULL; +} + + +SWIGINTERN PyObject *_wrap_nmea_checksum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + char *arg1 = (char *) 0 ; + unsigned char *arg2 = (unsigned char *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + unsigned int result; + + if (!SWIG_Python_UnpackTuple(args, "nmea_checksum", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "nmea_checksum" "', argument " "1"" of type '" "char *""'"); + } + arg1 = (char *)(buf1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "nmea_checksum" "', argument " "2"" of type '" "unsigned char *""'"); + } + arg2 = (unsigned char *)(argp2); + result = (unsigned int)nmea_checksum(arg1,arg2); + resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return resultobj; +fail: + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return NULL; +} + + +SWIGINTERN PyObject *_wrap_find_nmea_start(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + char *arg1 = (char *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "find_nmea_start" "', argument " "1"" of type '" "char *""'"); + } + arg1 = (char *)(buf1); + result = (char *)find_nmea_start(arg1); + resultobj = SWIG_FromCharPtr((const char *)result); + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return resultobj; +fail: + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return NULL; +} + + +SWIGINTERN PyObject *_wrap_ahextobin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + char *arg1 = (char *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ahextobin" "', argument " "1"" of type '" "char *""'"); + } + arg1 = (char *)(buf1); + result = (char)ahextobin(arg1); + resultobj = SWIG_From_char((char)(result)); + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return resultobj; +fail: + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return NULL; +} + + +SWIGINTERN PyObject *_wrap_nmea_next_field(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + char *arg1 = (char *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "nmea_next_field" "', argument " "1"" of type '" "char *""'"); + } + arg1 = (char *)(buf1); + result = (char *)nmea_next_field(arg1); + resultobj = SWIG_FromCharPtr((const char *)result); + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return resultobj; +fail: + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return NULL; +} + + +SWIGINTERN PyObject *_wrap_nmea_uint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + char *arg1 = (char *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "nmea_uint" "', argument " "1"" of type '" "char *""'"); + } + arg1 = (char *)(buf1); + result = (unsigned int)nmea_uint(arg1); + resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return resultobj; +fail: + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + return NULL; +} + + +SWIGINTERN PyObject *_wrap_nmea_copy_field(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + char *arg1 = (char *) 0 ; + char *arg2 = (char *) 0 ; + int arg3 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + int val3 ; + int ecode3 = 0 ; + PyObject *swig_obj[3] ; + char *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "nmea_copy_field", 3, 3, swig_obj)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "nmea_copy_field" "', argument " "1"" of type '" "char *""'"); + } + arg1 = (char *)(buf1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "nmea_copy_field" "', argument " "2"" of type '" "char *""'"); + } + arg2 = (char *)(buf2); + ecode3 = SWIG_AsVal_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "nmea_copy_field" "', argument " "3"" of type '" "int""'"); + } + arg3 = (int)(val3); + result = (char *)nmea_copy_field(arg1,arg2,arg3); + resultobj = SWIG_FromCharPtr((const char *)result); + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + return resultobj; +fail: + if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + return NULL; +} + + +SWIGINTERN PyObject *_wrap_sixbit_bits_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[255] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "sixbit_bits_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sixbit_bits_set" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 255); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sixbit_bits_set" "', argument " "2"" of type '" "char [255]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->bits,arg2,255*sizeof(char)); + else memset(arg1->bits,0,255*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_sixbit_bits_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sixbit_bits_get" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + result = (char *)(char *) ((arg1)->bits); + { + size_t size = SWIG_strnlen(result, 255); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_sixbit_p_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + char *arg2 = (char *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "sixbit_p_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sixbit_p_set" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sixbit_p_set" "', argument " "2"" of type '" "char *""'"); + } + arg2 = (char *)(buf2); + if (arg1->p) free((char*)arg1->p); + if (arg2) { + size_t size = strlen((const char *)(arg2)) + 1; + arg1->p = (char *)(char *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size)); + } else { + arg1->p = 0; + } + resultobj = SWIG_Py_Void(); + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + return resultobj; +fail: + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + return NULL; +} + + +SWIGINTERN PyObject *_wrap_sixbit_p_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sixbit_p_get" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + result = (char *) ((arg1)->p); + resultobj = SWIG_FromCharPtr((const char *)result); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_sixbit_remainder_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "sixbit_remainder_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sixbit_remainder_set" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sixbit_remainder_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->remainder = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_sixbit_remainder_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sixbit_remainder_get" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + result = (unsigned char) ((arg1)->remainder); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_sixbit_remainder_bits_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "sixbit_remainder_bits_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sixbit_remainder_bits_set" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sixbit_remainder_bits_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->remainder_bits = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_sixbit_remainder_bits_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sixbit_remainder_bits_get" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + result = (unsigned char) ((arg1)->remainder_bits); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_sixbit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_sixbit", 0, 0, 0)) SWIG_fail; + result = (sixbit *)calloc(1, sizeof(sixbit)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_sixbit, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_sixbit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_sixbit" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *sixbit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_sixbit, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *sixbit_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_binfrom6bit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + char arg1 ; + char val1 ; + int ecode1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + ecode1 = SWIG_AsVal_char(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "binfrom6bit" "', argument " "1"" of type '" "char""'"); + } + arg1 = (char)(val1); + result = (char)binfrom6bit(arg1); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_init_6bit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "init_6bit" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + result = (int)init_6bit(arg1); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_6bit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + short arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + short val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + unsigned long result; + + if (!SWIG_Python_UnpackTuple(args, "get_6bit", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_6bit" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + ecode2 = SWIG_AsVal_short(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "get_6bit" "', argument " "2"" of type '" "short""'"); + } + arg2 = (short)(val2); + result = (unsigned long)get_6bit(arg1,arg2); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_sixbit_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sixbit_length" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + result = (unsigned int)sixbit_length(arg1); + resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_binto6bit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + char arg1 ; + char val1 ; + int ecode1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + ecode1 = SWIG_AsVal_char(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "binto6bit" "', argument " "1"" of type '" "char""'"); + } + arg1 = (char)(val1); + result = (char)binto6bit(arg1); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_1_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_msgid_set" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_1_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_msgid_get" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_1_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_repeat_set" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_1_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_repeat_get" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_1_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_userid_set" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_1_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_userid_get" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_nav_status_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_1_nav_status_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_nav_status_set" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_1_nav_status_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->nav_status = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_nav_status_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_nav_status_get" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + result = (char) ((arg1)->nav_status); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_rot_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_1_rot_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_rot_set" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_1_rot_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->rot = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_rot_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_rot_get" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + result = (unsigned char) ((arg1)->rot); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_sog_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_1_sog_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_sog_set" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_1_sog_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->sog = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_sog_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_sog_get" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + result = (int) ((arg1)->sog); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_pos_acc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_1_pos_acc_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_pos_acc_set" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_1_pos_acc_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->pos_acc = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_pos_acc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_pos_acc_get" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + result = (char) ((arg1)->pos_acc); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_1_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_longitude_set" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_1_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_longitude_get" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_1_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_latitude_set" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_1_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_latitude_get" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_cog_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_1_cog_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_cog_set" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_1_cog_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->cog = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_cog_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_cog_get" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + result = (int) ((arg1)->cog); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_true_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_1_true_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_true_set" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_1_true_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->true = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_true_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_true_get" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + result = (int) ((arg1)->true); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_utc_sec_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_1_utc_sec_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_utc_sec_set" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_1_utc_sec_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->utc_sec = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_utc_sec_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_utc_sec_get" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + result = (char) ((arg1)->utc_sec); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_regional_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_1_regional_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_regional_set" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_1_regional_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->regional = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_regional_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_regional_get" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + result = (char) ((arg1)->regional); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_1_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_spare_set" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_1_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_spare_get" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_raim_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_1_raim_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_raim_set" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_1_raim_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->raim = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_raim_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_raim_get" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + result = (char) ((arg1)->raim); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_sync_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_1_sync_state_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_sync_state_set" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_1_sync_state_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->sync_state = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_sync_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_sync_state_get" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + result = (char) ((arg1)->sync_state); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_slot_timeout_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_1_slot_timeout_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_slot_timeout_set" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_1_slot_timeout_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->slot_timeout = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_slot_timeout_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_slot_timeout_get" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + result = (char) ((arg1)->slot_timeout); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_sub_message_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_1_sub_message_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_sub_message_set" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_1_sub_message_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->sub_message = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_1_sub_message_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_1_sub_message_get" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + result = (int) ((arg1)->sub_message); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_1", 0, 0, 0)) SWIG_fail; + result = (aismsg_1 *)calloc(1, sizeof(aismsg_1)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_1, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_1 *arg1 = (aismsg_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_1, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_1" "', argument " "1"" of type '" "aismsg_1 *""'"); + } + arg1 = (aismsg_1 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_1_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_1, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_1_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_2_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_2_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_msgid_set" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_2_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_msgid_get" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_2_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_repeat_set" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_2_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_repeat_get" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_2_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_userid_set" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_2_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_userid_get" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_nav_status_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_2_nav_status_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_nav_status_set" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_2_nav_status_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->nav_status = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_nav_status_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_nav_status_get" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + result = (char) ((arg1)->nav_status); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_rot_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_2_rot_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_rot_set" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_2_rot_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->rot = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_rot_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_rot_get" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + result = (unsigned char) ((arg1)->rot); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_sog_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_2_sog_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_sog_set" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_2_sog_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->sog = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_sog_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_sog_get" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + result = (int) ((arg1)->sog); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_pos_acc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_2_pos_acc_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_pos_acc_set" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_2_pos_acc_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->pos_acc = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_pos_acc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_pos_acc_get" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + result = (char) ((arg1)->pos_acc); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_2_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_longitude_set" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_2_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_longitude_get" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_2_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_latitude_set" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_2_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_latitude_get" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_cog_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_2_cog_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_cog_set" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_2_cog_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->cog = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_cog_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_cog_get" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + result = (int) ((arg1)->cog); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_true_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_2_true_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_true_set" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_2_true_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->true = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_true_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_true_get" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + result = (int) ((arg1)->true); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_utc_sec_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_2_utc_sec_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_utc_sec_set" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_2_utc_sec_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->utc_sec = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_utc_sec_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_utc_sec_get" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + result = (char) ((arg1)->utc_sec); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_regional_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_2_regional_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_regional_set" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_2_regional_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->regional = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_regional_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_regional_get" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + result = (char) ((arg1)->regional); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_2_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_spare_set" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_2_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_spare_get" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_raim_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_2_raim_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_raim_set" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_2_raim_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->raim = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_raim_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_raim_get" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + result = (char) ((arg1)->raim); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_sync_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_2_sync_state_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_sync_state_set" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_2_sync_state_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->sync_state = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_sync_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_sync_state_get" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + result = (char) ((arg1)->sync_state); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_slot_timeout_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_2_slot_timeout_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_slot_timeout_set" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_2_slot_timeout_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->slot_timeout = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_slot_timeout_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_slot_timeout_get" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + result = (char) ((arg1)->slot_timeout); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_sub_message_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_2_sub_message_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_sub_message_set" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_2_sub_message_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->sub_message = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_2_sub_message_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_2_sub_message_get" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + result = (int) ((arg1)->sub_message); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_2", 0, 0, 0)) SWIG_fail; + result = (aismsg_2 *)calloc(1, sizeof(aismsg_2)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_2, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_2 *arg1 = (aismsg_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_2, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_2" "', argument " "1"" of type '" "aismsg_2 *""'"); + } + arg1 = (aismsg_2 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_2, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_2_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_3_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_3_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_msgid_set" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_3_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_msgid_get" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_3_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_repeat_set" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_3_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_repeat_get" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_3_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_userid_set" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_3_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_userid_get" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_nav_status_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_3_nav_status_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_nav_status_set" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_3_nav_status_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->nav_status = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_nav_status_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_nav_status_get" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + result = (char) ((arg1)->nav_status); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_rot_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_3_rot_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_rot_set" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_3_rot_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->rot = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_rot_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_rot_get" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + result = (unsigned char) ((arg1)->rot); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_sog_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_3_sog_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_sog_set" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_3_sog_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->sog = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_sog_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_sog_get" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + result = (int) ((arg1)->sog); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_pos_acc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_3_pos_acc_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_pos_acc_set" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_3_pos_acc_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->pos_acc = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_pos_acc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_pos_acc_get" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + result = (char) ((arg1)->pos_acc); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_3_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_longitude_set" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_3_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_longitude_get" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_3_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_latitude_set" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_3_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_latitude_get" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_cog_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_3_cog_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_cog_set" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_3_cog_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->cog = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_cog_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_cog_get" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + result = (int) ((arg1)->cog); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_true_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_3_true_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_true_set" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_3_true_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->true = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_true_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_true_get" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + result = (int) ((arg1)->true); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_utc_sec_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_3_utc_sec_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_utc_sec_set" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_3_utc_sec_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->utc_sec = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_utc_sec_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_utc_sec_get" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + result = (char) ((arg1)->utc_sec); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_regional_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_3_regional_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_regional_set" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_3_regional_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->regional = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_regional_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_regional_get" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + result = (char) ((arg1)->regional); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_3_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_spare_set" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_3_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_spare_get" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_raim_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_3_raim_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_raim_set" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_3_raim_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->raim = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_raim_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_raim_get" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + result = (char) ((arg1)->raim); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_sync_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_3_sync_state_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_sync_state_set" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_3_sync_state_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->sync_state = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_sync_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_sync_state_get" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + result = (char) ((arg1)->sync_state); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_slot_increment_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_3_slot_increment_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_slot_increment_set" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_3_slot_increment_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->slot_increment = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_slot_increment_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_slot_increment_get" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + result = (int) ((arg1)->slot_increment); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_num_slots_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_3_num_slots_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_num_slots_set" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_3_num_slots_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->num_slots = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_num_slots_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_num_slots_get" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + result = (char) ((arg1)->num_slots); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_keep_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_3_keep_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_keep_set" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_3_keep_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->keep = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_3_keep_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_3_keep_get" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + result = (char) ((arg1)->keep); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_3", 0, 0, 0)) SWIG_fail; + result = (aismsg_3 *)calloc(1, sizeof(aismsg_3)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_3, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_3 *arg1 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_3, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_3" "', argument " "1"" of type '" "aismsg_3 *""'"); + } + arg1 = (aismsg_3 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_3, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_3_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_4_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_4_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_msgid_set" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_4_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_msgid_get" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_4_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_repeat_set" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_4_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_repeat_get" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_4_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_userid_set" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_4_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_userid_get" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_utc_year_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_4_utc_year_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_utc_year_set" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_4_utc_year_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->utc_year = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_utc_year_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_utc_year_get" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + result = (int) ((arg1)->utc_year); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_utc_month_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_4_utc_month_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_utc_month_set" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_4_utc_month_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->utc_month = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_utc_month_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_utc_month_get" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + result = (char) ((arg1)->utc_month); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_utc_day_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_4_utc_day_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_utc_day_set" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_4_utc_day_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->utc_day = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_utc_day_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_utc_day_get" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + result = (char) ((arg1)->utc_day); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_utc_hour_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_4_utc_hour_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_utc_hour_set" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_4_utc_hour_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->utc_hour = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_utc_hour_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_utc_hour_get" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + result = (char) ((arg1)->utc_hour); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_utc_minute_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_4_utc_minute_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_utc_minute_set" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_4_utc_minute_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->utc_minute = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_utc_minute_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_utc_minute_get" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + result = (char) ((arg1)->utc_minute); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_utc_second_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_4_utc_second_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_utc_second_set" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_4_utc_second_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->utc_second = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_utc_second_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_utc_second_get" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + result = (char) ((arg1)->utc_second); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_pos_acc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_4_pos_acc_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_pos_acc_set" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_4_pos_acc_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->pos_acc = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_pos_acc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_pos_acc_get" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + result = (char) ((arg1)->pos_acc); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_4_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_longitude_set" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_4_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_longitude_get" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_4_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_latitude_set" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_4_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_latitude_get" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_pos_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_4_pos_type_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_pos_type_set" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_4_pos_type_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->pos_type = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_pos_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_pos_type_get" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + result = (char) ((arg1)->pos_type); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_4_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_spare_set" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_4_spare_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_spare_get" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + result = (int) ((arg1)->spare); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_raim_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_4_raim_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_raim_set" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_4_raim_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->raim = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_raim_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_raim_get" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + result = (char) ((arg1)->raim); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_sync_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_4_sync_state_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_sync_state_set" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_4_sync_state_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->sync_state = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_sync_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_sync_state_get" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + result = (char) ((arg1)->sync_state); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_slot_timeout_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_4_slot_timeout_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_slot_timeout_set" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_4_slot_timeout_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->slot_timeout = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_slot_timeout_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_slot_timeout_get" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + result = (char) ((arg1)->slot_timeout); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_sub_message_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_4_sub_message_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_sub_message_set" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_4_sub_message_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->sub_message = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_4_sub_message_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_4_sub_message_get" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + result = (int) ((arg1)->sub_message); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_4", 0, 0, 0)) SWIG_fail; + result = (aismsg_4 *)calloc(1, sizeof(aismsg_4)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_4, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_4 *arg1 = (aismsg_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_4, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_4" "', argument " "1"" of type '" "aismsg_4 *""'"); + } + arg1 = (aismsg_4 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_4_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_4, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_4_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_5_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_5_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_msgid_set" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_5_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_msgid_get" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_5_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_repeat_set" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_5_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_repeat_get" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_5_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_userid_set" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_5_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_userid_get" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_version_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_5_version_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_version_set" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_5_version_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->version = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_version_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_version_get" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + result = (char) ((arg1)->version); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_imo_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_5_imo_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_imo_set" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_5_imo_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->imo = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_imo_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_imo_get" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + result = (unsigned long) ((arg1)->imo); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_callsign_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[8] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_5_callsign_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_callsign_set" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 8); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "aismsg_5_callsign_set" "', argument " "2"" of type '" "char [8]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->callsign,arg2,8*sizeof(char)); + else memset(arg1->callsign,0,8*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_callsign_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_callsign_get" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + result = (char *)(char *) ((arg1)->callsign); + { + size_t size = SWIG_strnlen(result, 8); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[21] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_5_name_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_name_set" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 21); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "aismsg_5_name_set" "', argument " "2"" of type '" "char [21]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->name,arg2,21*sizeof(char)); + else memset(arg1->name,0,21*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_name_get" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + result = (char *)(char *) ((arg1)->name); + { + size_t size = SWIG_strnlen(result, 21); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_ship_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_5_ship_type_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_ship_type_set" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_5_ship_type_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->ship_type = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_ship_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_ship_type_get" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + result = (unsigned char) ((arg1)->ship_type); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_dim_bow_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_5_dim_bow_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_dim_bow_set" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_5_dim_bow_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->dim_bow = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_dim_bow_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_dim_bow_get" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + result = (int) ((arg1)->dim_bow); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_dim_stern_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_5_dim_stern_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_dim_stern_set" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_5_dim_stern_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->dim_stern = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_dim_stern_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_dim_stern_get" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + result = (int) ((arg1)->dim_stern); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_dim_port_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_5_dim_port_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_dim_port_set" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_5_dim_port_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->dim_port = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_dim_port_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_dim_port_get" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + result = (char) ((arg1)->dim_port); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_dim_starboard_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_5_dim_starboard_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_dim_starboard_set" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_5_dim_starboard_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->dim_starboard = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_dim_starboard_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_dim_starboard_get" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + result = (char) ((arg1)->dim_starboard); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_pos_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_5_pos_type_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_pos_type_set" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_5_pos_type_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->pos_type = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_pos_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_pos_type_get" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + result = (char) ((arg1)->pos_type); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_eta_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_5_eta_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_eta_set" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_5_eta_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->eta = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_eta_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_eta_get" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + result = (unsigned long) ((arg1)->eta); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_draught_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_5_draught_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_draught_set" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_5_draught_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->draught = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_draught_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_draught_get" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + result = (unsigned char) ((arg1)->draught); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_dest_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[21] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_5_dest_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_dest_set" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 21); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "aismsg_5_dest_set" "', argument " "2"" of type '" "char [21]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->dest,arg2,21*sizeof(char)); + else memset(arg1->dest,0,21*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_dest_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_dest_get" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + result = (char *)(char *) ((arg1)->dest); + { + size_t size = SWIG_strnlen(result, 21); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_dte_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_5_dte_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_dte_set" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_5_dte_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->dte = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_dte_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_dte_get" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + result = (char) ((arg1)->dte); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_5_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_spare_set" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_5_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_5_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_5_spare_get" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_5", 0, 0, 0)) SWIG_fail; + result = (aismsg_5 *)calloc(1, sizeof(aismsg_5)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_5, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_5 *arg1 = (aismsg_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_5, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_5" "', argument " "1"" of type '" "aismsg_5 *""'"); + } + arg1 = (aismsg_5 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_5_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_5, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_5_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_6_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *arg1 = (aismsg_6 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_6_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_6_msgid_set" "', argument " "1"" of type '" "aismsg_6 *""'"); + } + arg1 = (aismsg_6 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_6_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_6_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *arg1 = (aismsg_6 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_6_msgid_get" "', argument " "1"" of type '" "aismsg_6 *""'"); + } + arg1 = (aismsg_6 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_6_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *arg1 = (aismsg_6 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_6_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_6_repeat_set" "', argument " "1"" of type '" "aismsg_6 *""'"); + } + arg1 = (aismsg_6 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_6_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_6_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *arg1 = (aismsg_6 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_6_repeat_get" "', argument " "1"" of type '" "aismsg_6 *""'"); + } + arg1 = (aismsg_6 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_6_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *arg1 = (aismsg_6 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_6_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_6_userid_set" "', argument " "1"" of type '" "aismsg_6 *""'"); + } + arg1 = (aismsg_6 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_6_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_6_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *arg1 = (aismsg_6 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_6_userid_get" "', argument " "1"" of type '" "aismsg_6 *""'"); + } + arg1 = (aismsg_6 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_6_sequence_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *arg1 = (aismsg_6 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_6_sequence_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_6_sequence_set" "', argument " "1"" of type '" "aismsg_6 *""'"); + } + arg1 = (aismsg_6 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_6_sequence_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->sequence = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_6_sequence_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *arg1 = (aismsg_6 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_6_sequence_get" "', argument " "1"" of type '" "aismsg_6 *""'"); + } + arg1 = (aismsg_6 *)(argp1); + result = (char) ((arg1)->sequence); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_6_destination_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *arg1 = (aismsg_6 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_6_destination_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_6_destination_set" "', argument " "1"" of type '" "aismsg_6 *""'"); + } + arg1 = (aismsg_6 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_6_destination_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->destination = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_6_destination_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *arg1 = (aismsg_6 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_6_destination_get" "', argument " "1"" of type '" "aismsg_6 *""'"); + } + arg1 = (aismsg_6 *)(argp1); + result = (unsigned long) ((arg1)->destination); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_6_retransmit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *arg1 = (aismsg_6 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_6_retransmit_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_6_retransmit_set" "', argument " "1"" of type '" "aismsg_6 *""'"); + } + arg1 = (aismsg_6 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_6_retransmit_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->retransmit = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_6_retransmit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *arg1 = (aismsg_6 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_6_retransmit_get" "', argument " "1"" of type '" "aismsg_6 *""'"); + } + arg1 = (aismsg_6 *)(argp1); + result = (char) ((arg1)->retransmit); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_6_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *arg1 = (aismsg_6 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_6_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_6_spare_set" "', argument " "1"" of type '" "aismsg_6 *""'"); + } + arg1 = (aismsg_6 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_6_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_6_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *arg1 = (aismsg_6 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_6_spare_get" "', argument " "1"" of type '" "aismsg_6 *""'"); + } + arg1 = (aismsg_6 *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_6_app_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *arg1 = (aismsg_6 *) 0 ; + unsigned int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_6_app_id_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_6_app_id_set" "', argument " "1"" of type '" "aismsg_6 *""'"); + } + arg1 = (aismsg_6 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_6_app_id_set" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = (unsigned int)(val2); + if (arg1) (arg1)->app_id = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_6_app_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *arg1 = (aismsg_6 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_6_app_id_get" "', argument " "1"" of type '" "aismsg_6 *""'"); + } + arg1 = (aismsg_6 *)(argp1); + result = (unsigned int) ((arg1)->app_id); + resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_6_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *arg1 = (aismsg_6 *) 0 ; + sixbit *arg2 = (sixbit *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_6_data_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_6_data_set" "', argument " "1"" of type '" "aismsg_6 *""'"); + } + arg1 = (aismsg_6 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "aismsg_6_data_set" "', argument " "2"" of type '" "sixbit *""'"); + } + arg2 = (sixbit *)(argp2); + if (arg1) (arg1)->data = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_6_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *arg1 = (aismsg_6 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + sixbit *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_6_data_get" "', argument " "1"" of type '" "aismsg_6 *""'"); + } + arg1 = (aismsg_6 *)(argp1); + result = (sixbit *)& ((arg1)->data); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_sixbit, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_6", 0, 0, 0)) SWIG_fail; + result = (aismsg_6 *)calloc(1, sizeof(aismsg_6)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_6, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *arg1 = (aismsg_6 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_6, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_6" "', argument " "1"" of type '" "aismsg_6 *""'"); + } + arg1 = (aismsg_6 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_6_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_6, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_6_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_7_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_7_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_msgid_set" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_7_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_msgid_get" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_7_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_repeat_set" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_7_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_repeat_get" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_7_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_userid_set" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_7_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_userid_get" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_7_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_spare_set" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_7_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_spare_get" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_destid_1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_7_destid_1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_destid_1_set" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_7_destid_1_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->destid_1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_destid_1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_destid_1_get" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + result = (unsigned long) ((arg1)->destid_1); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_sequence_1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_7_sequence_1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_sequence_1_set" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_7_sequence_1_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->sequence_1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_sequence_1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_sequence_1_get" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + result = (char) ((arg1)->sequence_1); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_destid_2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_7_destid_2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_destid_2_set" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_7_destid_2_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->destid_2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_destid_2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_destid_2_get" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + result = (unsigned long) ((arg1)->destid_2); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_sequence_2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_7_sequence_2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_sequence_2_set" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_7_sequence_2_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->sequence_2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_sequence_2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_sequence_2_get" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + result = (char) ((arg1)->sequence_2); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_destid_3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_7_destid_3_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_destid_3_set" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_7_destid_3_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->destid_3 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_destid_3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_destid_3_get" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + result = (unsigned long) ((arg1)->destid_3); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_sequence_3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_7_sequence_3_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_sequence_3_set" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_7_sequence_3_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->sequence_3 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_sequence_3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_sequence_3_get" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + result = (char) ((arg1)->sequence_3); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_destid_4_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_7_destid_4_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_destid_4_set" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_7_destid_4_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->destid_4 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_destid_4_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_destid_4_get" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + result = (unsigned long) ((arg1)->destid_4); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_sequence_4_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_7_sequence_4_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_sequence_4_set" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_7_sequence_4_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->sequence_4 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_sequence_4_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_sequence_4_get" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + result = (char) ((arg1)->sequence_4); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_num_acks_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_7_num_acks_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_num_acks_set" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_7_num_acks_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->num_acks = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_7_num_acks_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_7_num_acks_get" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + result = (char) ((arg1)->num_acks); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_7", 0, 0, 0)) SWIG_fail; + result = (aismsg_7 *)calloc(1, sizeof(aismsg_7)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_7, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_7 *arg1 = (aismsg_7 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_7, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_7" "', argument " "1"" of type '" "aismsg_7 *""'"); + } + arg1 = (aismsg_7 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_7_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_7, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_7_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_8_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_8 *arg1 = (aismsg_8 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_8_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_8, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_8_msgid_set" "', argument " "1"" of type '" "aismsg_8 *""'"); + } + arg1 = (aismsg_8 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_8_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_8_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_8 *arg1 = (aismsg_8 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_8, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_8_msgid_get" "', argument " "1"" of type '" "aismsg_8 *""'"); + } + arg1 = (aismsg_8 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_8_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_8 *arg1 = (aismsg_8 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_8_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_8, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_8_repeat_set" "', argument " "1"" of type '" "aismsg_8 *""'"); + } + arg1 = (aismsg_8 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_8_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_8_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_8 *arg1 = (aismsg_8 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_8, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_8_repeat_get" "', argument " "1"" of type '" "aismsg_8 *""'"); + } + arg1 = (aismsg_8 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_8_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_8 *arg1 = (aismsg_8 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_8_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_8, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_8_userid_set" "', argument " "1"" of type '" "aismsg_8 *""'"); + } + arg1 = (aismsg_8 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_8_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_8_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_8 *arg1 = (aismsg_8 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_8, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_8_userid_get" "', argument " "1"" of type '" "aismsg_8 *""'"); + } + arg1 = (aismsg_8 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_8_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_8 *arg1 = (aismsg_8 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_8_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_8, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_8_spare_set" "', argument " "1"" of type '" "aismsg_8 *""'"); + } + arg1 = (aismsg_8 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_8_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_8_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_8 *arg1 = (aismsg_8 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_8, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_8_spare_get" "', argument " "1"" of type '" "aismsg_8 *""'"); + } + arg1 = (aismsg_8 *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_8_app_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_8 *arg1 = (aismsg_8 *) 0 ; + unsigned int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_8_app_id_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_8, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_8_app_id_set" "', argument " "1"" of type '" "aismsg_8 *""'"); + } + arg1 = (aismsg_8 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_8_app_id_set" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = (unsigned int)(val2); + if (arg1) (arg1)->app_id = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_8_app_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_8 *arg1 = (aismsg_8 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_8, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_8_app_id_get" "', argument " "1"" of type '" "aismsg_8 *""'"); + } + arg1 = (aismsg_8 *)(argp1); + result = (unsigned int) ((arg1)->app_id); + resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_8_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_8 *arg1 = (aismsg_8 *) 0 ; + sixbit *arg2 = (sixbit *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_8_data_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_8, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_8_data_set" "', argument " "1"" of type '" "aismsg_8 *""'"); + } + arg1 = (aismsg_8 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "aismsg_8_data_set" "', argument " "2"" of type '" "sixbit *""'"); + } + arg2 = (sixbit *)(argp2); + if (arg1) (arg1)->data = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_8_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_8 *arg1 = (aismsg_8 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + sixbit *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_8, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_8_data_get" "', argument " "1"" of type '" "aismsg_8 *""'"); + } + arg1 = (aismsg_8 *)(argp1); + result = (sixbit *)& ((arg1)->data); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_sixbit, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_8 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_8", 0, 0, 0)) SWIG_fail; + result = (aismsg_8 *)calloc(1, sizeof(aismsg_8)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_8, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_8 *arg1 = (aismsg_8 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_8, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_8" "', argument " "1"" of type '" "aismsg_8 *""'"); + } + arg1 = (aismsg_8 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_8_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_8, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_8_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_9_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_msgid_set" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_msgid_get" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_repeat_set" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_repeat_get" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_userid_set" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_userid_get" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_altitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_altitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_altitude_set" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_altitude_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->altitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_altitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_altitude_get" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + result = (int) ((arg1)->altitude); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_sog_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_sog_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_sog_set" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_sog_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->sog = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_sog_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_sog_get" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + result = (int) ((arg1)->sog); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_pos_acc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_pos_acc_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_pos_acc_set" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_pos_acc_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->pos_acc = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_pos_acc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_pos_acc_get" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + result = (char) ((arg1)->pos_acc); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_longitude_set" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_longitude_get" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_latitude_set" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_latitude_get" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_cog_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_cog_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_cog_set" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_cog_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->cog = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_cog_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_cog_get" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + result = (int) ((arg1)->cog); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_utc_sec_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_utc_sec_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_utc_sec_set" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_utc_sec_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->utc_sec = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_utc_sec_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_utc_sec_get" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + result = (char) ((arg1)->utc_sec); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_regional_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_regional_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_regional_set" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_regional_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->regional = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_regional_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_regional_get" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + result = (unsigned char) ((arg1)->regional); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_dte_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_dte_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_dte_set" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_dte_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->dte = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_dte_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_dte_get" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + result = (char) ((arg1)->dte); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_spare_set" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_spare_get" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_assigned_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_assigned_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_assigned_set" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_assigned_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->assigned = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_assigned_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_assigned_get" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + result = (char) ((arg1)->assigned); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_raim_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_raim_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_raim_set" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_raim_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->raim = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_raim_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_raim_get" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + result = (char) ((arg1)->raim); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_comm_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_comm_state_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_comm_state_set" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_comm_state_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->comm_state = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_comm_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_comm_state_get" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + result = (char) ((arg1)->comm_state); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_sotdma_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + aismsg_9_sotdma *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_sotdma_get" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + result = (aismsg_9_sotdma *)& ((arg1)->sotdma); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_9_sotdma, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_itdma_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + aismsg_9_itdma *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_itdma_get" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + result = (aismsg_9_itdma *)& ((arg1)->itdma); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_9_itdma, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_9", 0, 0, 0)) SWIG_fail; + result = (aismsg_9 *)calloc(1, sizeof(aismsg_9)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_9, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9 *arg1 = (aismsg_9 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_9" "', argument " "1"" of type '" "aismsg_9 *""'"); + } + arg1 = (aismsg_9 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_9_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_9, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_9_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_9_itdma_sync_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9_itdma *arg1 = (aismsg_9_itdma *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_itdma_sync_state_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9_itdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_itdma_sync_state_set" "', argument " "1"" of type '" "aismsg_9_itdma *""'"); + } + arg1 = (aismsg_9_itdma *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_itdma_sync_state_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->sync_state = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_itdma_sync_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9_itdma *arg1 = (aismsg_9_itdma *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9_itdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_itdma_sync_state_get" "', argument " "1"" of type '" "aismsg_9_itdma *""'"); + } + arg1 = (aismsg_9_itdma *)(argp1); + result = (char) ((arg1)->sync_state); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_itdma_slot_inc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9_itdma *arg1 = (aismsg_9_itdma *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_itdma_slot_inc_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9_itdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_itdma_slot_inc_set" "', argument " "1"" of type '" "aismsg_9_itdma *""'"); + } + arg1 = (aismsg_9_itdma *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_itdma_slot_inc_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->slot_inc = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_itdma_slot_inc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9_itdma *arg1 = (aismsg_9_itdma *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9_itdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_itdma_slot_inc_get" "', argument " "1"" of type '" "aismsg_9_itdma *""'"); + } + arg1 = (aismsg_9_itdma *)(argp1); + result = (int) ((arg1)->slot_inc); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_itdma_num_slots_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9_itdma *arg1 = (aismsg_9_itdma *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_itdma_num_slots_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9_itdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_itdma_num_slots_set" "', argument " "1"" of type '" "aismsg_9_itdma *""'"); + } + arg1 = (aismsg_9_itdma *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_itdma_num_slots_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->num_slots = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_itdma_num_slots_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9_itdma *arg1 = (aismsg_9_itdma *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9_itdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_itdma_num_slots_get" "', argument " "1"" of type '" "aismsg_9_itdma *""'"); + } + arg1 = (aismsg_9_itdma *)(argp1); + result = (char) ((arg1)->num_slots); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_itdma_keep_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9_itdma *arg1 = (aismsg_9_itdma *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_itdma_keep_flag_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9_itdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_itdma_keep_flag_set" "', argument " "1"" of type '" "aismsg_9_itdma *""'"); + } + arg1 = (aismsg_9_itdma *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_itdma_keep_flag_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->keep_flag = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_itdma_keep_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9_itdma *arg1 = (aismsg_9_itdma *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9_itdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_itdma_keep_flag_get" "', argument " "1"" of type '" "aismsg_9_itdma *""'"); + } + arg1 = (aismsg_9_itdma *)(argp1); + result = (char) ((arg1)->keep_flag); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_9_itdma(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9_itdma *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_9_itdma", 0, 0, 0)) SWIG_fail; + result = (aismsg_9_itdma *)calloc(1, sizeof(aismsg_9_itdma)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_9_itdma, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_9_itdma(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9_itdma *arg1 = (aismsg_9_itdma *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9_itdma, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_9_itdma" "', argument " "1"" of type '" "aismsg_9_itdma *""'"); + } + arg1 = (aismsg_9_itdma *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_9_itdma_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_9_itdma, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_9_itdma_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_9_sotdma_sync_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9_sotdma *arg1 = (aismsg_9_sotdma *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_sotdma_sync_state_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9_sotdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_sotdma_sync_state_set" "', argument " "1"" of type '" "aismsg_9_sotdma *""'"); + } + arg1 = (aismsg_9_sotdma *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_sotdma_sync_state_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->sync_state = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_sotdma_sync_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9_sotdma *arg1 = (aismsg_9_sotdma *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9_sotdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_sotdma_sync_state_get" "', argument " "1"" of type '" "aismsg_9_sotdma *""'"); + } + arg1 = (aismsg_9_sotdma *)(argp1); + result = (char) ((arg1)->sync_state); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_sotdma_slot_timeout_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9_sotdma *arg1 = (aismsg_9_sotdma *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_sotdma_slot_timeout_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9_sotdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_sotdma_slot_timeout_set" "', argument " "1"" of type '" "aismsg_9_sotdma *""'"); + } + arg1 = (aismsg_9_sotdma *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_sotdma_slot_timeout_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->slot_timeout = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_sotdma_slot_timeout_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9_sotdma *arg1 = (aismsg_9_sotdma *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9_sotdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_sotdma_slot_timeout_get" "', argument " "1"" of type '" "aismsg_9_sotdma *""'"); + } + arg1 = (aismsg_9_sotdma *)(argp1); + result = (char) ((arg1)->slot_timeout); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_sotdma_sub_message_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9_sotdma *arg1 = (aismsg_9_sotdma *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_9_sotdma_sub_message_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9_sotdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_sotdma_sub_message_set" "', argument " "1"" of type '" "aismsg_9_sotdma *""'"); + } + arg1 = (aismsg_9_sotdma *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_9_sotdma_sub_message_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->sub_message = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_9_sotdma_sub_message_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9_sotdma *arg1 = (aismsg_9_sotdma *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9_sotdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_9_sotdma_sub_message_get" "', argument " "1"" of type '" "aismsg_9_sotdma *""'"); + } + arg1 = (aismsg_9_sotdma *)(argp1); + result = (int) ((arg1)->sub_message); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_9_sotdma(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9_sotdma *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_9_sotdma", 0, 0, 0)) SWIG_fail; + result = (aismsg_9_sotdma *)calloc(1, sizeof(aismsg_9_sotdma)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_9_sotdma, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_9_sotdma(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_9_sotdma *arg1 = (aismsg_9_sotdma *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_9_sotdma, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_9_sotdma" "', argument " "1"" of type '" "aismsg_9_sotdma *""'"); + } + arg1 = (aismsg_9_sotdma *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_9_sotdma_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_9_sotdma, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_9_sotdma_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_10_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_10 *arg1 = (aismsg_10 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_10_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_10, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_10_msgid_set" "', argument " "1"" of type '" "aismsg_10 *""'"); + } + arg1 = (aismsg_10 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_10_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_10_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_10 *arg1 = (aismsg_10 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_10, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_10_msgid_get" "', argument " "1"" of type '" "aismsg_10 *""'"); + } + arg1 = (aismsg_10 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_10_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_10 *arg1 = (aismsg_10 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_10_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_10, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_10_repeat_set" "', argument " "1"" of type '" "aismsg_10 *""'"); + } + arg1 = (aismsg_10 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_10_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_10_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_10 *arg1 = (aismsg_10 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_10, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_10_repeat_get" "', argument " "1"" of type '" "aismsg_10 *""'"); + } + arg1 = (aismsg_10 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_10_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_10 *arg1 = (aismsg_10 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_10_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_10, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_10_userid_set" "', argument " "1"" of type '" "aismsg_10 *""'"); + } + arg1 = (aismsg_10 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_10_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_10_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_10 *arg1 = (aismsg_10 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_10, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_10_userid_get" "', argument " "1"" of type '" "aismsg_10 *""'"); + } + arg1 = (aismsg_10 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_10_spare1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_10 *arg1 = (aismsg_10 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_10_spare1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_10, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_10_spare1_set" "', argument " "1"" of type '" "aismsg_10 *""'"); + } + arg1 = (aismsg_10 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_10_spare1_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_10_spare1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_10 *arg1 = (aismsg_10 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_10, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_10_spare1_get" "', argument " "1"" of type '" "aismsg_10 *""'"); + } + arg1 = (aismsg_10 *)(argp1); + result = (char) ((arg1)->spare1); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_10_destination_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_10 *arg1 = (aismsg_10 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_10_destination_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_10, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_10_destination_set" "', argument " "1"" of type '" "aismsg_10 *""'"); + } + arg1 = (aismsg_10 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_10_destination_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->destination = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_10_destination_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_10 *arg1 = (aismsg_10 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_10, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_10_destination_get" "', argument " "1"" of type '" "aismsg_10 *""'"); + } + arg1 = (aismsg_10 *)(argp1); + result = (unsigned long) ((arg1)->destination); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_10_spare2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_10 *arg1 = (aismsg_10 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_10_spare2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_10, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_10_spare2_set" "', argument " "1"" of type '" "aismsg_10 *""'"); + } + arg1 = (aismsg_10 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_10_spare2_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_10_spare2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_10 *arg1 = (aismsg_10 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_10, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_10_spare2_get" "', argument " "1"" of type '" "aismsg_10 *""'"); + } + arg1 = (aismsg_10 *)(argp1); + result = (char) ((arg1)->spare2); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_10 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_10", 0, 0, 0)) SWIG_fail; + result = (aismsg_10 *)calloc(1, sizeof(aismsg_10)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_10, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_10 *arg1 = (aismsg_10 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_10, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_10" "', argument " "1"" of type '" "aismsg_10 *""'"); + } + arg1 = (aismsg_10 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_10_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_10, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_10_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_11_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_11_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_msgid_set" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_11_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_msgid_get" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_11_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_repeat_set" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_11_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_repeat_get" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_11_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_userid_set" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_11_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_userid_get" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_utc_year_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_11_utc_year_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_utc_year_set" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_11_utc_year_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->utc_year = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_utc_year_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_utc_year_get" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + result = (int) ((arg1)->utc_year); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_utc_month_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_11_utc_month_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_utc_month_set" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_11_utc_month_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->utc_month = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_utc_month_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_utc_month_get" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + result = (char) ((arg1)->utc_month); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_utc_day_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_11_utc_day_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_utc_day_set" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_11_utc_day_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->utc_day = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_utc_day_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_utc_day_get" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + result = (char) ((arg1)->utc_day); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_utc_hour_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_11_utc_hour_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_utc_hour_set" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_11_utc_hour_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->utc_hour = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_utc_hour_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_utc_hour_get" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + result = (char) ((arg1)->utc_hour); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_utc_minute_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_11_utc_minute_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_utc_minute_set" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_11_utc_minute_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->utc_minute = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_utc_minute_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_utc_minute_get" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + result = (char) ((arg1)->utc_minute); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_utc_second_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_11_utc_second_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_utc_second_set" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_11_utc_second_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->utc_second = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_utc_second_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_utc_second_get" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + result = (char) ((arg1)->utc_second); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_pos_acc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_11_pos_acc_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_pos_acc_set" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_11_pos_acc_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->pos_acc = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_pos_acc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_pos_acc_get" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + result = (char) ((arg1)->pos_acc); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_11_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_longitude_set" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_11_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_longitude_get" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_11_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_latitude_set" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_11_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_latitude_get" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_pos_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_11_pos_type_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_pos_type_set" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_11_pos_type_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->pos_type = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_pos_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_pos_type_get" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + result = (char) ((arg1)->pos_type); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_11_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_spare_set" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_11_spare_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_spare_get" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + result = (int) ((arg1)->spare); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_raim_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_11_raim_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_raim_set" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_11_raim_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->raim = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_raim_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_raim_get" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + result = (char) ((arg1)->raim); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_sync_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_11_sync_state_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_sync_state_set" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_11_sync_state_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->sync_state = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_sync_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_sync_state_get" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + result = (char) ((arg1)->sync_state); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_slot_timeout_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_11_slot_timeout_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_slot_timeout_set" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_11_slot_timeout_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->slot_timeout = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_slot_timeout_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_slot_timeout_get" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + result = (char) ((arg1)->slot_timeout); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_sub_message_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_11_sub_message_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_sub_message_set" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_11_sub_message_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->sub_message = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_11_sub_message_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_11_sub_message_get" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + result = (int) ((arg1)->sub_message); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_11", 0, 0, 0)) SWIG_fail; + result = (aismsg_11 *)calloc(1, sizeof(aismsg_11)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_11, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_11 *arg1 = (aismsg_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_11, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_11" "', argument " "1"" of type '" "aismsg_11 *""'"); + } + arg1 = (aismsg_11 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_11_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_11, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_11_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_12_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_12 *arg1 = (aismsg_12 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_12_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_12_msgid_set" "', argument " "1"" of type '" "aismsg_12 *""'"); + } + arg1 = (aismsg_12 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_12_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_12_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_12 *arg1 = (aismsg_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_12_msgid_get" "', argument " "1"" of type '" "aismsg_12 *""'"); + } + arg1 = (aismsg_12 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_12_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_12 *arg1 = (aismsg_12 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_12_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_12_repeat_set" "', argument " "1"" of type '" "aismsg_12 *""'"); + } + arg1 = (aismsg_12 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_12_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_12_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_12 *arg1 = (aismsg_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_12_repeat_get" "', argument " "1"" of type '" "aismsg_12 *""'"); + } + arg1 = (aismsg_12 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_12_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_12 *arg1 = (aismsg_12 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_12_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_12_userid_set" "', argument " "1"" of type '" "aismsg_12 *""'"); + } + arg1 = (aismsg_12 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_12_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_12_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_12 *arg1 = (aismsg_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_12_userid_get" "', argument " "1"" of type '" "aismsg_12 *""'"); + } + arg1 = (aismsg_12 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_12_sequence_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_12 *arg1 = (aismsg_12 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_12_sequence_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_12_sequence_set" "', argument " "1"" of type '" "aismsg_12 *""'"); + } + arg1 = (aismsg_12 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_12_sequence_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->sequence = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_12_sequence_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_12 *arg1 = (aismsg_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_12_sequence_get" "', argument " "1"" of type '" "aismsg_12 *""'"); + } + arg1 = (aismsg_12 *)(argp1); + result = (char) ((arg1)->sequence); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_12_destination_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_12 *arg1 = (aismsg_12 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_12_destination_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_12_destination_set" "', argument " "1"" of type '" "aismsg_12 *""'"); + } + arg1 = (aismsg_12 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_12_destination_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->destination = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_12_destination_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_12 *arg1 = (aismsg_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_12_destination_get" "', argument " "1"" of type '" "aismsg_12 *""'"); + } + arg1 = (aismsg_12 *)(argp1); + result = (unsigned long) ((arg1)->destination); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_12_retransmit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_12 *arg1 = (aismsg_12 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_12_retransmit_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_12_retransmit_set" "', argument " "1"" of type '" "aismsg_12 *""'"); + } + arg1 = (aismsg_12 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_12_retransmit_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->retransmit = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_12_retransmit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_12 *arg1 = (aismsg_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_12_retransmit_get" "', argument " "1"" of type '" "aismsg_12 *""'"); + } + arg1 = (aismsg_12 *)(argp1); + result = (char) ((arg1)->retransmit); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_12_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_12 *arg1 = (aismsg_12 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_12_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_12_spare_set" "', argument " "1"" of type '" "aismsg_12 *""'"); + } + arg1 = (aismsg_12 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_12_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_12_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_12 *arg1 = (aismsg_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_12_spare_get" "', argument " "1"" of type '" "aismsg_12 *""'"); + } + arg1 = (aismsg_12 *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_12_message_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_12 *arg1 = (aismsg_12 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[158] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_12_message_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_12_message_set" "', argument " "1"" of type '" "aismsg_12 *""'"); + } + arg1 = (aismsg_12 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 158); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "aismsg_12_message_set" "', argument " "2"" of type '" "char [158]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->message,arg2,158*sizeof(char)); + else memset(arg1->message,0,158*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_12_message_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_12 *arg1 = (aismsg_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_12_message_get" "', argument " "1"" of type '" "aismsg_12 *""'"); + } + arg1 = (aismsg_12 *)(argp1); + result = (char *)(char *) ((arg1)->message); + { + size_t size = SWIG_strnlen(result, 158); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_12(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_12 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_12", 0, 0, 0)) SWIG_fail; + result = (aismsg_12 *)calloc(1, sizeof(aismsg_12)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_12, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_12(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_12 *arg1 = (aismsg_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_12, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_12" "', argument " "1"" of type '" "aismsg_12 *""'"); + } + arg1 = (aismsg_12 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_12_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_12, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_12_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_13_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_13_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_msgid_set" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_13_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_msgid_get" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_13_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_repeat_set" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_13_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_repeat_get" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_13_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_userid_set" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_13_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_userid_get" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_13_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_spare_set" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_13_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_spare_get" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_destid_1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_13_destid_1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_destid_1_set" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_13_destid_1_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->destid_1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_destid_1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_destid_1_get" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + result = (unsigned long) ((arg1)->destid_1); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_sequence_1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_13_sequence_1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_sequence_1_set" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_13_sequence_1_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->sequence_1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_sequence_1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_sequence_1_get" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + result = (char) ((arg1)->sequence_1); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_destid_2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_13_destid_2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_destid_2_set" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_13_destid_2_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->destid_2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_destid_2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_destid_2_get" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + result = (unsigned long) ((arg1)->destid_2); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_sequence_2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_13_sequence_2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_sequence_2_set" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_13_sequence_2_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->sequence_2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_sequence_2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_sequence_2_get" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + result = (char) ((arg1)->sequence_2); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_destid_3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_13_destid_3_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_destid_3_set" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_13_destid_3_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->destid_3 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_destid_3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_destid_3_get" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + result = (unsigned long) ((arg1)->destid_3); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_sequence_3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_13_sequence_3_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_sequence_3_set" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_13_sequence_3_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->sequence_3 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_sequence_3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_sequence_3_get" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + result = (char) ((arg1)->sequence_3); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_destid_4_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_13_destid_4_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_destid_4_set" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_13_destid_4_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->destid_4 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_destid_4_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_destid_4_get" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + result = (unsigned long) ((arg1)->destid_4); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_sequence_4_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_13_sequence_4_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_sequence_4_set" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_13_sequence_4_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->sequence_4 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_sequence_4_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_sequence_4_get" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + result = (char) ((arg1)->sequence_4); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_num_acks_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_13_num_acks_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_num_acks_set" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_13_num_acks_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->num_acks = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_13_num_acks_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_13_num_acks_get" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + result = (char) ((arg1)->num_acks); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_13(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_13", 0, 0, 0)) SWIG_fail; + result = (aismsg_13 *)calloc(1, sizeof(aismsg_13)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_13, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_13(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_13 *arg1 = (aismsg_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_13, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_13" "', argument " "1"" of type '" "aismsg_13 *""'"); + } + arg1 = (aismsg_13 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_13_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_13, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_13_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_14_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_14 *arg1 = (aismsg_14 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_14_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_14, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_14_msgid_set" "', argument " "1"" of type '" "aismsg_14 *""'"); + } + arg1 = (aismsg_14 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_14_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_14_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_14 *arg1 = (aismsg_14 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_14, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_14_msgid_get" "', argument " "1"" of type '" "aismsg_14 *""'"); + } + arg1 = (aismsg_14 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_14_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_14 *arg1 = (aismsg_14 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_14_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_14, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_14_repeat_set" "', argument " "1"" of type '" "aismsg_14 *""'"); + } + arg1 = (aismsg_14 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_14_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_14_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_14 *arg1 = (aismsg_14 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_14, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_14_repeat_get" "', argument " "1"" of type '" "aismsg_14 *""'"); + } + arg1 = (aismsg_14 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_14_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_14 *arg1 = (aismsg_14 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_14_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_14, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_14_userid_set" "', argument " "1"" of type '" "aismsg_14 *""'"); + } + arg1 = (aismsg_14 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_14_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_14_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_14 *arg1 = (aismsg_14 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_14, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_14_userid_get" "', argument " "1"" of type '" "aismsg_14 *""'"); + } + arg1 = (aismsg_14 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_14_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_14 *arg1 = (aismsg_14 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_14_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_14, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_14_spare_set" "', argument " "1"" of type '" "aismsg_14 *""'"); + } + arg1 = (aismsg_14 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_14_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_14_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_14 *arg1 = (aismsg_14 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_14, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_14_spare_get" "', argument " "1"" of type '" "aismsg_14 *""'"); + } + arg1 = (aismsg_14 *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_14_message_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_14 *arg1 = (aismsg_14 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[164] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_14_message_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_14, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_14_message_set" "', argument " "1"" of type '" "aismsg_14 *""'"); + } + arg1 = (aismsg_14 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 164); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "aismsg_14_message_set" "', argument " "2"" of type '" "char [164]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->message,arg2,164*sizeof(char)); + else memset(arg1->message,0,164*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_14_message_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_14 *arg1 = (aismsg_14 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_14, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_14_message_get" "', argument " "1"" of type '" "aismsg_14 *""'"); + } + arg1 = (aismsg_14 *)(argp1); + result = (char *)(char *) ((arg1)->message); + { + size_t size = SWIG_strnlen(result, 164); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_14(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_14 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_14", 0, 0, 0)) SWIG_fail; + result = (aismsg_14 *)calloc(1, sizeof(aismsg_14)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_14, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_14(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_14 *arg1 = (aismsg_14 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_14, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_14" "', argument " "1"" of type '" "aismsg_14 *""'"); + } + arg1 = (aismsg_14 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_14_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_14, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_14_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_15_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_15_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_msgid_set" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_15_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_msgid_get" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_15_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_repeat_set" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_15_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_repeat_get" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_15_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_userid_set" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_15_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_userid_get" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_spare1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_15_spare1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_spare1_set" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_15_spare1_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_spare1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_spare1_get" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + result = (char) ((arg1)->spare1); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_destid1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_15_destid1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_destid1_set" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_15_destid1_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->destid1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_destid1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_destid1_get" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + result = (unsigned long) ((arg1)->destid1); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_msgid1_1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_15_msgid1_1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_msgid1_1_set" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_15_msgid1_1_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid1_1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_msgid1_1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_msgid1_1_get" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + result = (char) ((arg1)->msgid1_1); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_offset1_1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_15_offset1_1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_offset1_1_set" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_15_offset1_1_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->offset1_1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_offset1_1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_offset1_1_get" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + result = (int) ((arg1)->offset1_1); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_spare2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_15_spare2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_spare2_set" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_15_spare2_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_spare2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_spare2_get" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + result = (char) ((arg1)->spare2); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_msgid1_2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_15_msgid1_2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_msgid1_2_set" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_15_msgid1_2_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid1_2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_msgid1_2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_msgid1_2_get" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + result = (char) ((arg1)->msgid1_2); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_offset1_2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_15_offset1_2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_offset1_2_set" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_15_offset1_2_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->offset1_2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_offset1_2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_offset1_2_get" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + result = (int) ((arg1)->offset1_2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_spare3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_15_spare3_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_spare3_set" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_15_spare3_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare3 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_spare3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_spare3_get" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + result = (char) ((arg1)->spare3); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_destid2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_15_destid2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_destid2_set" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_15_destid2_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->destid2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_destid2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_destid2_get" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + result = (unsigned long) ((arg1)->destid2); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_msgid2_1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_15_msgid2_1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_msgid2_1_set" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_15_msgid2_1_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid2_1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_msgid2_1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_msgid2_1_get" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + result = (char) ((arg1)->msgid2_1); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_offset2_1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_15_offset2_1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_offset2_1_set" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_15_offset2_1_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->offset2_1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_offset2_1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_offset2_1_get" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + result = (int) ((arg1)->offset2_1); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_spare4_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_15_spare4_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_spare4_set" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_15_spare4_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare4 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_spare4_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_spare4_get" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + result = (char) ((arg1)->spare4); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_num_reqs_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_15_num_reqs_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_num_reqs_set" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_15_num_reqs_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->num_reqs = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_15_num_reqs_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_15_num_reqs_get" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + result = (char) ((arg1)->num_reqs); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_15(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_15", 0, 0, 0)) SWIG_fail; + result = (aismsg_15 *)calloc(1, sizeof(aismsg_15)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_15, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_15(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_15 *arg1 = (aismsg_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_15, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_15" "', argument " "1"" of type '" "aismsg_15 *""'"); + } + arg1 = (aismsg_15 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_15_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_15, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_15_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_16_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_16_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_msgid_set" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_16_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_msgid_get" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_16_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_repeat_set" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_16_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_repeat_get" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_16_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_userid_set" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_16_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_userid_get" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_spare1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_16_spare1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_spare1_set" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_16_spare1_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_spare1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_spare1_get" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + result = (char) ((arg1)->spare1); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_destid_a_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_16_destid_a_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_destid_a_set" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_16_destid_a_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->destid_a = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_destid_a_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_destid_a_get" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + result = (unsigned long) ((arg1)->destid_a); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_offset_a_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_16_offset_a_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_offset_a_set" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_16_offset_a_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->offset_a = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_offset_a_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_offset_a_get" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + result = (int) ((arg1)->offset_a); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_increment_a_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_16_increment_a_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_increment_a_set" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_16_increment_a_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->increment_a = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_increment_a_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_increment_a_get" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + result = (int) ((arg1)->increment_a); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_destid_b_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_16_destid_b_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_destid_b_set" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_16_destid_b_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->destid_b = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_destid_b_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_destid_b_get" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + result = (unsigned long) ((arg1)->destid_b); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_offset_b_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_16_offset_b_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_offset_b_set" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_16_offset_b_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->offset_b = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_offset_b_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_offset_b_get" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + result = (int) ((arg1)->offset_b); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_increment_b_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_16_increment_b_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_increment_b_set" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_16_increment_b_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->increment_b = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_increment_b_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_increment_b_get" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + result = (int) ((arg1)->increment_b); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_spare2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_16_spare2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_spare2_set" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_16_spare2_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_spare2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_spare2_get" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + result = (char) ((arg1)->spare2); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_num_cmds_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_16_num_cmds_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_num_cmds_set" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_16_num_cmds_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->num_cmds = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_16_num_cmds_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_16_num_cmds_get" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + result = (char) ((arg1)->num_cmds); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_16(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_16", 0, 0, 0)) SWIG_fail; + result = (aismsg_16 *)calloc(1, sizeof(aismsg_16)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_16, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_16(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_16 *arg1 = (aismsg_16 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_16, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_16" "', argument " "1"" of type '" "aismsg_16 *""'"); + } + arg1 = (aismsg_16 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_16_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_16, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_16_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_17_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_17_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_msgid_set" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_17_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_msgid_get" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_17_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_repeat_set" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_17_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_repeat_get" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_17_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_userid_set" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_17_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_userid_get" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_spare1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_17_spare1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_spare1_set" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_17_spare1_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_spare1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_spare1_get" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + result = (char) ((arg1)->spare1); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_17_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_longitude_set" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_17_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_longitude_get" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_17_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_latitude_set" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_17_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_latitude_get" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_spare2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_17_spare2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_spare2_set" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_17_spare2_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_spare2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_spare2_get" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + result = (char) ((arg1)->spare2); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_msg_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_17_msg_type_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_msg_type_set" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_17_msg_type_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msg_type = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_msg_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_msg_type_get" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + result = (char) ((arg1)->msg_type); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_station_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_17_station_id_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_station_id_set" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_17_station_id_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->station_id = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_station_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_station_id_get" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + result = (int) ((arg1)->station_id); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_z_count_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_17_z_count_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_z_count_set" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_17_z_count_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->z_count = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_z_count_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_z_count_get" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + result = (int) ((arg1)->z_count); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_seq_num_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_17_seq_num_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_seq_num_set" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_17_seq_num_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->seq_num = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_seq_num_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_seq_num_get" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + result = (char) ((arg1)->seq_num); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_num_words_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_17_num_words_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_num_words_set" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_17_num_words_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->num_words = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_num_words_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_num_words_get" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + result = (char) ((arg1)->num_words); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_health_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_17_health_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_health_set" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_17_health_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->health = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_health_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_health_get" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + result = (char) ((arg1)->health); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + sixbit *arg2 = (sixbit *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_17_data_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_data_set" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "aismsg_17_data_set" "', argument " "2"" of type '" "sixbit *""'"); + } + arg2 = (sixbit *)(argp2); + if (arg1) (arg1)->data = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_17_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + sixbit *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_17_data_get" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + result = (sixbit *)& ((arg1)->data); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_sixbit, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_17(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_17", 0, 0, 0)) SWIG_fail; + result = (aismsg_17 *)calloc(1, sizeof(aismsg_17)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_17, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_17(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_17" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_17_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_17, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_17_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_18_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_msgid_set" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_msgid_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_repeat_set" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_repeat_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_userid_set" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_userid_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_regional1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_regional1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_regional1_set" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_regional1_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->regional1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_regional1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_regional1_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (unsigned char) ((arg1)->regional1); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_sog_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_sog_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_sog_set" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_sog_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->sog = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_sog_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_sog_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (int) ((arg1)->sog); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_pos_acc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_pos_acc_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_pos_acc_set" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_pos_acc_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->pos_acc = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_pos_acc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_pos_acc_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (char) ((arg1)->pos_acc); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_longitude_set" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_longitude_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_latitude_set" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_latitude_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_cog_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_cog_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_cog_set" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_cog_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->cog = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_cog_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_cog_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (int) ((arg1)->cog); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_true_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_true_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_true_set" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_true_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->true = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_true_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_true_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (int) ((arg1)->true); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_utc_sec_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_utc_sec_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_utc_sec_set" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_utc_sec_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->utc_sec = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_utc_sec_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_utc_sec_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (char) ((arg1)->utc_sec); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_regional2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_regional2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_regional2_set" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_regional2_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->regional2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_regional2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_regional2_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (char) ((arg1)->regional2); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_unit_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_unit_flag_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_unit_flag_set" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_unit_flag_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->unit_flag = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_unit_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_unit_flag_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (char) ((arg1)->unit_flag); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_display_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_display_flag_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_display_flag_set" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_display_flag_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->display_flag = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_display_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_display_flag_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (char) ((arg1)->display_flag); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_dsc_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_dsc_flag_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_dsc_flag_set" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_dsc_flag_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->dsc_flag = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_dsc_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_dsc_flag_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (char) ((arg1)->dsc_flag); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_band_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_band_flag_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_band_flag_set" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_band_flag_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->band_flag = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_band_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_band_flag_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (char) ((arg1)->band_flag); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_msg22_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_msg22_flag_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_msg22_flag_set" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_msg22_flag_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msg22_flag = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_msg22_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_msg22_flag_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (char) ((arg1)->msg22_flag); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_mode_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_mode_flag_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_mode_flag_set" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_mode_flag_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->mode_flag = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_mode_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_mode_flag_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (char) ((arg1)->mode_flag); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_raim_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_raim_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_raim_set" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_raim_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->raim = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_raim_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_raim_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (char) ((arg1)->raim); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_comm_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_comm_state_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_comm_state_set" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_comm_state_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->comm_state = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_comm_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_comm_state_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (char) ((arg1)->comm_state); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_sotdma_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + aismsg_18_sotdma *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_sotdma_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (aismsg_18_sotdma *)& ((arg1)->sotdma); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_18_sotdma, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_itdma_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + aismsg_18_itdma *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_itdma_get" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + result = (aismsg_18_itdma *)& ((arg1)->itdma); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_18_itdma, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_18(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_18", 0, 0, 0)) SWIG_fail; + result = (aismsg_18 *)calloc(1, sizeof(aismsg_18)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_18, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_18(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18 *arg1 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_18" "', argument " "1"" of type '" "aismsg_18 *""'"); + } + arg1 = (aismsg_18 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_18_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_18, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_18_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_18_itdma_sync_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18_itdma *arg1 = (aismsg_18_itdma *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_itdma_sync_state_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18_itdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_itdma_sync_state_set" "', argument " "1"" of type '" "aismsg_18_itdma *""'"); + } + arg1 = (aismsg_18_itdma *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_itdma_sync_state_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->sync_state = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_itdma_sync_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18_itdma *arg1 = (aismsg_18_itdma *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18_itdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_itdma_sync_state_get" "', argument " "1"" of type '" "aismsg_18_itdma *""'"); + } + arg1 = (aismsg_18_itdma *)(argp1); + result = (char) ((arg1)->sync_state); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_itdma_slot_inc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18_itdma *arg1 = (aismsg_18_itdma *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_itdma_slot_inc_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18_itdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_itdma_slot_inc_set" "', argument " "1"" of type '" "aismsg_18_itdma *""'"); + } + arg1 = (aismsg_18_itdma *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_itdma_slot_inc_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->slot_inc = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_itdma_slot_inc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18_itdma *arg1 = (aismsg_18_itdma *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18_itdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_itdma_slot_inc_get" "', argument " "1"" of type '" "aismsg_18_itdma *""'"); + } + arg1 = (aismsg_18_itdma *)(argp1); + result = (int) ((arg1)->slot_inc); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_itdma_num_slots_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18_itdma *arg1 = (aismsg_18_itdma *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_itdma_num_slots_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18_itdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_itdma_num_slots_set" "', argument " "1"" of type '" "aismsg_18_itdma *""'"); + } + arg1 = (aismsg_18_itdma *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_itdma_num_slots_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->num_slots = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_itdma_num_slots_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18_itdma *arg1 = (aismsg_18_itdma *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18_itdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_itdma_num_slots_get" "', argument " "1"" of type '" "aismsg_18_itdma *""'"); + } + arg1 = (aismsg_18_itdma *)(argp1); + result = (char) ((arg1)->num_slots); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_itdma_keep_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18_itdma *arg1 = (aismsg_18_itdma *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_itdma_keep_flag_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18_itdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_itdma_keep_flag_set" "', argument " "1"" of type '" "aismsg_18_itdma *""'"); + } + arg1 = (aismsg_18_itdma *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_itdma_keep_flag_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->keep_flag = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_itdma_keep_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18_itdma *arg1 = (aismsg_18_itdma *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18_itdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_itdma_keep_flag_get" "', argument " "1"" of type '" "aismsg_18_itdma *""'"); + } + arg1 = (aismsg_18_itdma *)(argp1); + result = (char) ((arg1)->keep_flag); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_18_itdma(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18_itdma *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_18_itdma", 0, 0, 0)) SWIG_fail; + result = (aismsg_18_itdma *)calloc(1, sizeof(aismsg_18_itdma)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_18_itdma, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_18_itdma(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18_itdma *arg1 = (aismsg_18_itdma *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18_itdma, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_18_itdma" "', argument " "1"" of type '" "aismsg_18_itdma *""'"); + } + arg1 = (aismsg_18_itdma *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_18_itdma_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_18_itdma, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_18_itdma_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_18_sotdma_sync_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18_sotdma *arg1 = (aismsg_18_sotdma *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_sotdma_sync_state_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18_sotdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_sotdma_sync_state_set" "', argument " "1"" of type '" "aismsg_18_sotdma *""'"); + } + arg1 = (aismsg_18_sotdma *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_sotdma_sync_state_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->sync_state = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_sotdma_sync_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18_sotdma *arg1 = (aismsg_18_sotdma *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18_sotdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_sotdma_sync_state_get" "', argument " "1"" of type '" "aismsg_18_sotdma *""'"); + } + arg1 = (aismsg_18_sotdma *)(argp1); + result = (char) ((arg1)->sync_state); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_sotdma_slot_timeout_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18_sotdma *arg1 = (aismsg_18_sotdma *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_sotdma_slot_timeout_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18_sotdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_sotdma_slot_timeout_set" "', argument " "1"" of type '" "aismsg_18_sotdma *""'"); + } + arg1 = (aismsg_18_sotdma *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_sotdma_slot_timeout_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->slot_timeout = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_sotdma_slot_timeout_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18_sotdma *arg1 = (aismsg_18_sotdma *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18_sotdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_sotdma_slot_timeout_get" "', argument " "1"" of type '" "aismsg_18_sotdma *""'"); + } + arg1 = (aismsg_18_sotdma *)(argp1); + result = (char) ((arg1)->slot_timeout); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_sotdma_sub_message_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18_sotdma *arg1 = (aismsg_18_sotdma *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_18_sotdma_sub_message_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18_sotdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_sotdma_sub_message_set" "', argument " "1"" of type '" "aismsg_18_sotdma *""'"); + } + arg1 = (aismsg_18_sotdma *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_18_sotdma_sub_message_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->sub_message = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_18_sotdma_sub_message_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18_sotdma *arg1 = (aismsg_18_sotdma *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18_sotdma, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_18_sotdma_sub_message_get" "', argument " "1"" of type '" "aismsg_18_sotdma *""'"); + } + arg1 = (aismsg_18_sotdma *)(argp1); + result = (int) ((arg1)->sub_message); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_18_sotdma(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18_sotdma *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_18_sotdma", 0, 0, 0)) SWIG_fail; + result = (aismsg_18_sotdma *)calloc(1, sizeof(aismsg_18_sotdma)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_18_sotdma, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_18_sotdma(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_18_sotdma *arg1 = (aismsg_18_sotdma *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_18_sotdma, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_18_sotdma" "', argument " "1"" of type '" "aismsg_18_sotdma *""'"); + } + arg1 = (aismsg_18_sotdma *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_18_sotdma_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_18_sotdma, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_18_sotdma_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_19_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_msgid_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_msgid_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_repeat_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_repeat_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_userid_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_userid_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_regional1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_regional1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_regional1_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_regional1_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->regional1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_regional1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_regional1_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (char) ((arg1)->regional1); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_sog_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_sog_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_sog_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_sog_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->sog = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_sog_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_sog_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (int) ((arg1)->sog); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_pos_acc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_pos_acc_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_pos_acc_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_pos_acc_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->pos_acc = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_pos_acc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_pos_acc_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (char) ((arg1)->pos_acc); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_longitude_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_longitude_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_latitude_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_latitude_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_cog_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_cog_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_cog_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_cog_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->cog = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_cog_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_cog_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (int) ((arg1)->cog); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_true_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_true_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_true_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_true_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->true = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_true_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_true_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (int) ((arg1)->true); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_utc_sec_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_utc_sec_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_utc_sec_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_utc_sec_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->utc_sec = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_utc_sec_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_utc_sec_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (char) ((arg1)->utc_sec); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_regional2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_regional2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_regional2_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_regional2_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->regional2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_regional2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_regional2_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (char) ((arg1)->regional2); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[21] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_name_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_name_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 21); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "aismsg_19_name_set" "', argument " "2"" of type '" "char [21]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->name,arg2,21*sizeof(char)); + else memset(arg1->name,0,21*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_name_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (char *)(char *) ((arg1)->name); + { + size_t size = SWIG_strnlen(result, 21); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_ship_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_ship_type_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_ship_type_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_ship_type_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->ship_type = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_ship_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_ship_type_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (unsigned char) ((arg1)->ship_type); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_dim_bow_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_dim_bow_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_dim_bow_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_dim_bow_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->dim_bow = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_dim_bow_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_dim_bow_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (int) ((arg1)->dim_bow); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_dim_stern_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_dim_stern_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_dim_stern_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_dim_stern_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->dim_stern = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_dim_stern_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_dim_stern_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (int) ((arg1)->dim_stern); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_dim_port_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_dim_port_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_dim_port_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_dim_port_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->dim_port = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_dim_port_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_dim_port_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (char) ((arg1)->dim_port); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_dim_starboard_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_dim_starboard_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_dim_starboard_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_dim_starboard_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->dim_starboard = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_dim_starboard_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_dim_starboard_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (char) ((arg1)->dim_starboard); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_pos_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_pos_type_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_pos_type_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_pos_type_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->pos_type = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_pos_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_pos_type_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (char) ((arg1)->pos_type); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_raim_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_raim_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_raim_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_raim_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->raim = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_raim_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_raim_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (char) ((arg1)->raim); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_dte_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_dte_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_dte_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_dte_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->dte = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_dte_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_dte_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (char) ((arg1)->dte); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_19_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_spare_set" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_19_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_19_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_19_spare_get" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_19(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_19", 0, 0, 0)) SWIG_fail; + result = (aismsg_19 *)calloc(1, sizeof(aismsg_19)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_19, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_19(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_19 *arg1 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_19, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_19" "', argument " "1"" of type '" "aismsg_19 *""'"); + } + arg1 = (aismsg_19 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_19_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_19, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_19_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_20_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_msgid_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_msgid_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_repeat_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_repeat_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_userid_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_userid_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_spare1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_spare1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_spare1_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_spare1_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_spare1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_spare1_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (char) ((arg1)->spare1); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_offset1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_offset1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_offset1_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_offset1_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->offset1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_offset1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_offset1_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (int) ((arg1)->offset1); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_slots1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_slots1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_slots1_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_slots1_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->slots1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_slots1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_slots1_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (char) ((arg1)->slots1); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_timeout1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_timeout1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_timeout1_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_timeout1_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->timeout1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_timeout1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_timeout1_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (char) ((arg1)->timeout1); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_increment1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_increment1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_increment1_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_increment1_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->increment1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_increment1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_increment1_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (int) ((arg1)->increment1); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_offset2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_offset2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_offset2_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_offset2_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->offset2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_offset2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_offset2_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (int) ((arg1)->offset2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_slots2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_slots2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_slots2_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_slots2_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->slots2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_slots2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_slots2_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (char) ((arg1)->slots2); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_timeout2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_timeout2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_timeout2_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_timeout2_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->timeout2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_timeout2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_timeout2_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (char) ((arg1)->timeout2); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_increment2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_increment2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_increment2_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_increment2_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->increment2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_increment2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_increment2_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (int) ((arg1)->increment2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_offset3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_offset3_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_offset3_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_offset3_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->offset3 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_offset3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_offset3_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (int) ((arg1)->offset3); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_slots3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_slots3_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_slots3_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_slots3_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->slots3 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_slots3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_slots3_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (char) ((arg1)->slots3); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_timeout3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_timeout3_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_timeout3_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_timeout3_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->timeout3 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_timeout3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_timeout3_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (char) ((arg1)->timeout3); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_increment3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_increment3_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_increment3_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_increment3_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->increment3 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_increment3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_increment3_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (int) ((arg1)->increment3); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_offset4_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_offset4_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_offset4_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_offset4_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->offset4 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_offset4_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_offset4_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (int) ((arg1)->offset4); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_slots4_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_slots4_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_slots4_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_slots4_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->slots4 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_slots4_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_slots4_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (char) ((arg1)->slots4); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_timeout4_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_timeout4_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_timeout4_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_timeout4_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->timeout4 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_timeout4_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_timeout4_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (char) ((arg1)->timeout4); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_increment4_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_increment4_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_increment4_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_increment4_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->increment4 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_increment4_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_increment4_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (int) ((arg1)->increment4); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_spare2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_spare2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_spare2_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_spare2_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_spare2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_spare2_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (char) ((arg1)->spare2); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_num_cmds_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_20_num_cmds_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_num_cmds_set" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_20_num_cmds_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->num_cmds = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_20_num_cmds_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_20_num_cmds_get" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + result = (char) ((arg1)->num_cmds); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_20(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_20", 0, 0, 0)) SWIG_fail; + result = (aismsg_20 *)calloc(1, sizeof(aismsg_20)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_20, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_20(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_20 *arg1 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_20, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_20" "', argument " "1"" of type '" "aismsg_20 *""'"); + } + arg1 = (aismsg_20 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_20_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_20, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_20_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_21_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_msgid_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_21_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_msgid_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_repeat_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_21_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_repeat_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_userid_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_21_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_userid_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_aton_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_aton_type_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_aton_type_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_21_aton_type_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->aton_type = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_aton_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_aton_type_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (char) ((arg1)->aton_type); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[21] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_name_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_name_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 21); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "aismsg_21_name_set" "', argument " "2"" of type '" "char [21]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->name,arg2,21*sizeof(char)); + else memset(arg1->name,0,21*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_name_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (char *)(char *) ((arg1)->name); + { + size_t size = SWIG_strnlen(result, 21); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_pos_acc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_pos_acc_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_pos_acc_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_21_pos_acc_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->pos_acc = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_pos_acc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_pos_acc_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (char) ((arg1)->pos_acc); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_longitude_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_21_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_longitude_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_latitude_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_21_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_latitude_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_dim_bow_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_dim_bow_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_dim_bow_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_21_dim_bow_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->dim_bow = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_dim_bow_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_dim_bow_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (int) ((arg1)->dim_bow); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_dim_stern_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_dim_stern_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_dim_stern_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_21_dim_stern_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->dim_stern = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_dim_stern_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_dim_stern_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (int) ((arg1)->dim_stern); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_dim_port_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_dim_port_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_dim_port_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_21_dim_port_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->dim_port = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_dim_port_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_dim_port_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (char) ((arg1)->dim_port); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_dim_starboard_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_dim_starboard_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_dim_starboard_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_21_dim_starboard_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->dim_starboard = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_dim_starboard_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_dim_starboard_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (char) ((arg1)->dim_starboard); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_pos_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_pos_type_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_pos_type_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_21_pos_type_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->pos_type = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_pos_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_pos_type_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (char) ((arg1)->pos_type); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_utc_sec_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_utc_sec_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_utc_sec_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_21_utc_sec_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->utc_sec = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_utc_sec_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_utc_sec_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (char) ((arg1)->utc_sec); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_off_position_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_off_position_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_off_position_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_21_off_position_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->off_position = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_off_position_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_off_position_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (char) ((arg1)->off_position); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_regional_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_regional_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_regional_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_21_regional_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->regional = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_regional_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_regional_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (unsigned char) ((arg1)->regional); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_raim_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_raim_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_raim_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_21_raim_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->raim = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_raim_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_raim_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (char) ((arg1)->raim); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_virtual_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_virtual_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_virtual_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_21_virtual_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->virtual = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_virtual_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_virtual_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (char) ((arg1)->virtual); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_assigned_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_assigned_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_assigned_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_21_assigned_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->assigned = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_assigned_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_assigned_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (char) ((arg1)->assigned); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_spare1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_spare1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_spare1_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_21_spare1_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_spare1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_spare1_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (char) ((arg1)->spare1); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_name_ext_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[16] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_name_ext_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_name_ext_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 16); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "aismsg_21_name_ext_set" "', argument " "2"" of type '" "char [16]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->name_ext,arg2,16*sizeof(char)); + else memset(arg1->name_ext,0,16*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_name_ext_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_name_ext_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (char *)(char *) ((arg1)->name_ext); + { + size_t size = SWIG_strnlen(result, 16); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_spare2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_21_spare2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_spare2_set" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_21_spare2_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_21_spare2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_21_spare2_get" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + result = (char) ((arg1)->spare2); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_21(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_21", 0, 0, 0)) SWIG_fail; + result = (aismsg_21 *)calloc(1, sizeof(aismsg_21)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_21, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_21(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_21 *arg1 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_21, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_21" "', argument " "1"" of type '" "aismsg_21 *""'"); + } + arg1 = (aismsg_21 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_21_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_21, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_21_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_22_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_22_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_msgid_set" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_22_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_msgid_get" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_22_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_repeat_set" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_22_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_repeat_get" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_22_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_userid_set" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_22_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_userid_get" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_spare1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_22_spare1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_spare1_set" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_22_spare1_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_spare1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_spare1_get" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + result = (char) ((arg1)->spare1); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_channel_a_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_22_channel_a_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_channel_a_set" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_22_channel_a_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->channel_a = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_channel_a_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_channel_a_get" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + result = (int) ((arg1)->channel_a); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_channel_b_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_22_channel_b_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_channel_b_set" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_22_channel_b_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->channel_b = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_channel_b_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_channel_b_get" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + result = (int) ((arg1)->channel_b); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_txrx_mode_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_22_txrx_mode_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_txrx_mode_set" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_22_txrx_mode_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->txrx_mode = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_txrx_mode_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_txrx_mode_get" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + result = (char) ((arg1)->txrx_mode); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_power_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_22_power_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_power_set" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_22_power_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->power = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_power_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_power_get" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + result = (char) ((arg1)->power); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_NE_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_22_NE_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_NE_longitude_set" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_22_NE_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->NE_longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_NE_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_NE_longitude_get" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + result = (long) ((arg1)->NE_longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_NE_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_22_NE_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_NE_latitude_set" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_22_NE_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->NE_latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_NE_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_NE_latitude_get" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + result = (long) ((arg1)->NE_latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_addressed_1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_22_addressed_1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_addressed_1_set" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_22_addressed_1_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->addressed_1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_addressed_1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_addressed_1_get" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + result = (unsigned long) ((arg1)->addressed_1); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_SW_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_22_SW_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_SW_longitude_set" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_22_SW_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->SW_longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_SW_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_SW_longitude_get" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + result = (long) ((arg1)->SW_longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_SW_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_22_SW_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_SW_latitude_set" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_22_SW_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->SW_latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_SW_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_SW_latitude_get" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + result = (long) ((arg1)->SW_latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_addressed_2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_22_addressed_2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_addressed_2_set" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_22_addressed_2_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->addressed_2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_addressed_2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_addressed_2_get" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + result = (unsigned long) ((arg1)->addressed_2); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_addressed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_22_addressed_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_addressed_set" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_22_addressed_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->addressed = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_addressed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_addressed_get" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + result = (char) ((arg1)->addressed); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_bw_a_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_22_bw_a_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_bw_a_set" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_22_bw_a_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->bw_a = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_bw_a_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_bw_a_get" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + result = (char) ((arg1)->bw_a); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_bw_b_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_22_bw_b_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_bw_b_set" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_22_bw_b_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->bw_b = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_bw_b_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_bw_b_get" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + result = (char) ((arg1)->bw_b); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_tz_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_22_tz_size_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_tz_size_set" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_22_tz_size_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->tz_size = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_tz_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_tz_size_get" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + result = (char) ((arg1)->tz_size); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_spare2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_22_spare2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_spare2_set" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_22_spare2_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->spare2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_22_spare2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_22_spare2_get" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + result = (unsigned long) ((arg1)->spare2); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_22(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_22", 0, 0, 0)) SWIG_fail; + result = (aismsg_22 *)calloc(1, sizeof(aismsg_22)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_22, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_22(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_22 *arg1 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_22, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_22" "', argument " "1"" of type '" "aismsg_22 *""'"); + } + arg1 = (aismsg_22 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_22_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_22, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_22_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_23_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_23_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_msgid_set" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_23_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_msgid_get" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_23_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_repeat_set" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_23_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_repeat_get" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_23_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_userid_set" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_23_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_userid_get" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_spare1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_23_spare1_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_spare1_set" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_23_spare1_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare1 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_spare1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_spare1_get" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + result = (char) ((arg1)->spare1); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_NE_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_23_NE_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_NE_longitude_set" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_23_NE_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->NE_longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_NE_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_NE_longitude_get" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + result = (long) ((arg1)->NE_longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_NE_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_23_NE_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_NE_latitude_set" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_23_NE_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->NE_latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_NE_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_NE_latitude_get" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + result = (long) ((arg1)->NE_latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_SW_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_23_SW_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_SW_longitude_set" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_23_SW_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->SW_longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_SW_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_SW_longitude_get" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + result = (long) ((arg1)->SW_longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_SW_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_23_SW_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_SW_latitude_set" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_23_SW_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->SW_latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_SW_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_SW_latitude_get" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + result = (long) ((arg1)->SW_latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_station_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_23_station_type_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_station_type_set" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_23_station_type_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->station_type = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_station_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_station_type_get" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + result = (char) ((arg1)->station_type); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_ship_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_23_ship_type_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_ship_type_set" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_23_ship_type_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->ship_type = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_ship_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_ship_type_get" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + result = (unsigned char) ((arg1)->ship_type); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_spare2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_23_spare2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_spare2_set" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_23_spare2_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->spare2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_spare2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_spare2_get" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + result = (unsigned long) ((arg1)->spare2); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_txrx_mode_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_23_txrx_mode_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_txrx_mode_set" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_23_txrx_mode_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->txrx_mode = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_txrx_mode_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_txrx_mode_get" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + result = (char) ((arg1)->txrx_mode); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_report_interval_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_23_report_interval_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_report_interval_set" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_23_report_interval_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->report_interval = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_report_interval_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_report_interval_get" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + result = (char) ((arg1)->report_interval); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_quiet_time_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_23_quiet_time_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_quiet_time_set" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_23_quiet_time_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->quiet_time = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_quiet_time_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_quiet_time_get" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + result = (char) ((arg1)->quiet_time); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_spare3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_23_spare3_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_spare3_set" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_23_spare3_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare3 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_23_spare3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_23_spare3_get" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + result = (char) ((arg1)->spare3); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_23(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_23", 0, 0, 0)) SWIG_fail; + result = (aismsg_23 *)calloc(1, sizeof(aismsg_23)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_23, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_23(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_23 *arg1 = (aismsg_23 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_23, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_23" "', argument " "1"" of type '" "aismsg_23 *""'"); + } + arg1 = (aismsg_23 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_23_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_23, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_23_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_24_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_24_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_msgid_set" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_24_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_msgid_get" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_24_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_repeat_set" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_24_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_repeat_get" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_24_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_userid_set" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_24_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_userid_get" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_part_number_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_24_part_number_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_part_number_set" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_24_part_number_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->part_number = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_part_number_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_part_number_get" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + result = (char) ((arg1)->part_number); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[21] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_24_name_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_name_set" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 21); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "aismsg_24_name_set" "', argument " "2"" of type '" "char [21]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->name,arg2,21*sizeof(char)); + else memset(arg1->name,0,21*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_name_get" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + result = (char *)(char *) ((arg1)->name); + { + size_t size = SWIG_strnlen(result, 21); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_ship_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_24_ship_type_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_ship_type_set" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_24_ship_type_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->ship_type = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_ship_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_ship_type_get" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + result = (unsigned char) ((arg1)->ship_type); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_vendor_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[8] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_24_vendor_id_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_vendor_id_set" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 8); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "aismsg_24_vendor_id_set" "', argument " "2"" of type '" "char [8]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->vendor_id,arg2,8*sizeof(char)); + else memset(arg1->vendor_id,0,8*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_vendor_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_vendor_id_get" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + result = (char *)(char *) ((arg1)->vendor_id); + { + size_t size = SWIG_strnlen(result, 8); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_callsign_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[8] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_24_callsign_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_callsign_set" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 8); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "aismsg_24_callsign_set" "', argument " "2"" of type '" "char [8]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->callsign,arg2,8*sizeof(char)); + else memset(arg1->callsign,0,8*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_callsign_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_callsign_get" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + result = (char *)(char *) ((arg1)->callsign); + { + size_t size = SWIG_strnlen(result, 8); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_dim_bow_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_24_dim_bow_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_dim_bow_set" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_24_dim_bow_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->dim_bow = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_dim_bow_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_dim_bow_get" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + result = (int) ((arg1)->dim_bow); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_dim_stern_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_24_dim_stern_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_dim_stern_set" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_24_dim_stern_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->dim_stern = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_dim_stern_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_dim_stern_get" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + result = (int) ((arg1)->dim_stern); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_dim_port_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_24_dim_port_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_dim_port_set" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_24_dim_port_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->dim_port = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_dim_port_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_dim_port_get" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + result = (char) ((arg1)->dim_port); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_dim_starboard_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_24_dim_starboard_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_dim_starboard_set" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_24_dim_starboard_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->dim_starboard = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_dim_starboard_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_dim_starboard_get" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + result = (char) ((arg1)->dim_starboard); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_24_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_spare_set" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_24_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_spare_get" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_flags_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_24_flags_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_flags_set" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_24_flags_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->flags = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_24_flags_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_24_flags_get" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + result = (char) ((arg1)->flags); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_24(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_24", 0, 0, 0)) SWIG_fail; + result = (aismsg_24 *)calloc(1, sizeof(aismsg_24)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_24, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_24(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_24 *arg1 = (aismsg_24 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_24, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_24" "', argument " "1"" of type '" "aismsg_24 *""'"); + } + arg1 = (aismsg_24 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_24_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_24, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_24_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_aismsg_27_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_27_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_msgid_set" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_27_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_msgid_get" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_repeat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_27_repeat_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_repeat_set" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_27_repeat_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->repeat = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_repeat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_repeat_get" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + result = (char) ((arg1)->repeat); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_userid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + unsigned long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_27_userid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_userid_set" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_27_userid_set" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = (unsigned long)(val2); + if (arg1) (arg1)->userid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_userid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_userid_get" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + result = (unsigned long) ((arg1)->userid); + resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_pos_acc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_27_pos_acc_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_pos_acc_set" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_27_pos_acc_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->pos_acc = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_pos_acc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_pos_acc_get" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + result = (char) ((arg1)->pos_acc); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_raim_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_27_raim_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_raim_set" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_27_raim_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->raim = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_raim_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_raim_get" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + result = (char) ((arg1)->raim); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_nav_status_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_27_nav_status_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_nav_status_set" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_27_nav_status_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->nav_status = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_nav_status_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_nav_status_get" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + result = (char) ((arg1)->nav_status); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_27_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_longitude_set" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_27_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_longitude_get" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_27_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_latitude_set" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_27_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_latitude_get" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_sog_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_27_sog_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_sog_set" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_27_sog_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->sog = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_sog_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_sog_get" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + result = (int) ((arg1)->sog); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_cog_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_27_cog_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_cog_set" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_27_cog_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->cog = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_cog_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_cog_get" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + result = (int) ((arg1)->cog); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_gnss_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_27_gnss_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_gnss_set" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_27_gnss_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->gnss = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_gnss_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_gnss_get" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + result = (char) ((arg1)->gnss); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "aismsg_27_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_spare_set" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aismsg_27_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_aismsg_27_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aismsg_27_spare_get" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_aismsg_27(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_aismsg_27", 0, 0, 0)) SWIG_fail; + result = (aismsg_27 *)calloc(1, sizeof(aismsg_27)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_aismsg_27, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_aismsg_27(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_27 *arg1 = (aismsg_27 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_27, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_aismsg_27" "', argument " "1"" of type '" "aismsg_27 *""'"); + } + arg1 = (aismsg_27 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *aismsg_27_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_aismsg_27, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *aismsg_27_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_timetag_month_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + timetag *arg1 = (timetag *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "timetag_month_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "timetag_month_set" "', argument " "1"" of type '" "timetag *""'"); + } + arg1 = (timetag *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "timetag_month_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->month = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_timetag_month_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + timetag *arg1 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "timetag_month_get" "', argument " "1"" of type '" "timetag *""'"); + } + arg1 = (timetag *)(argp1); + result = (char) ((arg1)->month); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_timetag_day_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + timetag *arg1 = (timetag *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "timetag_day_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "timetag_day_set" "', argument " "1"" of type '" "timetag *""'"); + } + arg1 = (timetag *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "timetag_day_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->day = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_timetag_day_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + timetag *arg1 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "timetag_day_get" "', argument " "1"" of type '" "timetag *""'"); + } + arg1 = (timetag *)(argp1); + result = (char) ((arg1)->day); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_timetag_hours_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + timetag *arg1 = (timetag *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "timetag_hours_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "timetag_hours_set" "', argument " "1"" of type '" "timetag *""'"); + } + arg1 = (timetag *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "timetag_hours_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->hours = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_timetag_hours_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + timetag *arg1 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "timetag_hours_get" "', argument " "1"" of type '" "timetag *""'"); + } + arg1 = (timetag *)(argp1); + result = (char) ((arg1)->hours); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_timetag_minutes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + timetag *arg1 = (timetag *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "timetag_minutes_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "timetag_minutes_set" "', argument " "1"" of type '" "timetag *""'"); + } + arg1 = (timetag *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "timetag_minutes_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->minutes = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_timetag_minutes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + timetag *arg1 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "timetag_minutes_get" "', argument " "1"" of type '" "timetag *""'"); + } + arg1 = (timetag *)(argp1); + result = (char) ((arg1)->minutes); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_timetag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + timetag *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_timetag", 0, 0, 0)) SWIG_fail; + result = (timetag *)calloc(1, sizeof(timetag)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_timetag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + timetag *arg1 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_timetag, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_timetag" "', argument " "1"" of type '" "timetag *""'"); + } + arg1 = (timetag *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *timetag_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_timetag, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *timetag_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_ais_state_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "ais_state_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ais_state_msgid_set" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ais_state_msgid_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_ais_state_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ais_state_msgid_get" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + result = (unsigned char) ((arg1)->msgid); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_ais_state_sequence_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + unsigned int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "ais_state_sequence_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ais_state_sequence_set" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ais_state_sequence_set" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = (unsigned int)(val2); + if (arg1) (arg1)->sequence = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_ais_state_sequence_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ais_state_sequence_get" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + result = (unsigned int) ((arg1)->sequence); + resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_ais_state_total_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + unsigned int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "ais_state_total_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ais_state_total_set" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ais_state_total_set" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = (unsigned int)(val2); + if (arg1) (arg1)->total = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_ais_state_total_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ais_state_total_get" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + result = (unsigned int) ((arg1)->total); + resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_ais_state_num_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + unsigned int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "ais_state_num_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ais_state_num_set" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ais_state_num_set" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = (unsigned int)(val2); + if (arg1) (arg1)->num = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_ais_state_num_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ais_state_num_get" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + result = (unsigned int) ((arg1)->num); + resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_ais_state_channel_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "ais_state_channel_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ais_state_channel_set" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ais_state_channel_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->channel = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_ais_state_channel_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ais_state_channel_get" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + result = (char) ((arg1)->channel); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_ais_state_six_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + sixbit *arg2 = (sixbit *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "ais_state_six_state_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ais_state_six_state_set" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ais_state_six_state_set" "', argument " "2"" of type '" "sixbit *""'"); + } + arg2 = (sixbit *)(argp2); + if (arg1) (arg1)->six_state = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_ais_state_six_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + sixbit *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ais_state_six_state_get" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + result = (sixbit *)& ((arg1)->six_state); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_sixbit, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_ais_state(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_ais_state", 0, 0, 0)) SWIG_fail; + result = (ais_state *)calloc(1, sizeof(ais_state)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ais_state, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_ais_state(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ais_state" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *ais_state_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_ais_state, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *ais_state_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_binary_state_dac_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + binary_state *arg1 = (binary_state *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "binary_state_dac_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_binary_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "binary_state_dac_set" "', argument " "1"" of type '" "binary_state *""'"); + } + arg1 = (binary_state *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "binary_state_dac_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->dac = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_binary_state_dac_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + binary_state *arg1 = (binary_state *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_binary_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "binary_state_dac_get" "', argument " "1"" of type '" "binary_state *""'"); + } + arg1 = (binary_state *)(argp1); + result = (int) ((arg1)->dac); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_binary_state_fi_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + binary_state *arg1 = (binary_state *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "binary_state_fi_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_binary_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "binary_state_fi_set" "', argument " "1"" of type '" "binary_state *""'"); + } + arg1 = (binary_state *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "binary_state_fi_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->fi = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_binary_state_fi_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + binary_state *arg1 = (binary_state *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_binary_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "binary_state_fi_get" "', argument " "1"" of type '" "binary_state *""'"); + } + arg1 = (binary_state *)(argp1); + result = (char) ((arg1)->fi); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_binary_state_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + binary_state *arg1 = (binary_state *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "binary_state_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_binary_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "binary_state_spare_set" "', argument " "1"" of type '" "binary_state *""'"); + } + arg1 = (binary_state *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "binary_state_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_binary_state_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + binary_state *arg1 = (binary_state *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_binary_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "binary_state_spare_get" "', argument " "1"" of type '" "binary_state *""'"); + } + arg1 = (binary_state *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_binary_state_msgid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + binary_state *arg1 = (binary_state *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "binary_state_msgid_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_binary_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "binary_state_msgid_set" "', argument " "1"" of type '" "binary_state *""'"); + } + arg1 = (binary_state *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "binary_state_msgid_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->msgid = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_binary_state_msgid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + binary_state *arg1 = (binary_state *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_binary_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "binary_state_msgid_get" "', argument " "1"" of type '" "binary_state *""'"); + } + arg1 = (binary_state *)(argp1); + result = (char) ((arg1)->msgid); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_binary_state_six_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + binary_state *arg1 = (binary_state *) 0 ; + sixbit *arg2 = (sixbit *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "binary_state_six_state_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_binary_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "binary_state_six_state_set" "', argument " "1"" of type '" "binary_state *""'"); + } + arg1 = (binary_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "binary_state_six_state_set" "', argument " "2"" of type '" "sixbit *""'"); + } + arg2 = (sixbit *)(argp2); + if (arg1) (arg1)->six_state = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_binary_state_six_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + binary_state *arg1 = (binary_state *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + sixbit *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_binary_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "binary_state_six_state_get" "', argument " "1"" of type '" "binary_state *""'"); + } + arg1 = (binary_state *)(argp1); + result = (sixbit *)& ((arg1)->six_state); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_sixbit, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_binary_state(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + binary_state *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_binary_state", 0, 0, 0)) SWIG_fail; + result = (binary_state *)calloc(1, sizeof(binary_state)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_binary_state, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_binary_state(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + binary_state *arg1 = (binary_state *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_binary_state, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_binary_state" "', argument " "1"" of type '" "binary_state *""'"); + } + arg1 = (binary_state *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *binary_state_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_binary_state, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *binary_state_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_get_timetag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + timetag *arg2 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "get_timetag", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_timetag" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "get_timetag" "', argument " "2"" of type '" "timetag *""'"); + } + arg2 = (timetag *)(argp2); + result = (int)get_timetag(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_conv_sign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + unsigned int arg1 ; + int *arg2 = (int *) 0 ; + unsigned int val1 ; + int ecode1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "conv_sign", 2, 2, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "conv_sign" "', argument " "1"" of type '" "unsigned int""'"); + } + arg1 = (unsigned int)(val1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_int, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "conv_sign" "', argument " "2"" of type '" "int *""'"); + } + arg2 = (int *)(argp2); + conv_sign(arg1,arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_ais2ascii(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + char arg1 ; + char val1 ; + int ecode1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + ecode1 = SWIG_AsVal_char(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ais2ascii" "', argument " "1"" of type '" "char""'"); + } + arg1 = (char)(val1); + result = (char)ais2ascii(arg1); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_conv_pos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + long *arg1 = (long *) 0 ; + long *arg2 = (long *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "conv_pos", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_long, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "conv_pos" "', argument " "1"" of type '" "long *""'"); + } + arg1 = (long *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "conv_pos" "', argument " "2"" of type '" "long *""'"); + } + arg2 = (long *)(argp2); + result = (int)conv_pos(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_conv_pos27(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + long *arg1 = (long *) 0 ; + long *arg2 = (long *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "conv_pos27", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_long, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "conv_pos27" "', argument " "1"" of type '" "long *""'"); + } + arg1 = (long *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "conv_pos27" "', argument " "2"" of type '" "long *""'"); + } + arg2 = (long *)(argp2); + result = (int)conv_pos27(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_assemble_vdm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + char *arg2 = (char *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "assemble_vdm", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "assemble_vdm" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "assemble_vdm" "', argument " "2"" of type '" "char *""'"); + } + arg2 = (char *)(buf2); + result = (int)assemble_vdm(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + return resultobj; +fail: + if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_1 *arg2 = (aismsg_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_1", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_1" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_1, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_1" "', argument " "2"" of type '" "aismsg_1 *""'"); + } + arg2 = (aismsg_1 *)(argp2); + result = (int)parse_ais_1(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_2 *arg2 = (aismsg_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_2", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_2" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_2, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_2" "', argument " "2"" of type '" "aismsg_2 *""'"); + } + arg2 = (aismsg_2 *)(argp2); + result = (int)parse_ais_2(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_3 *arg2 = (aismsg_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_3", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_3" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_3, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_3" "', argument " "2"" of type '" "aismsg_3 *""'"); + } + arg2 = (aismsg_3 *)(argp2); + result = (int)parse_ais_3(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_4 *arg2 = (aismsg_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_4", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_4" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_4, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_4" "', argument " "2"" of type '" "aismsg_4 *""'"); + } + arg2 = (aismsg_4 *)(argp2); + result = (int)parse_ais_4(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_5 *arg2 = (aismsg_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_5", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_5" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_5, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_5" "', argument " "2"" of type '" "aismsg_5 *""'"); + } + arg2 = (aismsg_5 *)(argp2); + result = (int)parse_ais_5(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_6 *arg2 = (aismsg_6 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_6", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_6" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_6, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_6" "', argument " "2"" of type '" "aismsg_6 *""'"); + } + arg2 = (aismsg_6 *)(argp2); + result = (int)parse_ais_6(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_7(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_7 *arg2 = (aismsg_7 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_7", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_7" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_7, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_7" "', argument " "2"" of type '" "aismsg_7 *""'"); + } + arg2 = (aismsg_7 *)(argp2); + result = (int)parse_ais_7(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_8(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_8 *arg2 = (aismsg_8 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_8", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_8" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_8, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_8" "', argument " "2"" of type '" "aismsg_8 *""'"); + } + arg2 = (aismsg_8 *)(argp2); + result = (int)parse_ais_8(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_9(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_9 *arg2 = (aismsg_9 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_9", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_9" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_9, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_9" "', argument " "2"" of type '" "aismsg_9 *""'"); + } + arg2 = (aismsg_9 *)(argp2); + result = (int)parse_ais_9(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_10 *arg2 = (aismsg_10 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_10", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_10" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_10, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_10" "', argument " "2"" of type '" "aismsg_10 *""'"); + } + arg2 = (aismsg_10 *)(argp2); + result = (int)parse_ais_10(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_11 *arg2 = (aismsg_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_11", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_11" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_11, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_11" "', argument " "2"" of type '" "aismsg_11 *""'"); + } + arg2 = (aismsg_11 *)(argp2); + result = (int)parse_ais_11(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_12(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_12 *arg2 = (aismsg_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_12", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_12" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_12, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_12" "', argument " "2"" of type '" "aismsg_12 *""'"); + } + arg2 = (aismsg_12 *)(argp2); + result = (int)parse_ais_12(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_13(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_13 *arg2 = (aismsg_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_13", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_13" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_13, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_13" "', argument " "2"" of type '" "aismsg_13 *""'"); + } + arg2 = (aismsg_13 *)(argp2); + result = (int)parse_ais_13(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_14(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_14 *arg2 = (aismsg_14 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_14", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_14" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_14, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_14" "', argument " "2"" of type '" "aismsg_14 *""'"); + } + arg2 = (aismsg_14 *)(argp2); + result = (int)parse_ais_14(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_15(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_15 *arg2 = (aismsg_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_15", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_15" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_15, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_15" "', argument " "2"" of type '" "aismsg_15 *""'"); + } + arg2 = (aismsg_15 *)(argp2); + result = (int)parse_ais_15(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_16(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_16 *arg2 = (aismsg_16 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_16", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_16" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_16, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_16" "', argument " "2"" of type '" "aismsg_16 *""'"); + } + arg2 = (aismsg_16 *)(argp2); + result = (int)parse_ais_16(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_17(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_17 *arg2 = (aismsg_17 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_17", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_17" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_17" "', argument " "2"" of type '" "aismsg_17 *""'"); + } + arg2 = (aismsg_17 *)(argp2); + result = (int)parse_ais_17(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_18(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_18 *arg2 = (aismsg_18 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_18", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_18" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_18, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_18" "', argument " "2"" of type '" "aismsg_18 *""'"); + } + arg2 = (aismsg_18 *)(argp2); + result = (int)parse_ais_18(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_19(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_19 *arg2 = (aismsg_19 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_19", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_19" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_19, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_19" "', argument " "2"" of type '" "aismsg_19 *""'"); + } + arg2 = (aismsg_19 *)(argp2); + result = (int)parse_ais_19(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_20(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_20 *arg2 = (aismsg_20 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_20", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_20" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_20, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_20" "', argument " "2"" of type '" "aismsg_20 *""'"); + } + arg2 = (aismsg_20 *)(argp2); + result = (int)parse_ais_20(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_21(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_21 *arg2 = (aismsg_21 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_21", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_21" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_21, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_21" "', argument " "2"" of type '" "aismsg_21 *""'"); + } + arg2 = (aismsg_21 *)(argp2); + result = (int)parse_ais_21(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_22(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_22 *arg2 = (aismsg_22 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_22", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_22" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_22, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_22" "', argument " "2"" of type '" "aismsg_22 *""'"); + } + arg2 = (aismsg_22 *)(argp2); + result = (int)parse_ais_22(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_23(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_23 *arg2 = (aismsg_23 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_23", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_23" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_23, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_23" "', argument " "2"" of type '" "aismsg_23 *""'"); + } + arg2 = (aismsg_23 *)(argp2); + result = (int)parse_ais_23(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_24(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_24 *arg2 = (aismsg_24 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_24", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_24" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_24, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_24" "', argument " "2"" of type '" "aismsg_24 *""'"); + } + arg2 = (aismsg_24 *)(argp2); + result = (int)parse_ais_24(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_ais_27(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + ais_state *arg1 = (ais_state *) 0 ; + aismsg_27 *arg2 = (aismsg_27 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_ais_27", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_ais_state, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_ais_27" "', argument " "1"" of type '" "ais_state *""'"); + } + arg1 = (ais_state *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_aismsg_27, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_ais_27" "', argument " "2"" of type '" "aismsg_27 *""'"); + } + arg2 = (aismsg_27 *)(argp2); + result = (int)parse_ais_27(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_wind_report_utc_time_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wind_report *arg1 = (wind_report *) 0 ; + timetag *arg2 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "wind_report_utc_time_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wind_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "wind_report_utc_time_set" "', argument " "1"" of type '" "wind_report *""'"); + } + arg1 = (wind_report *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "wind_report_utc_time_set" "', argument " "2"" of type '" "timetag *""'"); + } + arg2 = (timetag *)(argp2); + if (arg1) (arg1)->utc_time = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_wind_report_utc_time_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wind_report *arg1 = (wind_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wind_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "wind_report_utc_time_get" "', argument " "1"" of type '" "wind_report *""'"); + } + arg1 = (wind_report *)(argp1); + result = (timetag *)& ((arg1)->utc_time); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_wind_report_station_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wind_report *arg1 = (wind_report *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[8] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "wind_report_station_id_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wind_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "wind_report_station_id_set" "', argument " "1"" of type '" "wind_report *""'"); + } + arg1 = (wind_report *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 8); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "wind_report_station_id_set" "', argument " "2"" of type '" "char [8]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->station_id,arg2,8*sizeof(char)); + else memset(arg1->station_id,0,8*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_wind_report_station_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wind_report *arg1 = (wind_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wind_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "wind_report_station_id_get" "', argument " "1"" of type '" "wind_report *""'"); + } + arg1 = (wind_report *)(argp1); + result = (char *)(char *) ((arg1)->station_id); + { + size_t size = SWIG_strnlen(result, 8); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_wind_report_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wind_report *arg1 = (wind_report *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "wind_report_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wind_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "wind_report_longitude_set" "', argument " "1"" of type '" "wind_report *""'"); + } + arg1 = (wind_report *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "wind_report_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_wind_report_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wind_report *arg1 = (wind_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wind_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "wind_report_longitude_get" "', argument " "1"" of type '" "wind_report *""'"); + } + arg1 = (wind_report *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_wind_report_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wind_report *arg1 = (wind_report *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "wind_report_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wind_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "wind_report_latitude_set" "', argument " "1"" of type '" "wind_report *""'"); + } + arg1 = (wind_report *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "wind_report_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_wind_report_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wind_report *arg1 = (wind_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wind_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "wind_report_latitude_get" "', argument " "1"" of type '" "wind_report *""'"); + } + arg1 = (wind_report *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_wind_report_speed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wind_report *arg1 = (wind_report *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "wind_report_speed_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wind_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "wind_report_speed_set" "', argument " "1"" of type '" "wind_report *""'"); + } + arg1 = (wind_report *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "wind_report_speed_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->speed = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_wind_report_speed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wind_report *arg1 = (wind_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wind_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "wind_report_speed_get" "', argument " "1"" of type '" "wind_report *""'"); + } + arg1 = (wind_report *)(argp1); + result = (int) ((arg1)->speed); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_wind_report_gust_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wind_report *arg1 = (wind_report *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "wind_report_gust_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wind_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "wind_report_gust_set" "', argument " "1"" of type '" "wind_report *""'"); + } + arg1 = (wind_report *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "wind_report_gust_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->gust = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_wind_report_gust_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wind_report *arg1 = (wind_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wind_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "wind_report_gust_get" "', argument " "1"" of type '" "wind_report *""'"); + } + arg1 = (wind_report *)(argp1); + result = (int) ((arg1)->gust); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_wind_report_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wind_report *arg1 = (wind_report *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "wind_report_direction_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wind_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "wind_report_direction_set" "', argument " "1"" of type '" "wind_report *""'"); + } + arg1 = (wind_report *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "wind_report_direction_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->direction = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_wind_report_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wind_report *arg1 = (wind_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wind_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "wind_report_direction_get" "', argument " "1"" of type '" "wind_report *""'"); + } + arg1 = (wind_report *)(argp1); + result = (int) ((arg1)->direction); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_wind_report_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wind_report *arg1 = (wind_report *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "wind_report_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wind_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "wind_report_spare_set" "', argument " "1"" of type '" "wind_report *""'"); + } + arg1 = (wind_report *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "wind_report_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_wind_report_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wind_report *arg1 = (wind_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wind_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "wind_report_spare_get" "', argument " "1"" of type '" "wind_report *""'"); + } + arg1 = (wind_report *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_wind_report(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wind_report *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_wind_report", 0, 0, 0)) SWIG_fail; + result = (wind_report *)calloc(1, sizeof(wind_report)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wind_report, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_wind_report(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wind_report *arg1 = (wind_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wind_report, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_wind_report" "', argument " "1"" of type '" "wind_report *""'"); + } + arg1 = (wind_report *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *wind_report_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_wind_report, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *wind_report_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_weather_report_utc_time_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + timetag *arg2 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "weather_report_utc_time_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_utc_time_set" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "weather_report_utc_time_set" "', argument " "2"" of type '" "timetag *""'"); + } + arg2 = (timetag *)(argp2); + if (arg1) (arg1)->utc_time = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_utc_time_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_utc_time_get" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + result = (timetag *)& ((arg1)->utc_time); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_station_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[8] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "weather_report_station_id_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_station_id_set" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 8); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "weather_report_station_id_set" "', argument " "2"" of type '" "char [8]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->station_id,arg2,8*sizeof(char)); + else memset(arg1->station_id,0,8*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_station_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_station_id_get" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + result = (char *)(char *) ((arg1)->station_id); + { + size_t size = SWIG_strnlen(result, 8); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "weather_report_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_longitude_set" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "weather_report_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_longitude_get" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "weather_report_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_latitude_set" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "weather_report_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_latitude_get" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_speed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "weather_report_speed_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_speed_set" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "weather_report_speed_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->speed = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_speed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_speed_get" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + result = (int) ((arg1)->speed); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_gust_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "weather_report_gust_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_gust_set" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "weather_report_gust_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->gust = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_gust_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_gust_get" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + result = (int) ((arg1)->gust); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "weather_report_direction_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_direction_set" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "weather_report_direction_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->direction = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_direction_get" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + result = (int) ((arg1)->direction); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_pressure_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "weather_report_pressure_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_pressure_set" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "weather_report_pressure_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->pressure = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_pressure_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_pressure_get" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + result = (int) ((arg1)->pressure); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_air_temp_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "weather_report_air_temp_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_air_temp_set" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "weather_report_air_temp_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->air_temp = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_air_temp_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_air_temp_get" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + result = (int) ((arg1)->air_temp); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_dew_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "weather_report_dew_point_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_dew_point_set" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "weather_report_dew_point_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->dew_point = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_dew_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_dew_point_get" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + result = (int) ((arg1)->dew_point); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_visibility_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "weather_report_visibility_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_visibility_set" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "weather_report_visibility_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->visibility = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_visibility_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_visibility_get" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + result = (unsigned char) ((arg1)->visibility); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_water_temp_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "weather_report_water_temp_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_water_temp_set" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "weather_report_water_temp_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->water_temp = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_weather_report_water_temp_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "weather_report_water_temp_get" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + result = (int) ((arg1)->water_temp); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_weather_report(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_weather_report", 0, 0, 0)) SWIG_fail; + result = (weather_report *)calloc(1, sizeof(weather_report)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_weather_report, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_weather_report(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_weather_report" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *weather_report_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_weather_report, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *weather_report_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_water_level_report_utc_time_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_level_report *arg1 = (water_level_report *) 0 ; + timetag *arg2 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "water_level_report_utc_time_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_level_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_level_report_utc_time_set" "', argument " "1"" of type '" "water_level_report *""'"); + } + arg1 = (water_level_report *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "water_level_report_utc_time_set" "', argument " "2"" of type '" "timetag *""'"); + } + arg2 = (timetag *)(argp2); + if (arg1) (arg1)->utc_time = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_level_report_utc_time_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_level_report *arg1 = (water_level_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_level_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_level_report_utc_time_get" "', argument " "1"" of type '" "water_level_report *""'"); + } + arg1 = (water_level_report *)(argp1); + result = (timetag *)& ((arg1)->utc_time); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_level_report_station_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_level_report *arg1 = (water_level_report *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[8] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "water_level_report_station_id_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_level_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_level_report_station_id_set" "', argument " "1"" of type '" "water_level_report *""'"); + } + arg1 = (water_level_report *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 8); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "water_level_report_station_id_set" "', argument " "2"" of type '" "char [8]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->station_id,arg2,8*sizeof(char)); + else memset(arg1->station_id,0,8*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_level_report_station_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_level_report *arg1 = (water_level_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_level_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_level_report_station_id_get" "', argument " "1"" of type '" "water_level_report *""'"); + } + arg1 = (water_level_report *)(argp1); + result = (char *)(char *) ((arg1)->station_id); + { + size_t size = SWIG_strnlen(result, 8); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_level_report_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_level_report *arg1 = (water_level_report *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "water_level_report_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_level_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_level_report_longitude_set" "', argument " "1"" of type '" "water_level_report *""'"); + } + arg1 = (water_level_report *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "water_level_report_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_level_report_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_level_report *arg1 = (water_level_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_level_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_level_report_longitude_get" "', argument " "1"" of type '" "water_level_report *""'"); + } + arg1 = (water_level_report *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_level_report_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_level_report *arg1 = (water_level_report *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "water_level_report_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_level_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_level_report_latitude_set" "', argument " "1"" of type '" "water_level_report *""'"); + } + arg1 = (water_level_report *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "water_level_report_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_level_report_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_level_report *arg1 = (water_level_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_level_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_level_report_latitude_get" "', argument " "1"" of type '" "water_level_report *""'"); + } + arg1 = (water_level_report *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_level_report_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_level_report *arg1 = (water_level_report *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "water_level_report_type_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_level_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_level_report_type_set" "', argument " "1"" of type '" "water_level_report *""'"); + } + arg1 = (water_level_report *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "water_level_report_type_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->type = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_level_report_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_level_report *arg1 = (water_level_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_level_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_level_report_type_get" "', argument " "1"" of type '" "water_level_report *""'"); + } + arg1 = (water_level_report *)(argp1); + result = (char) ((arg1)->type); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_level_report_level_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_level_report *arg1 = (water_level_report *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "water_level_report_level_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_level_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_level_report_level_set" "', argument " "1"" of type '" "water_level_report *""'"); + } + arg1 = (water_level_report *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "water_level_report_level_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->level = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_level_report_level_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_level_report *arg1 = (water_level_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_level_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_level_report_level_get" "', argument " "1"" of type '" "water_level_report *""'"); + } + arg1 = (water_level_report *)(argp1); + result = (int) ((arg1)->level); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_level_report_datum_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_level_report *arg1 = (water_level_report *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "water_level_report_datum_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_level_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_level_report_datum_set" "', argument " "1"" of type '" "water_level_report *""'"); + } + arg1 = (water_level_report *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "water_level_report_datum_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->datum = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_level_report_datum_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_level_report *arg1 = (water_level_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_level_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_level_report_datum_get" "', argument " "1"" of type '" "water_level_report *""'"); + } + arg1 = (water_level_report *)(argp1); + result = (char) ((arg1)->datum); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_level_report_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_level_report *arg1 = (water_level_report *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "water_level_report_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_level_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_level_report_spare_set" "', argument " "1"" of type '" "water_level_report *""'"); + } + arg1 = (water_level_report *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "water_level_report_spare_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_level_report_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_level_report *arg1 = (water_level_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_level_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_level_report_spare_get" "', argument " "1"" of type '" "water_level_report *""'"); + } + arg1 = (water_level_report *)(argp1); + result = (int) ((arg1)->spare); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_water_level_report(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_level_report *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_water_level_report", 0, 0, 0)) SWIG_fail; + result = (water_level_report *)calloc(1, sizeof(water_level_report)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_water_level_report, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_water_level_report(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_level_report *arg1 = (water_level_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_level_report, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_water_level_report" "', argument " "1"" of type '" "water_level_report *""'"); + } + arg1 = (water_level_report *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *water_level_report_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_water_level_report, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *water_level_report_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_water_flow_report_utc_time_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_flow_report *arg1 = (water_flow_report *) 0 ; + timetag *arg2 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "water_flow_report_utc_time_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_flow_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_flow_report_utc_time_set" "', argument " "1"" of type '" "water_flow_report *""'"); + } + arg1 = (water_flow_report *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "water_flow_report_utc_time_set" "', argument " "2"" of type '" "timetag *""'"); + } + arg2 = (timetag *)(argp2); + if (arg1) (arg1)->utc_time = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_flow_report_utc_time_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_flow_report *arg1 = (water_flow_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_flow_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_flow_report_utc_time_get" "', argument " "1"" of type '" "water_flow_report *""'"); + } + arg1 = (water_flow_report *)(argp1); + result = (timetag *)& ((arg1)->utc_time); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_flow_report_station_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_flow_report *arg1 = (water_flow_report *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[8] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "water_flow_report_station_id_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_flow_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_flow_report_station_id_set" "', argument " "1"" of type '" "water_flow_report *""'"); + } + arg1 = (water_flow_report *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 8); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "water_flow_report_station_id_set" "', argument " "2"" of type '" "char [8]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->station_id,arg2,8*sizeof(char)); + else memset(arg1->station_id,0,8*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_flow_report_station_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_flow_report *arg1 = (water_flow_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_flow_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_flow_report_station_id_get" "', argument " "1"" of type '" "water_flow_report *""'"); + } + arg1 = (water_flow_report *)(argp1); + result = (char *)(char *) ((arg1)->station_id); + { + size_t size = SWIG_strnlen(result, 8); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_flow_report_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_flow_report *arg1 = (water_flow_report *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "water_flow_report_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_flow_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_flow_report_longitude_set" "', argument " "1"" of type '" "water_flow_report *""'"); + } + arg1 = (water_flow_report *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "water_flow_report_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_flow_report_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_flow_report *arg1 = (water_flow_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_flow_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_flow_report_longitude_get" "', argument " "1"" of type '" "water_flow_report *""'"); + } + arg1 = (water_flow_report *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_flow_report_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_flow_report *arg1 = (water_flow_report *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "water_flow_report_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_flow_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_flow_report_latitude_set" "', argument " "1"" of type '" "water_flow_report *""'"); + } + arg1 = (water_flow_report *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "water_flow_report_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_flow_report_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_flow_report *arg1 = (water_flow_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_flow_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_flow_report_latitude_get" "', argument " "1"" of type '" "water_flow_report *""'"); + } + arg1 = (water_flow_report *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_flow_report_flow_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_flow_report *arg1 = (water_flow_report *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "water_flow_report_flow_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_flow_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_flow_report_flow_set" "', argument " "1"" of type '" "water_flow_report *""'"); + } + arg1 = (water_flow_report *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "water_flow_report_flow_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->flow = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_flow_report_flow_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_flow_report *arg1 = (water_flow_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_flow_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_flow_report_flow_get" "', argument " "1"" of type '" "water_flow_report *""'"); + } + arg1 = (water_flow_report *)(argp1); + result = (int) ((arg1)->flow); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_flow_report_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_flow_report *arg1 = (water_flow_report *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "water_flow_report_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_flow_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_flow_report_spare_set" "', argument " "1"" of type '" "water_flow_report *""'"); + } + arg1 = (water_flow_report *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "water_flow_report_spare_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_water_flow_report_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_flow_report *arg1 = (water_flow_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_flow_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "water_flow_report_spare_get" "', argument " "1"" of type '" "water_flow_report *""'"); + } + arg1 = (water_flow_report *)(argp1); + result = (long) ((arg1)->spare); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_water_flow_report(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_flow_report *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_water_flow_report", 0, 0, 0)) SWIG_fail; + result = (water_flow_report *)calloc(1, sizeof(water_flow_report)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_water_flow_report, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_water_flow_report(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_flow_report *arg1 = (water_flow_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_flow_report, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_water_flow_report" "', argument " "1"" of type '" "water_flow_report *""'"); + } + arg1 = (water_flow_report *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *water_flow_report_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_water_flow_report, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *water_flow_report_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_lock_schedule_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + lock_schedule *arg1 = (lock_schedule *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[16] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "lock_schedule_name_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lock_schedule, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lock_schedule_name_set" "', argument " "1"" of type '" "lock_schedule *""'"); + } + arg1 = (lock_schedule *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 16); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "lock_schedule_name_set" "', argument " "2"" of type '" "char [16]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->name,arg2,16*sizeof(char)); + else memset(arg1->name,0,16*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_lock_schedule_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + lock_schedule *arg1 = (lock_schedule *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lock_schedule, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lock_schedule_name_get" "', argument " "1"" of type '" "lock_schedule *""'"); + } + arg1 = (lock_schedule *)(argp1); + result = (char *)(char *) ((arg1)->name); + { + size_t size = SWIG_strnlen(result, 16); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_lock_schedule_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + lock_schedule *arg1 = (lock_schedule *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "lock_schedule_direction_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lock_schedule, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lock_schedule_direction_set" "', argument " "1"" of type '" "lock_schedule *""'"); + } + arg1 = (lock_schedule *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "lock_schedule_direction_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->direction = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_lock_schedule_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + lock_schedule *arg1 = (lock_schedule *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lock_schedule, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lock_schedule_direction_get" "', argument " "1"" of type '" "lock_schedule *""'"); + } + arg1 = (lock_schedule *)(argp1); + result = (char) ((arg1)->direction); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_lock_schedule_eta_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + lock_schedule *arg1 = (lock_schedule *) 0 ; + timetag *arg2 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "lock_schedule_eta_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lock_schedule, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lock_schedule_eta_set" "', argument " "1"" of type '" "lock_schedule *""'"); + } + arg1 = (lock_schedule *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "lock_schedule_eta_set" "', argument " "2"" of type '" "timetag *""'"); + } + arg2 = (timetag *)(argp2); + if (arg1) (arg1)->eta = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_lock_schedule_eta_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + lock_schedule *arg1 = (lock_schedule *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lock_schedule, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lock_schedule_eta_get" "', argument " "1"" of type '" "lock_schedule *""'"); + } + arg1 = (lock_schedule *)(argp1); + result = (timetag *)& ((arg1)->eta); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_lock_schedule_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + lock_schedule *arg1 = (lock_schedule *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "lock_schedule_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lock_schedule, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lock_schedule_spare_set" "', argument " "1"" of type '" "lock_schedule *""'"); + } + arg1 = (lock_schedule *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "lock_schedule_spare_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_lock_schedule_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + lock_schedule *arg1 = (lock_schedule *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lock_schedule, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lock_schedule_spare_get" "', argument " "1"" of type '" "lock_schedule *""'"); + } + arg1 = (lock_schedule *)(argp1); + result = (int) ((arg1)->spare); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_lock_schedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + lock_schedule *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_lock_schedule", 0, 0, 0)) SWIG_fail; + result = (lock_schedule *)calloc(1, sizeof(lock_schedule)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lock_schedule, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_lock_schedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + lock_schedule *arg1 = (lock_schedule *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lock_schedule, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_lock_schedule" "', argument " "1"" of type '" "lock_schedule *""'"); + } + arg1 = (lock_schedule *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *lock_schedule_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_lock_schedule, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *lock_schedule_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_current_report_utc_time_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + current_report *arg1 = (current_report *) 0 ; + timetag *arg2 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "current_report_utc_time_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_current_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "current_report_utc_time_set" "', argument " "1"" of type '" "current_report *""'"); + } + arg1 = (current_report *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "current_report_utc_time_set" "', argument " "2"" of type '" "timetag *""'"); + } + arg2 = (timetag *)(argp2); + if (arg1) (arg1)->utc_time = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_current_report_utc_time_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + current_report *arg1 = (current_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_current_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "current_report_utc_time_get" "', argument " "1"" of type '" "current_report *""'"); + } + arg1 = (current_report *)(argp1); + result = (timetag *)& ((arg1)->utc_time); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_current_report_station_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + current_report *arg1 = (current_report *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[8] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "current_report_station_id_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_current_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "current_report_station_id_set" "', argument " "1"" of type '" "current_report *""'"); + } + arg1 = (current_report *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 8); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "current_report_station_id_set" "', argument " "2"" of type '" "char [8]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->station_id,arg2,8*sizeof(char)); + else memset(arg1->station_id,0,8*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_current_report_station_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + current_report *arg1 = (current_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_current_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "current_report_station_id_get" "', argument " "1"" of type '" "current_report *""'"); + } + arg1 = (current_report *)(argp1); + result = (char *)(char *) ((arg1)->station_id); + { + size_t size = SWIG_strnlen(result, 8); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_current_report_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + current_report *arg1 = (current_report *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "current_report_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_current_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "current_report_longitude_set" "', argument " "1"" of type '" "current_report *""'"); + } + arg1 = (current_report *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "current_report_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_current_report_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + current_report *arg1 = (current_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_current_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "current_report_longitude_get" "', argument " "1"" of type '" "current_report *""'"); + } + arg1 = (current_report *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_current_report_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + current_report *arg1 = (current_report *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "current_report_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_current_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "current_report_latitude_set" "', argument " "1"" of type '" "current_report *""'"); + } + arg1 = (current_report *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "current_report_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_current_report_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + current_report *arg1 = (current_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_current_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "current_report_latitude_get" "', argument " "1"" of type '" "current_report *""'"); + } + arg1 = (current_report *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_current_report_speed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + current_report *arg1 = (current_report *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "current_report_speed_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_current_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "current_report_speed_set" "', argument " "1"" of type '" "current_report *""'"); + } + arg1 = (current_report *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "current_report_speed_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->speed = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_current_report_speed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + current_report *arg1 = (current_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_current_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "current_report_speed_get" "', argument " "1"" of type '" "current_report *""'"); + } + arg1 = (current_report *)(argp1); + result = (unsigned char) ((arg1)->speed); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_current_report_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + current_report *arg1 = (current_report *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "current_report_direction_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_current_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "current_report_direction_set" "', argument " "1"" of type '" "current_report *""'"); + } + arg1 = (current_report *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "current_report_direction_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->direction = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_current_report_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + current_report *arg1 = (current_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_current_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "current_report_direction_get" "', argument " "1"" of type '" "current_report *""'"); + } + arg1 = (current_report *)(argp1); + result = (int) ((arg1)->direction); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_current_report_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + current_report *arg1 = (current_report *) 0 ; + unsigned int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "current_report_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_current_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "current_report_spare_set" "', argument " "1"" of type '" "current_report *""'"); + } + arg1 = (current_report *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "current_report_spare_set" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = (unsigned int)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_current_report_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + current_report *arg1 = (current_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_current_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "current_report_spare_get" "', argument " "1"" of type '" "current_report *""'"); + } + arg1 = (current_report *)(argp1); + result = (unsigned int) ((arg1)->spare); + resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_current_report(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + current_report *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_current_report", 0, 0, 0)) SWIG_fail; + result = (current_report *)calloc(1, sizeof(current_report)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_current_report, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_current_report(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + current_report *arg1 = (current_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_current_report, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_current_report" "', argument " "1"" of type '" "current_report *""'"); + } + arg1 = (current_report *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *current_report_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_current_report, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *current_report_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_salinity_report_utc_time_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + salinity_report *arg1 = (salinity_report *) 0 ; + timetag *arg2 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "salinity_report_utc_time_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_salinity_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "salinity_report_utc_time_set" "', argument " "1"" of type '" "salinity_report *""'"); + } + arg1 = (salinity_report *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "salinity_report_utc_time_set" "', argument " "2"" of type '" "timetag *""'"); + } + arg2 = (timetag *)(argp2); + if (arg1) (arg1)->utc_time = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_salinity_report_utc_time_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + salinity_report *arg1 = (salinity_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_salinity_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "salinity_report_utc_time_get" "', argument " "1"" of type '" "salinity_report *""'"); + } + arg1 = (salinity_report *)(argp1); + result = (timetag *)& ((arg1)->utc_time); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_salinity_report_station_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + salinity_report *arg1 = (salinity_report *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[8] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "salinity_report_station_id_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_salinity_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "salinity_report_station_id_set" "', argument " "1"" of type '" "salinity_report *""'"); + } + arg1 = (salinity_report *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 8); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "salinity_report_station_id_set" "', argument " "2"" of type '" "char [8]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->station_id,arg2,8*sizeof(char)); + else memset(arg1->station_id,0,8*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_salinity_report_station_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + salinity_report *arg1 = (salinity_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_salinity_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "salinity_report_station_id_get" "', argument " "1"" of type '" "salinity_report *""'"); + } + arg1 = (salinity_report *)(argp1); + result = (char *)(char *) ((arg1)->station_id); + { + size_t size = SWIG_strnlen(result, 8); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_salinity_report_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + salinity_report *arg1 = (salinity_report *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "salinity_report_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_salinity_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "salinity_report_longitude_set" "', argument " "1"" of type '" "salinity_report *""'"); + } + arg1 = (salinity_report *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "salinity_report_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_salinity_report_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + salinity_report *arg1 = (salinity_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_salinity_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "salinity_report_longitude_get" "', argument " "1"" of type '" "salinity_report *""'"); + } + arg1 = (salinity_report *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_salinity_report_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + salinity_report *arg1 = (salinity_report *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "salinity_report_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_salinity_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "salinity_report_latitude_set" "', argument " "1"" of type '" "salinity_report *""'"); + } + arg1 = (salinity_report *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "salinity_report_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_salinity_report_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + salinity_report *arg1 = (salinity_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_salinity_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "salinity_report_latitude_get" "', argument " "1"" of type '" "salinity_report *""'"); + } + arg1 = (salinity_report *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_salinity_report_salinity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + salinity_report *arg1 = (salinity_report *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "salinity_report_salinity_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_salinity_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "salinity_report_salinity_set" "', argument " "1"" of type '" "salinity_report *""'"); + } + arg1 = (salinity_report *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "salinity_report_salinity_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->salinity = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_salinity_report_salinity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + salinity_report *arg1 = (salinity_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_salinity_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "salinity_report_salinity_get" "', argument " "1"" of type '" "salinity_report *""'"); + } + arg1 = (salinity_report *)(argp1); + result = (int) ((arg1)->salinity); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_salinity_report_water_temp_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + salinity_report *arg1 = (salinity_report *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "salinity_report_water_temp_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_salinity_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "salinity_report_water_temp_set" "', argument " "1"" of type '" "salinity_report *""'"); + } + arg1 = (salinity_report *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "salinity_report_water_temp_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->water_temp = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_salinity_report_water_temp_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + salinity_report *arg1 = (salinity_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_salinity_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "salinity_report_water_temp_get" "', argument " "1"" of type '" "salinity_report *""'"); + } + arg1 = (salinity_report *)(argp1); + result = (int) ((arg1)->water_temp); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_salinity_report_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + salinity_report *arg1 = (salinity_report *) 0 ; + unsigned int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "salinity_report_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_salinity_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "salinity_report_spare_set" "', argument " "1"" of type '" "salinity_report *""'"); + } + arg1 = (salinity_report *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "salinity_report_spare_set" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = (unsigned int)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_salinity_report_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + salinity_report *arg1 = (salinity_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_salinity_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "salinity_report_spare_get" "', argument " "1"" of type '" "salinity_report *""'"); + } + arg1 = (salinity_report *)(argp1); + result = (unsigned int) ((arg1)->spare); + resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_salinity_report(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + salinity_report *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_salinity_report", 0, 0, 0)) SWIG_fail; + result = (salinity_report *)calloc(1, sizeof(salinity_report)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_salinity_report, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_salinity_report(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + salinity_report *arg1 = (salinity_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_salinity_report, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_salinity_report" "', argument " "1"" of type '" "salinity_report *""'"); + } + arg1 = (salinity_report *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *salinity_report_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_salinity_report, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *salinity_report_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_procession_order_order_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + procession_order *arg1 = (procession_order *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "procession_order_order_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_procession_order, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "procession_order_order_set" "', argument " "1"" of type '" "procession_order *""'"); + } + arg1 = (procession_order *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "procession_order_order_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->order = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_procession_order_order_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + procession_order *arg1 = (procession_order *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_procession_order, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "procession_order_order_get" "', argument " "1"" of type '" "procession_order *""'"); + } + arg1 = (procession_order *)(argp1); + result = (char) ((arg1)->order); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_procession_order_vessel_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + procession_order *arg1 = (procession_order *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[16] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "procession_order_vessel_name_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_procession_order, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "procession_order_vessel_name_set" "', argument " "1"" of type '" "procession_order *""'"); + } + arg1 = (procession_order *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 16); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "procession_order_vessel_name_set" "', argument " "2"" of type '" "char [16]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->vessel_name,arg2,16*sizeof(char)); + else memset(arg1->vessel_name,0,16*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_procession_order_vessel_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + procession_order *arg1 = (procession_order *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_procession_order, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "procession_order_vessel_name_get" "', argument " "1"" of type '" "procession_order *""'"); + } + arg1 = (procession_order *)(argp1); + result = (char *)(char *) ((arg1)->vessel_name); + { + size_t size = SWIG_strnlen(result, 16); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_procession_order_position_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + procession_order *arg1 = (procession_order *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[14] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "procession_order_position_name_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_procession_order, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "procession_order_position_name_set" "', argument " "1"" of type '" "procession_order *""'"); + } + arg1 = (procession_order *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 14); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "procession_order_position_name_set" "', argument " "2"" of type '" "char [14]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->position_name,arg2,14*sizeof(char)); + else memset(arg1->position_name,0,14*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_procession_order_position_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + procession_order *arg1 = (procession_order *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_procession_order, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "procession_order_position_name_get" "', argument " "1"" of type '" "procession_order *""'"); + } + arg1 = (procession_order *)(argp1); + result = (char *)(char *) ((arg1)->position_name); + { + size_t size = SWIG_strnlen(result, 14); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_procession_order_time_hh_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + procession_order *arg1 = (procession_order *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "procession_order_time_hh_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_procession_order, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "procession_order_time_hh_set" "', argument " "1"" of type '" "procession_order *""'"); + } + arg1 = (procession_order *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "procession_order_time_hh_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->time_hh = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_procession_order_time_hh_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + procession_order *arg1 = (procession_order *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_procession_order, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "procession_order_time_hh_get" "', argument " "1"" of type '" "procession_order *""'"); + } + arg1 = (procession_order *)(argp1); + result = (char) ((arg1)->time_hh); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_procession_order_time_mm_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + procession_order *arg1 = (procession_order *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "procession_order_time_mm_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_procession_order, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "procession_order_time_mm_set" "', argument " "1"" of type '" "procession_order *""'"); + } + arg1 = (procession_order *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "procession_order_time_mm_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->time_mm = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_procession_order_time_mm_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + procession_order *arg1 = (procession_order *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_procession_order, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "procession_order_time_mm_get" "', argument " "1"" of type '" "procession_order *""'"); + } + arg1 = (procession_order *)(argp1); + result = (char) ((arg1)->time_mm); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_procession_order_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + procession_order *arg1 = (procession_order *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "procession_order_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_procession_order, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "procession_order_spare_set" "', argument " "1"" of type '" "procession_order *""'"); + } + arg1 = (procession_order *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "procession_order_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_procession_order_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + procession_order *arg1 = (procession_order *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_procession_order, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "procession_order_spare_get" "', argument " "1"" of type '" "procession_order *""'"); + } + arg1 = (procession_order *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_procession_order(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + procession_order *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_procession_order", 0, 0, 0)) SWIG_fail; + result = (procession_order *)calloc(1, sizeof(procession_order)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_procession_order, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_procession_order(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + procession_order *arg1 = (procession_order *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_procession_order, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_procession_order" "', argument " "1"" of type '" "procession_order *""'"); + } + arg1 = (procession_order *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *procession_order_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_procession_order, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *procession_order_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_seaway1_1_report_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway1_1 *arg1 = (seaway1_1 *) 0 ; + weather_report *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway1_1_report_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway1_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway1_1_report_set" "', argument " "1"" of type '" "seaway1_1 *""'"); + } + arg1 = (seaway1_1 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "seaway1_1_report_set" "', argument " "2"" of type '" "weather_report [4]""'"); + } + arg2 = (weather_report *)(argp2); + { + if (arg2) { + size_t ii = 0; + for (; ii < (size_t)4; ++ii) *(weather_report *)&arg1->report[ii] = *((weather_report *)arg2 + ii); + } else { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""report""' of type '""weather_report [4]""'"); + } + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway1_1_report_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway1_1 *arg1 = (seaway1_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + weather_report *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway1_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway1_1_report_get" "', argument " "1"" of type '" "seaway1_1 *""'"); + } + arg1 = (seaway1_1 *)(argp1); + result = (weather_report *)(weather_report *) ((arg1)->report); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_weather_report, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_seaway1_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway1_1 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_seaway1_1", 0, 0, 0)) SWIG_fail; + result = (seaway1_1 *)calloc(1, sizeof(seaway1_1)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_seaway1_1, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_seaway1_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway1_1 *arg1 = (seaway1_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway1_1, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_seaway1_1" "', argument " "1"" of type '" "seaway1_1 *""'"); + } + arg1 = (seaway1_1 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *seaway1_1_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_seaway1_1, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *seaway1_1_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_seaway1_2_report_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway1_2 *arg1 = (seaway1_2 *) 0 ; + wind_report *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway1_2_report_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway1_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway1_2_report_set" "', argument " "1"" of type '" "seaway1_2 *""'"); + } + arg1 = (seaway1_2 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wind_report, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "seaway1_2_report_set" "', argument " "2"" of type '" "wind_report [6]""'"); + } + arg2 = (wind_report *)(argp2); + { + if (arg2) { + size_t ii = 0; + for (; ii < (size_t)6; ++ii) *(wind_report *)&arg1->report[ii] = *((wind_report *)arg2 + ii); + } else { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""report""' of type '""wind_report [6]""'"); + } + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway1_2_report_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway1_2 *arg1 = (seaway1_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + wind_report *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway1_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway1_2_report_get" "', argument " "1"" of type '" "seaway1_2 *""'"); + } + arg1 = (seaway1_2 *)(argp1); + result = (wind_report *)(wind_report *) ((arg1)->report); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wind_report, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_seaway1_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway1_2 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_seaway1_2", 0, 0, 0)) SWIG_fail; + result = (seaway1_2 *)calloc(1, sizeof(seaway1_2)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_seaway1_2, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_seaway1_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway1_2 *arg1 = (seaway1_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway1_2, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_seaway1_2" "', argument " "1"" of type '" "seaway1_2 *""'"); + } + arg1 = (seaway1_2 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *seaway1_2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_seaway1_2, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *seaway1_2_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_seaway1_3_report_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway1_3 *arg1 = (seaway1_3 *) 0 ; + water_level_report *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway1_3_report_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway1_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway1_3_report_set" "', argument " "1"" of type '" "seaway1_3 *""'"); + } + arg1 = (seaway1_3 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_water_level_report, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "seaway1_3_report_set" "', argument " "2"" of type '" "water_level_report [6]""'"); + } + arg2 = (water_level_report *)(argp2); + { + if (arg2) { + size_t ii = 0; + for (; ii < (size_t)6; ++ii) *(water_level_report *)&arg1->report[ii] = *((water_level_report *)arg2 + ii); + } else { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""report""' of type '""water_level_report [6]""'"); + } + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway1_3_report_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway1_3 *arg1 = (seaway1_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + water_level_report *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway1_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway1_3_report_get" "', argument " "1"" of type '" "seaway1_3 *""'"); + } + arg1 = (seaway1_3 *)(argp1); + result = (water_level_report *)(water_level_report *) ((arg1)->report); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_water_level_report, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_seaway1_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway1_3 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_seaway1_3", 0, 0, 0)) SWIG_fail; + result = (seaway1_3 *)calloc(1, sizeof(seaway1_3)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_seaway1_3, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_seaway1_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway1_3 *arg1 = (seaway1_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway1_3, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_seaway1_3" "', argument " "1"" of type '" "seaway1_3 *""'"); + } + arg1 = (seaway1_3 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *seaway1_3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_seaway1_3, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *seaway1_3_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_seaway1_6_report_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway1_6 *arg1 = (seaway1_6 *) 0 ; + water_flow_report *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway1_6_report_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway1_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway1_6_report_set" "', argument " "1"" of type '" "seaway1_6 *""'"); + } + arg1 = (seaway1_6 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_water_flow_report, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "seaway1_6_report_set" "', argument " "2"" of type '" "water_flow_report [6]""'"); + } + arg2 = (water_flow_report *)(argp2); + { + if (arg2) { + size_t ii = 0; + for (; ii < (size_t)6; ++ii) *(water_flow_report *)&arg1->report[ii] = *((water_flow_report *)arg2 + ii); + } else { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""report""' of type '""water_flow_report [6]""'"); + } + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway1_6_report_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway1_6 *arg1 = (seaway1_6 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + water_flow_report *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway1_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway1_6_report_get" "', argument " "1"" of type '" "seaway1_6 *""'"); + } + arg1 = (seaway1_6 *)(argp1); + result = (water_flow_report *)(water_flow_report *) ((arg1)->report); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_water_flow_report, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_seaway1_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway1_6 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_seaway1_6", 0, 0, 0)) SWIG_fail; + result = (seaway1_6 *)calloc(1, sizeof(seaway1_6)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_seaway1_6, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_seaway1_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway1_6 *arg1 = (seaway1_6 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway1_6, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_seaway1_6" "', argument " "1"" of type '" "seaway1_6 *""'"); + } + arg1 = (seaway1_6 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *seaway1_6_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_seaway1_6, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *seaway1_6_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_seaway2_1_utc_time_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_1 *arg1 = (seaway2_1 *) 0 ; + timetag *arg2 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway2_1_utc_time_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_1_utc_time_set" "', argument " "1"" of type '" "seaway2_1 *""'"); + } + arg1 = (seaway2_1 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "seaway2_1_utc_time_set" "', argument " "2"" of type '" "timetag *""'"); + } + arg2 = (timetag *)(argp2); + if (arg1) (arg1)->utc_time = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_1_utc_time_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_1 *arg1 = (seaway2_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_1_utc_time_get" "', argument " "1"" of type '" "seaway2_1 *""'"); + } + arg1 = (seaway2_1 *)(argp1); + result = (timetag *)& ((arg1)->utc_time); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_1_lock_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_1 *arg1 = (seaway2_1 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[8] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway2_1_lock_id_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_1_lock_id_set" "', argument " "1"" of type '" "seaway2_1 *""'"); + } + arg1 = (seaway2_1 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 8); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "seaway2_1_lock_id_set" "', argument " "2"" of type '" "char [8]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->lock_id,arg2,8*sizeof(char)); + else memset(arg1->lock_id,0,8*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_1_lock_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_1 *arg1 = (seaway2_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_1_lock_id_get" "', argument " "1"" of type '" "seaway2_1 *""'"); + } + arg1 = (seaway2_1 *)(argp1); + result = (char *)(char *) ((arg1)->lock_id); + { + size_t size = SWIG_strnlen(result, 8); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_1_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_1 *arg1 = (seaway2_1 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway2_1_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_1_longitude_set" "', argument " "1"" of type '" "seaway2_1 *""'"); + } + arg1 = (seaway2_1 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "seaway2_1_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_1_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_1 *arg1 = (seaway2_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_1_longitude_get" "', argument " "1"" of type '" "seaway2_1 *""'"); + } + arg1 = (seaway2_1 *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_1_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_1 *arg1 = (seaway2_1 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway2_1_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_1_latitude_set" "', argument " "1"" of type '" "seaway2_1 *""'"); + } + arg1 = (seaway2_1 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "seaway2_1_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_1_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_1 *arg1 = (seaway2_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_1_latitude_get" "', argument " "1"" of type '" "seaway2_1 *""'"); + } + arg1 = (seaway2_1 *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_1_spare2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_1 *arg1 = (seaway2_1 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway2_1_spare2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_1_spare2_set" "', argument " "1"" of type '" "seaway2_1 *""'"); + } + arg1 = (seaway2_1 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "seaway2_1_spare2_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->spare2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_1_spare2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_1 *arg1 = (seaway2_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_1_spare2_get" "', argument " "1"" of type '" "seaway2_1 *""'"); + } + arg1 = (seaway2_1 *)(argp1); + result = (int) ((arg1)->spare2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_1_schedule_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_1 *arg1 = (seaway2_1 *) 0 ; + lock_schedule *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway2_1_schedule_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_1_schedule_set" "', argument " "1"" of type '" "seaway2_1 *""'"); + } + arg1 = (seaway2_1 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_lock_schedule, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "seaway2_1_schedule_set" "', argument " "2"" of type '" "lock_schedule [6]""'"); + } + arg2 = (lock_schedule *)(argp2); + { + if (arg2) { + size_t ii = 0; + for (; ii < (size_t)6; ++ii) *(lock_schedule *)&arg1->schedule[ii] = *((lock_schedule *)arg2 + ii); + } else { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""schedule""' of type '""lock_schedule [6]""'"); + } + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_1_schedule_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_1 *arg1 = (seaway2_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + lock_schedule *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_1_schedule_get" "', argument " "1"" of type '" "seaway2_1 *""'"); + } + arg1 = (seaway2_1 *)(argp1); + result = (lock_schedule *)(lock_schedule *) ((arg1)->schedule); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lock_schedule, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_seaway2_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_1 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_seaway2_1", 0, 0, 0)) SWIG_fail; + result = (seaway2_1 *)calloc(1, sizeof(seaway2_1)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_seaway2_1, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_seaway2_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_1 *arg1 = (seaway2_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_1, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_seaway2_1" "', argument " "1"" of type '" "seaway2_1 *""'"); + } + arg1 = (seaway2_1 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *seaway2_1_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_seaway2_1, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *seaway2_1_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_seaway2_2_utc_time_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + timetag *arg2 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway2_2_utc_time_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_2_utc_time_set" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "seaway2_2_utc_time_set" "', argument " "2"" of type '" "timetag *""'"); + } + arg2 = (timetag *)(argp2); + if (arg1) (arg1)->utc_time = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_2_utc_time_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_2_utc_time_get" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + result = (timetag *)& ((arg1)->utc_time); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_2_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[16] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway2_2_name_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_2_name_set" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 16); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "seaway2_2_name_set" "', argument " "2"" of type '" "char [16]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->name,arg2,16*sizeof(char)); + else memset(arg1->name,0,16*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_2_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_2_name_get" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + result = (char *)(char *) ((arg1)->name); + { + size_t size = SWIG_strnlen(result, 16); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_2_last_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[8] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway2_2_last_location_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_2_last_location_set" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 8); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "seaway2_2_last_location_set" "', argument " "2"" of type '" "char [8]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->last_location,arg2,8*sizeof(char)); + else memset(arg1->last_location,0,8*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_2_last_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_2_last_location_get" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + result = (char *)(char *) ((arg1)->last_location); + { + size_t size = SWIG_strnlen(result, 8); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_2_last_ata_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + timetag *arg2 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway2_2_last_ata_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_2_last_ata_set" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "seaway2_2_last_ata_set" "', argument " "2"" of type '" "timetag *""'"); + } + arg2 = (timetag *)(argp2); + if (arg1) (arg1)->last_ata = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_2_last_ata_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_2_last_ata_get" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + result = (timetag *)& ((arg1)->last_ata); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_2_first_lock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[8] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway2_2_first_lock_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_2_first_lock_set" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 8); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "seaway2_2_first_lock_set" "', argument " "2"" of type '" "char [8]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->first_lock,arg2,8*sizeof(char)); + else memset(arg1->first_lock,0,8*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_2_first_lock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_2_first_lock_get" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + result = (char *)(char *) ((arg1)->first_lock); + { + size_t size = SWIG_strnlen(result, 8); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_2_first_eta_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + timetag *arg2 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway2_2_first_eta_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_2_first_eta_set" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "seaway2_2_first_eta_set" "', argument " "2"" of type '" "timetag *""'"); + } + arg2 = (timetag *)(argp2); + if (arg1) (arg1)->first_eta = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_2_first_eta_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_2_first_eta_get" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + result = (timetag *)& ((arg1)->first_eta); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_2_second_lock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[8] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway2_2_second_lock_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_2_second_lock_set" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 8); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "seaway2_2_second_lock_set" "', argument " "2"" of type '" "char [8]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->second_lock,arg2,8*sizeof(char)); + else memset(arg1->second_lock,0,8*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_2_second_lock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_2_second_lock_get" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + result = (char *)(char *) ((arg1)->second_lock); + { + size_t size = SWIG_strnlen(result, 8); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_2_second_eta_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + timetag *arg2 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway2_2_second_eta_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_2_second_eta_set" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "seaway2_2_second_eta_set" "', argument " "2"" of type '" "timetag *""'"); + } + arg2 = (timetag *)(argp2); + if (arg1) (arg1)->second_eta = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_2_second_eta_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_2_second_eta_get" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + result = (timetag *)& ((arg1)->second_eta); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_2_delay_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[8] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway2_2_delay_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_2_delay_set" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 8); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "seaway2_2_delay_set" "', argument " "2"" of type '" "char [8]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->delay,arg2,8*sizeof(char)); + else memset(arg1->delay,0,8*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_2_delay_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_2_delay_get" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + result = (char *)(char *) ((arg1)->delay); + { + size_t size = SWIG_strnlen(result, 8); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_2_spare2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway2_2_spare2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_2_spare2_set" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "seaway2_2_spare2_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway2_2_spare2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway2_2_spare2_get" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + result = (char) ((arg1)->spare2); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_seaway2_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_seaway2_2", 0, 0, 0)) SWIG_fail; + result = (seaway2_2 *)calloc(1, sizeof(seaway2_2)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_seaway2_2, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_seaway2_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_seaway2_2" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *seaway2_2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_seaway2_2, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *seaway2_2_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_seaway32_1_major_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway32_1 *arg1 = (seaway32_1 *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway32_1_major_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway32_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway32_1_major_set" "', argument " "1"" of type '" "seaway32_1 *""'"); + } + arg1 = (seaway32_1 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "seaway32_1_major_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->major = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway32_1_major_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway32_1 *arg1 = (seaway32_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway32_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway32_1_major_get" "', argument " "1"" of type '" "seaway32_1 *""'"); + } + arg1 = (seaway32_1 *)(argp1); + result = (unsigned char) ((arg1)->major); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway32_1_minor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway32_1 *arg1 = (seaway32_1 *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway32_1_minor_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway32_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway32_1_minor_set" "', argument " "1"" of type '" "seaway32_1 *""'"); + } + arg1 = (seaway32_1 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "seaway32_1_minor_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->minor = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway32_1_minor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway32_1 *arg1 = (seaway32_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway32_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway32_1_minor_get" "', argument " "1"" of type '" "seaway32_1 *""'"); + } + arg1 = (seaway32_1 *)(argp1); + result = (unsigned char) ((arg1)->minor); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway32_1_spare2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway32_1 *arg1 = (seaway32_1 *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "seaway32_1_spare2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway32_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway32_1_spare2_set" "', argument " "1"" of type '" "seaway32_1 *""'"); + } + arg1 = (seaway32_1 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "seaway32_1_spare2_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->spare2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_seaway32_1_spare2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway32_1 *arg1 = (seaway32_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway32_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "seaway32_1_spare2_get" "', argument " "1"" of type '" "seaway32_1 *""'"); + } + arg1 = (seaway32_1 *)(argp1); + result = (unsigned char) ((arg1)->spare2); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_seaway32_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway32_1 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_seaway32_1", 0, 0, 0)) SWIG_fail; + result = (seaway32_1 *)calloc(1, sizeof(seaway32_1)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_seaway32_1, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_seaway32_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway32_1 *arg1 = (seaway32_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway32_1, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_seaway32_1" "', argument " "1"" of type '" "seaway32_1 *""'"); + } + arg1 = (seaway32_1 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *seaway32_1_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_seaway32_1, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *seaway32_1_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_pawss1_4_report_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss1_4 *arg1 = (pawss1_4 *) 0 ; + current_report *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "pawss1_4_report_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss1_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pawss1_4_report_set" "', argument " "1"" of type '" "pawss1_4 *""'"); + } + arg1 = (pawss1_4 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_current_report, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pawss1_4_report_set" "', argument " "2"" of type '" "current_report [6]""'"); + } + arg2 = (current_report *)(argp2); + { + if (arg2) { + size_t ii = 0; + for (; ii < (size_t)6; ++ii) *(current_report *)&arg1->report[ii] = *((current_report *)arg2 + ii); + } else { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""report""' of type '""current_report [6]""'"); + } + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pawss1_4_report_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss1_4 *arg1 = (pawss1_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + current_report *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss1_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pawss1_4_report_get" "', argument " "1"" of type '" "pawss1_4 *""'"); + } + arg1 = (pawss1_4 *)(argp1); + result = (current_report *)(current_report *) ((arg1)->report); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_current_report, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_pawss1_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss1_4 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_pawss1_4", 0, 0, 0)) SWIG_fail; + result = (pawss1_4 *)calloc(1, sizeof(pawss1_4)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pawss1_4, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_pawss1_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss1_4 *arg1 = (pawss1_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss1_4, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_pawss1_4" "', argument " "1"" of type '" "pawss1_4 *""'"); + } + arg1 = (pawss1_4 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *pawss1_4_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_pawss1_4, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *pawss1_4_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_pawss1_5_report_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss1_5 *arg1 = (pawss1_5 *) 0 ; + salinity_report *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "pawss1_5_report_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss1_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pawss1_5_report_set" "', argument " "1"" of type '" "pawss1_5 *""'"); + } + arg1 = (pawss1_5 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_salinity_report, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pawss1_5_report_set" "', argument " "2"" of type '" "salinity_report [6]""'"); + } + arg2 = (salinity_report *)(argp2); + { + if (arg2) { + size_t ii = 0; + for (; ii < (size_t)6; ++ii) *(salinity_report *)&arg1->report[ii] = *((salinity_report *)arg2 + ii); + } else { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""report""' of type '""salinity_report [6]""'"); + } + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pawss1_5_report_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss1_5 *arg1 = (pawss1_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + salinity_report *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss1_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pawss1_5_report_get" "', argument " "1"" of type '" "pawss1_5 *""'"); + } + arg1 = (pawss1_5 *)(argp1); + result = (salinity_report *)(salinity_report *) ((arg1)->report); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_salinity_report, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_pawss1_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss1_5 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_pawss1_5", 0, 0, 0)) SWIG_fail; + result = (pawss1_5 *)calloc(1, sizeof(pawss1_5)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pawss1_5, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_pawss1_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss1_5 *arg1 = (pawss1_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss1_5, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_pawss1_5" "', argument " "1"" of type '" "pawss1_5 *""'"); + } + arg1 = (pawss1_5 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *pawss1_5_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_pawss1_5, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *pawss1_5_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_pawss2_3_utc_time_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss2_3 *arg1 = (pawss2_3 *) 0 ; + timetag *arg2 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "pawss2_3_utc_time_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss2_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pawss2_3_utc_time_set" "', argument " "1"" of type '" "pawss2_3 *""'"); + } + arg1 = (pawss2_3 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pawss2_3_utc_time_set" "', argument " "2"" of type '" "timetag *""'"); + } + arg2 = (timetag *)(argp2); + if (arg1) (arg1)->utc_time = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pawss2_3_utc_time_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss2_3 *arg1 = (pawss2_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss2_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pawss2_3_utc_time_get" "', argument " "1"" of type '" "pawss2_3 *""'"); + } + arg1 = (pawss2_3 *)(argp1); + result = (timetag *)& ((arg1)->utc_time); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pawss2_3_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss2_3 *arg1 = (pawss2_3 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[17] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "pawss2_3_direction_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss2_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pawss2_3_direction_set" "', argument " "1"" of type '" "pawss2_3 *""'"); + } + arg1 = (pawss2_3 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 17); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pawss2_3_direction_set" "', argument " "2"" of type '" "char [17]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->direction,arg2,17*sizeof(char)); + else memset(arg1->direction,0,17*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pawss2_3_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss2_3 *arg1 = (pawss2_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss2_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pawss2_3_direction_get" "', argument " "1"" of type '" "pawss2_3 *""'"); + } + arg1 = (pawss2_3 *)(argp1); + result = (char *)(char *) ((arg1)->direction); + { + size_t size = SWIG_strnlen(result, 17); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pawss2_3_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss2_3 *arg1 = (pawss2_3 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "pawss2_3_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss2_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pawss2_3_longitude_set" "', argument " "1"" of type '" "pawss2_3 *""'"); + } + arg1 = (pawss2_3 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pawss2_3_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pawss2_3_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss2_3 *arg1 = (pawss2_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss2_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pawss2_3_longitude_get" "', argument " "1"" of type '" "pawss2_3 *""'"); + } + arg1 = (pawss2_3 *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pawss2_3_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss2_3 *arg1 = (pawss2_3 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "pawss2_3_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss2_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pawss2_3_latitude_set" "', argument " "1"" of type '" "pawss2_3 *""'"); + } + arg1 = (pawss2_3 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pawss2_3_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pawss2_3_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss2_3 *arg1 = (pawss2_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss2_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pawss2_3_latitude_get" "', argument " "1"" of type '" "pawss2_3 *""'"); + } + arg1 = (pawss2_3 *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pawss2_3_spare2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss2_3 *arg1 = (pawss2_3 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "pawss2_3_spare2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss2_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pawss2_3_spare2_set" "', argument " "1"" of type '" "pawss2_3 *""'"); + } + arg1 = (pawss2_3 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pawss2_3_spare2_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pawss2_3_spare2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss2_3 *arg1 = (pawss2_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss2_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pawss2_3_spare2_get" "', argument " "1"" of type '" "pawss2_3 *""'"); + } + arg1 = (pawss2_3 *)(argp1); + result = (char) ((arg1)->spare2); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pawss2_3_report_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss2_3 *arg1 = (pawss2_3 *) 0 ; + procession_order *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "pawss2_3_report_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss2_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pawss2_3_report_set" "', argument " "1"" of type '" "pawss2_3 *""'"); + } + arg1 = (pawss2_3 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_procession_order, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pawss2_3_report_set" "', argument " "2"" of type '" "procession_order [4]""'"); + } + arg2 = (procession_order *)(argp2); + { + if (arg2) { + size_t ii = 0; + for (; ii < (size_t)4; ++ii) *(procession_order *)&arg1->report[ii] = *((procession_order *)arg2 + ii); + } else { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""report""' of type '""procession_order [4]""'"); + } + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pawss2_3_report_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss2_3 *arg1 = (pawss2_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + procession_order *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss2_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pawss2_3_report_get" "', argument " "1"" of type '" "pawss2_3 *""'"); + } + arg1 = (pawss2_3 *)(argp1); + result = (procession_order *)(procession_order *) ((arg1)->report); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_procession_order, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_pawss2_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss2_3 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_pawss2_3", 0, 0, 0)) SWIG_fail; + result = (pawss2_3 *)calloc(1, sizeof(pawss2_3)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pawss2_3, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_pawss2_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss2_3 *arg1 = (pawss2_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss2_3, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_pawss2_3" "', argument " "1"" of type '" "pawss2_3 *""'"); + } + arg1 = (pawss2_3 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *pawss2_3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_pawss2_3, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *pawss2_3_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_parse_seaway1_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + seaway1_1 *arg2 = (seaway1_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_seaway1_1", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_seaway1_1" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_seaway1_1, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_seaway1_1" "', argument " "2"" of type '" "seaway1_1 *""'"); + } + arg2 = (seaway1_1 *)(argp2); + result = (int)parse_seaway1_1(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_seaway1_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + seaway1_2 *arg2 = (seaway1_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_seaway1_2", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_seaway1_2" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_seaway1_2, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_seaway1_2" "', argument " "2"" of type '" "seaway1_2 *""'"); + } + arg2 = (seaway1_2 *)(argp2); + result = (int)parse_seaway1_2(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_seaway1_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + seaway1_3 *arg2 = (seaway1_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_seaway1_3", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_seaway1_3" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_seaway1_3, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_seaway1_3" "', argument " "2"" of type '" "seaway1_3 *""'"); + } + arg2 = (seaway1_3 *)(argp2); + result = (int)parse_seaway1_3(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_seaway1_6(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + seaway1_6 *arg2 = (seaway1_6 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_seaway1_6", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_seaway1_6" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_seaway1_6, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_seaway1_6" "', argument " "2"" of type '" "seaway1_6 *""'"); + } + arg2 = (seaway1_6 *)(argp2); + result = (int)parse_seaway1_6(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_seaway2_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + seaway2_1 *arg2 = (seaway2_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_seaway2_1", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_seaway2_1" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_seaway2_1, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_seaway2_1" "', argument " "2"" of type '" "seaway2_1 *""'"); + } + arg2 = (seaway2_1 *)(argp2); + result = (int)parse_seaway2_1(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_seaway2_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + seaway2_2 *arg2 = (seaway2_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_seaway2_2", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_seaway2_2" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_seaway2_2" "', argument " "2"" of type '" "seaway2_2 *""'"); + } + arg2 = (seaway2_2 *)(argp2); + result = (int)parse_seaway2_2(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_seaway32_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + seaway32_1 *arg2 = (seaway32_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_seaway32_1", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_seaway32_1" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_seaway32_1, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_seaway32_1" "', argument " "2"" of type '" "seaway32_1 *""'"); + } + arg2 = (seaway32_1 *)(argp2); + result = (int)parse_seaway32_1(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_pawss1_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + pawss1_4 *arg2 = (pawss1_4 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_pawss1_4", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_pawss1_4" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_pawss1_4, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_pawss1_4" "', argument " "2"" of type '" "pawss1_4 *""'"); + } + arg2 = (pawss1_4 *)(argp2); + result = (int)parse_pawss1_4(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_pawss1_5(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + pawss1_5 *arg2 = (pawss1_5 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_pawss1_5", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_pawss1_5" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_pawss1_5, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_pawss1_5" "', argument " "2"" of type '" "pawss1_5 *""'"); + } + arg2 = (pawss1_5 *)(argp2); + result = (int)parse_pawss1_5(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_pawss2_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + pawss2_3 *arg2 = (pawss2_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_pawss2_3", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_pawss2_3" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_pawss2_3, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_pawss2_3" "', argument " "2"" of type '" "pawss2_3 *""'"); + } + arg2 = (pawss2_3 *)(argp2); + result = (int)parse_pawss2_3(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_latitude_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_latitude_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_longitude_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_longitude_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_timedate_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + unsigned int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_timedate_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_timedate_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_timedate_set" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = (unsigned int)(val2); + if (arg1) (arg1)->timedate = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_timedate_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_timedate_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (unsigned int) ((arg1)->timedate); + resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_wind_avg_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_wind_avg_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_wind_avg_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_wind_avg_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->wind_avg = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_wind_avg_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_wind_avg_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (char) ((arg1)->wind_avg); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_wind_gust_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_wind_gust_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_wind_gust_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_wind_gust_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->wind_gust = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_wind_gust_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_wind_gust_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (char) ((arg1)->wind_gust); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_wind_dir_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_wind_dir_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_wind_dir_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_wind_dir_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->wind_dir = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_wind_dir_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_wind_dir_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (int) ((arg1)->wind_dir); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_gust_dir_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_gust_dir_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_gust_dir_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_gust_dir_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->gust_dir = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_gust_dir_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_gust_dir_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (int) ((arg1)->gust_dir); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_air_temp_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_air_temp_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_air_temp_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_air_temp_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->air_temp = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_air_temp_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_air_temp_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (int) ((arg1)->air_temp); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_humidity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_humidity_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_humidity_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_humidity_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->humidity = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_humidity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_humidity_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (char) ((arg1)->humidity); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_dew_point_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_dew_point_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_dew_point_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_dew_point_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->dew_point = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_dew_point_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_dew_point_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (int) ((arg1)->dew_point); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_pressure_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_pressure_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_pressure_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_pressure_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->pressure = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_pressure_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_pressure_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (int) ((arg1)->pressure); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_tendency_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_tendency_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_tendency_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_tendency_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->tendency = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_tendency_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_tendency_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (char) ((arg1)->tendency); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_visibility_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_visibility_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_visibility_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_visibility_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->visibility = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_visibility_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_visibility_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (int) ((arg1)->visibility); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_water_level_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_water_level_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_water_level_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_water_level_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->water_level = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_water_level_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_water_level_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (int) ((arg1)->water_level); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_water_trend_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_water_trend_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_water_trend_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_water_trend_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->water_trend = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_water_trend_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_water_trend_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (char) ((arg1)->water_trend); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_surface_speed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_surface_speed_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_surface_speed_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_surface_speed_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->surface_speed = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_surface_speed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_surface_speed_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (char) ((arg1)->surface_speed); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_surface_dir_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_surface_dir_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_surface_dir_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_surface_dir_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->surface_dir = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_surface_dir_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_surface_dir_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (int) ((arg1)->surface_dir); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_speed_2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_speed_2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_speed_2_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_speed_2_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->speed_2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_speed_2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_speed_2_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (char) ((arg1)->speed_2); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_dir_2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_dir_2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_dir_2_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_dir_2_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->dir_2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_dir_2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_dir_2_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (int) ((arg1)->dir_2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_level_2_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_level_2_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_level_2_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_level_2_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->level_2 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_level_2_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_level_2_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (char) ((arg1)->level_2); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_speed_3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_speed_3_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_speed_3_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_speed_3_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->speed_3 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_speed_3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_speed_3_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (char) ((arg1)->speed_3); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_dir_3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_dir_3_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_dir_3_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_dir_3_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->dir_3 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_dir_3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_dir_3_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (int) ((arg1)->dir_3); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_level_3_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_level_3_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_level_3_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_level_3_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->level_3 = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_level_3_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_level_3_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (char) ((arg1)->level_3); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_wave_height_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_wave_height_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_wave_height_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_wave_height_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->wave_height = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_wave_height_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_wave_height_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (char) ((arg1)->wave_height); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_wave_period_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_wave_period_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_wave_period_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_wave_period_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->wave_period = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_wave_period_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_wave_period_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (char) ((arg1)->wave_period); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_wave_dir_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_wave_dir_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_wave_dir_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_wave_dir_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->wave_dir = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_wave_dir_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_wave_dir_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (int) ((arg1)->wave_dir); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_swell_height_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_swell_height_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_swell_height_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_swell_height_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->swell_height = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_swell_height_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_swell_height_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (char) ((arg1)->swell_height); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_swell_period_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_swell_period_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_swell_period_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_swell_period_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->swell_period = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_swell_period_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_swell_period_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (char) ((arg1)->swell_period); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_swell_dir_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_swell_dir_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_swell_dir_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_swell_dir_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->swell_dir = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_swell_dir_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_swell_dir_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (int) ((arg1)->swell_dir); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_sea_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_sea_state_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_sea_state_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_sea_state_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->sea_state = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_sea_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_sea_state_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (char) ((arg1)->sea_state); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_water_temp_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_water_temp_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_water_temp_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_water_temp_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->water_temp = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_water_temp_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_water_temp_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (int) ((arg1)->water_temp); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_precip_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_precip_type_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_precip_type_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_precip_type_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->precip_type = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_precip_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_precip_type_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (char) ((arg1)->precip_type); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_salanity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_salanity_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_salanity_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_salanity_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->salanity = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_salanity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_salanity_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (int) ((arg1)->salanity); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_ice_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_ice_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_ice_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_ice_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->ice = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_ice_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_ice_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (char) ((arg1)->ice); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_11_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_spare_set" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_11_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_11_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_11_spare_get" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_imo1_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_imo1_11", 0, 0, 0)) SWIG_fail; + result = (imo1_11 *)calloc(1, sizeof(imo1_11)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imo1_11, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_imo1_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_11 *arg1 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_11, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_imo1_11" "', argument " "1"" of type '" "imo1_11 *""'"); + } + arg1 = (imo1_11 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *imo1_11_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_imo1_11, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *imo1_11_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_imo1_12_last_port_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[7] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_12_last_port_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_12_last_port_set" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 7); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "imo1_12_last_port_set" "', argument " "2"" of type '" "char [7]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->last_port,arg2,7*sizeof(char)); + else memset(arg1->last_port,0,7*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_12_last_port_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_12_last_port_get" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + result = (char *)(char *) ((arg1)->last_port); + { + size_t size = SWIG_strnlen(result, 7); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_12_atd_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + timetag *arg2 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_12_atd_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_12_atd_set" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "imo1_12_atd_set" "', argument " "2"" of type '" "timetag *""'"); + } + arg2 = (timetag *)(argp2); + if (arg1) (arg1)->atd = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_12_atd_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_12_atd_get" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + result = (timetag *)& ((arg1)->atd); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_12_next_port_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[7] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_12_next_port_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_12_next_port_set" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 7); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "imo1_12_next_port_set" "', argument " "2"" of type '" "char [7]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->next_port,arg2,7*sizeof(char)); + else memset(arg1->next_port,0,7*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_12_next_port_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_12_next_port_get" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + result = (char *)(char *) ((arg1)->next_port); + { + size_t size = SWIG_strnlen(result, 7); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_12_eta_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + timetag *arg2 = (timetag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_12_eta_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_12_eta_set" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_timetag, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "imo1_12_eta_set" "', argument " "2"" of type '" "timetag *""'"); + } + arg2 = (timetag *)(argp2); + if (arg1) (arg1)->eta = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_12_eta_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_12_eta_get" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + result = (timetag *)& ((arg1)->eta); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_12_good_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[21] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_12_good_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_12_good_set" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 21); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "imo1_12_good_set" "', argument " "2"" of type '" "char [21]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->good,arg2,21*sizeof(char)); + else memset(arg1->good,0,21*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_12_good_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_12_good_get" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + result = (char *)(char *) ((arg1)->good); + { + size_t size = SWIG_strnlen(result, 21); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_12_imd_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[6] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_12_imd_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_12_imd_set" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 6); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "imo1_12_imd_set" "', argument " "2"" of type '" "char [6]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->imd,arg2,6*sizeof(char)); + else memset(arg1->imd,0,6*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_12_imd_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_12_imd_get" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + result = (char *)(char *) ((arg1)->imd); + { + size_t size = SWIG_strnlen(result, 6); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_12_un_number_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_12_un_number_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_12_un_number_set" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_12_un_number_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->un_number = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_12_un_number_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_12_un_number_get" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + result = (int) ((arg1)->un_number); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_12_quantity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_12_quantity_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_12_quantity_set" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_12_quantity_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->quantity = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_12_quantity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_12_quantity_get" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + result = (int) ((arg1)->quantity); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_12_units_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_12_units_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_12_units_set" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_12_units_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->units = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_12_units_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_12_units_get" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + result = (char) ((arg1)->units); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_12_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_12_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_12_spare_set" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_12_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_12_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_12_spare_get" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_imo1_12(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_imo1_12", 0, 0, 0)) SWIG_fail; + result = (imo1_12 *)calloc(1, sizeof(imo1_12)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imo1_12, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_imo1_12(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_imo1_12" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *imo1_12_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_imo1_12, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *imo1_12_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_imo1_13_reason_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[21] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_13_reason_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_reason_set" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 21); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "imo1_13_reason_set" "', argument " "2"" of type '" "char [21]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->reason,arg2,21*sizeof(char)); + else memset(arg1->reason,0,21*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_reason_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_reason_get" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + result = (char *)(char *) ((arg1)->reason); + { + size_t size = SWIG_strnlen(result, 21); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_location_from_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[21] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_13_location_from_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_location_from_set" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 21); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "imo1_13_location_from_set" "', argument " "2"" of type '" "char [21]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->location_from,arg2,21*sizeof(char)); + else memset(arg1->location_from,0,21*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_location_from_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_location_from_get" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + result = (char *)(char *) ((arg1)->location_from); + { + size_t size = SWIG_strnlen(result, 21); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_location_to_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[21] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_13_location_to_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_location_to_set" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 21); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "imo1_13_location_to_set" "', argument " "2"" of type '" "char [21]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->location_to,arg2,21*sizeof(char)); + else memset(arg1->location_to,0,21*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_location_to_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_location_to_get" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + result = (char *)(char *) ((arg1)->location_to); + { + size_t size = SWIG_strnlen(result, 21); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_extension_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_13_extension_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_extension_set" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_13_extension_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->extension = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_extension_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_extension_get" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + result = (int) ((arg1)->extension); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_units_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_13_units_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_units_set" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_13_units_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->units = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_units_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_units_get" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + result = (char) ((arg1)->units); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_from_day_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_13_from_day_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_from_day_set" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_13_from_day_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->from_day = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_from_day_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_from_day_get" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + result = (char) ((arg1)->from_day); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_from_month_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_13_from_month_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_from_month_set" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_13_from_month_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->from_month = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_from_month_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_from_month_get" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + result = (char) ((arg1)->from_month); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_from_hour_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_13_from_hour_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_from_hour_set" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_13_from_hour_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->from_hour = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_from_hour_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_from_hour_get" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + result = (char) ((arg1)->from_hour); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_from_minute_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_13_from_minute_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_from_minute_set" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_13_from_minute_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->from_minute = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_from_minute_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_from_minute_get" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + result = (char) ((arg1)->from_minute); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_to_day_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_13_to_day_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_to_day_set" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_13_to_day_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->to_day = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_to_day_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_to_day_get" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + result = (char) ((arg1)->to_day); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_to_month_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_13_to_month_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_to_month_set" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_13_to_month_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->to_month = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_to_month_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_to_month_get" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + result = (char) ((arg1)->to_month); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_to_hour_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_13_to_hour_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_to_hour_set" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_13_to_hour_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->to_hour = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_to_hour_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_to_hour_get" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + result = (char) ((arg1)->to_hour); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_to_minute_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_13_to_minute_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_to_minute_set" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_13_to_minute_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->to_minute = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_to_minute_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_to_minute_get" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + result = (char) ((arg1)->to_minute); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_13_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_spare_set" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_13_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_13_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_13_spare_get" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_imo1_13(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_imo1_13", 0, 0, 0)) SWIG_fail; + result = (imo1_13 *)calloc(1, sizeof(imo1_13)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imo1_13, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_imo1_13(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_13 *arg1 = (imo1_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_13, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_imo1_13" "', argument " "1"" of type '" "imo1_13 *""'"); + } + arg1 = (imo1_13 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *imo1_13_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_imo1_13, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *imo1_13_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_tidal_window_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + tidal_window *arg1 = (tidal_window *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "tidal_window_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_tidal_window, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "tidal_window_latitude_set" "', argument " "1"" of type '" "tidal_window *""'"); + } + arg1 = (tidal_window *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "tidal_window_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_tidal_window_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + tidal_window *arg1 = (tidal_window *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_tidal_window, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "tidal_window_latitude_get" "', argument " "1"" of type '" "tidal_window *""'"); + } + arg1 = (tidal_window *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_tidal_window_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + tidal_window *arg1 = (tidal_window *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "tidal_window_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_tidal_window, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "tidal_window_longitude_set" "', argument " "1"" of type '" "tidal_window *""'"); + } + arg1 = (tidal_window *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "tidal_window_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_tidal_window_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + tidal_window *arg1 = (tidal_window *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_tidal_window, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "tidal_window_longitude_get" "', argument " "1"" of type '" "tidal_window *""'"); + } + arg1 = (tidal_window *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_tidal_window_from_hour_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + tidal_window *arg1 = (tidal_window *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "tidal_window_from_hour_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_tidal_window, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "tidal_window_from_hour_set" "', argument " "1"" of type '" "tidal_window *""'"); + } + arg1 = (tidal_window *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "tidal_window_from_hour_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->from_hour = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_tidal_window_from_hour_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + tidal_window *arg1 = (tidal_window *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_tidal_window, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "tidal_window_from_hour_get" "', argument " "1"" of type '" "tidal_window *""'"); + } + arg1 = (tidal_window *)(argp1); + result = (char) ((arg1)->from_hour); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_tidal_window_from_minute_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + tidal_window *arg1 = (tidal_window *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "tidal_window_from_minute_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_tidal_window, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "tidal_window_from_minute_set" "', argument " "1"" of type '" "tidal_window *""'"); + } + arg1 = (tidal_window *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "tidal_window_from_minute_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->from_minute = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_tidal_window_from_minute_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + tidal_window *arg1 = (tidal_window *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_tidal_window, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "tidal_window_from_minute_get" "', argument " "1"" of type '" "tidal_window *""'"); + } + arg1 = (tidal_window *)(argp1); + result = (char) ((arg1)->from_minute); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_tidal_window_to_hour_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + tidal_window *arg1 = (tidal_window *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "tidal_window_to_hour_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_tidal_window, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "tidal_window_to_hour_set" "', argument " "1"" of type '" "tidal_window *""'"); + } + arg1 = (tidal_window *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "tidal_window_to_hour_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->to_hour = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_tidal_window_to_hour_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + tidal_window *arg1 = (tidal_window *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_tidal_window, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "tidal_window_to_hour_get" "', argument " "1"" of type '" "tidal_window *""'"); + } + arg1 = (tidal_window *)(argp1); + result = (char) ((arg1)->to_hour); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_tidal_window_to_minute_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + tidal_window *arg1 = (tidal_window *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "tidal_window_to_minute_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_tidal_window, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "tidal_window_to_minute_set" "', argument " "1"" of type '" "tidal_window *""'"); + } + arg1 = (tidal_window *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "tidal_window_to_minute_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->to_minute = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_tidal_window_to_minute_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + tidal_window *arg1 = (tidal_window *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_tidal_window, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "tidal_window_to_minute_get" "', argument " "1"" of type '" "tidal_window *""'"); + } + arg1 = (tidal_window *)(argp1); + result = (char) ((arg1)->to_minute); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_tidal_window_current_dir_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + tidal_window *arg1 = (tidal_window *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "tidal_window_current_dir_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_tidal_window, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "tidal_window_current_dir_set" "', argument " "1"" of type '" "tidal_window *""'"); + } + arg1 = (tidal_window *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "tidal_window_current_dir_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->current_dir = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_tidal_window_current_dir_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + tidal_window *arg1 = (tidal_window *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_tidal_window, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "tidal_window_current_dir_get" "', argument " "1"" of type '" "tidal_window *""'"); + } + arg1 = (tidal_window *)(argp1); + result = (int) ((arg1)->current_dir); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_tidal_window_current_speed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + tidal_window *arg1 = (tidal_window *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "tidal_window_current_speed_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_tidal_window, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "tidal_window_current_speed_set" "', argument " "1"" of type '" "tidal_window *""'"); + } + arg1 = (tidal_window *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "tidal_window_current_speed_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->current_speed = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_tidal_window_current_speed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + tidal_window *arg1 = (tidal_window *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_tidal_window, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "tidal_window_current_speed_get" "', argument " "1"" of type '" "tidal_window *""'"); + } + arg1 = (tidal_window *)(argp1); + result = (char) ((arg1)->current_speed); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_tidal_window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + tidal_window *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_tidal_window", 0, 0, 0)) SWIG_fail; + result = (tidal_window *)calloc(1, sizeof(tidal_window)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_tidal_window, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_tidal_window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + tidal_window *arg1 = (tidal_window *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_tidal_window, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_tidal_window" "', argument " "1"" of type '" "tidal_window *""'"); + } + arg1 = (tidal_window *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *tidal_window_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_tidal_window, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *tidal_window_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_imo1_14_utc_month_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_14 *arg1 = (imo1_14 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_14_utc_month_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_14, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_14_utc_month_set" "', argument " "1"" of type '" "imo1_14 *""'"); + } + arg1 = (imo1_14 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_14_utc_month_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->utc_month = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_14_utc_month_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_14 *arg1 = (imo1_14 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_14, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_14_utc_month_get" "', argument " "1"" of type '" "imo1_14 *""'"); + } + arg1 = (imo1_14 *)(argp1); + result = (char) ((arg1)->utc_month); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_14_utc_day_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_14 *arg1 = (imo1_14 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_14_utc_day_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_14, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_14_utc_day_set" "', argument " "1"" of type '" "imo1_14 *""'"); + } + arg1 = (imo1_14 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_14_utc_day_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->utc_day = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_14_utc_day_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_14 *arg1 = (imo1_14 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_14, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_14_utc_day_get" "', argument " "1"" of type '" "imo1_14 *""'"); + } + arg1 = (imo1_14 *)(argp1); + result = (char) ((arg1)->utc_day); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_14_windows_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_14 *arg1 = (imo1_14 *) 0 ; + tidal_window *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_14_windows_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_14, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_14_windows_set" "', argument " "1"" of type '" "imo1_14 *""'"); + } + arg1 = (imo1_14 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_tidal_window, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "imo1_14_windows_set" "', argument " "2"" of type '" "tidal_window [3]""'"); + } + arg2 = (tidal_window *)(argp2); + { + if (arg2) { + size_t ii = 0; + for (; ii < (size_t)3; ++ii) *(tidal_window *)&arg1->windows[ii] = *((tidal_window *)arg2 + ii); + } else { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""windows""' of type '""tidal_window [3]""'"); + } + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_14_windows_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_14 *arg1 = (imo1_14 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + tidal_window *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_14, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_14_windows_get" "', argument " "1"" of type '" "imo1_14 *""'"); + } + arg1 = (imo1_14 *)(argp1); + result = (tidal_window *)(tidal_window *) ((arg1)->windows); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_tidal_window, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_imo1_14(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_14 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_imo1_14", 0, 0, 0)) SWIG_fail; + result = (imo1_14 *)calloc(1, sizeof(imo1_14)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imo1_14, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_imo1_14(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_14 *arg1 = (imo1_14 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_14, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_imo1_14" "', argument " "1"" of type '" "imo1_14 *""'"); + } + arg1 = (imo1_14 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *imo1_14_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_imo1_14, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *imo1_14_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_imo1_15_ais_draught_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_15 *arg1 = (imo1_15 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_15_ais_draught_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_15_ais_draught_set" "', argument " "1"" of type '" "imo1_15 *""'"); + } + arg1 = (imo1_15 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_15_ais_draught_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->ais_draught = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_15_ais_draught_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_15 *arg1 = (imo1_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_15_ais_draught_get" "', argument " "1"" of type '" "imo1_15 *""'"); + } + arg1 = (imo1_15 *)(argp1); + result = (int) ((arg1)->ais_draught); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_15_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_15 *arg1 = (imo1_15 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_15_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_15_spare_set" "', argument " "1"" of type '" "imo1_15 *""'"); + } + arg1 = (imo1_15 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_15_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_15_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_15 *arg1 = (imo1_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_15, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_15_spare_get" "', argument " "1"" of type '" "imo1_15 *""'"); + } + arg1 = (imo1_15 *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_imo1_15(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_15 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_imo1_15", 0, 0, 0)) SWIG_fail; + result = (imo1_15 *)calloc(1, sizeof(imo1_15)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imo1_15, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_imo1_15(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_15 *arg1 = (imo1_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_15, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_imo1_15" "', argument " "1"" of type '" "imo1_15 *""'"); + } + arg1 = (imo1_15 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *imo1_15_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_imo1_15, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *imo1_15_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_imo1_16_num_persons_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_16 *arg1 = (imo1_16 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_16_num_persons_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_16_num_persons_set" "', argument " "1"" of type '" "imo1_16 *""'"); + } + arg1 = (imo1_16 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_16_num_persons_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->num_persons = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_16_num_persons_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_16 *arg1 = (imo1_16 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_16_num_persons_get" "', argument " "1"" of type '" "imo1_16 *""'"); + } + arg1 = (imo1_16 *)(argp1); + result = (int) ((arg1)->num_persons); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_16_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_16 *arg1 = (imo1_16 *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_16_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_16_spare_set" "', argument " "1"" of type '" "imo1_16 *""'"); + } + arg1 = (imo1_16 *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "imo1_16_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_16_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_16 *arg1 = (imo1_16 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_16, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_16_spare_get" "', argument " "1"" of type '" "imo1_16 *""'"); + } + arg1 = (imo1_16 *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_imo1_16(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_16 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_imo1_16", 0, 0, 0)) SWIG_fail; + result = (imo1_16 *)calloc(1, sizeof(imo1_16)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imo1_16, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_imo1_16(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_16 *arg1 = (imo1_16 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_16, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_imo1_16" "', argument " "1"" of type '" "imo1_16 *""'"); + } + arg1 = (imo1_16 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *imo1_16_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_imo1_16, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *imo1_16_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_pseudo_target_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "pseudo_target_type_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_type_set" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pseudo_target_type_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->type = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_type_get" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + result = (char) ((arg1)->type); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_mmsi_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "pseudo_target_mmsi_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_mmsi_set" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pseudo_target_mmsi_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->mmsi = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_mmsi_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_mmsi_get" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + result = (long) ((arg1)->mmsi); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_imo_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "pseudo_target_imo_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_imo_set" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pseudo_target_imo_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->imo = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_imo_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_imo_get" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + result = (long) ((arg1)->imo); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_callsign_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[8] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "pseudo_target_callsign_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_callsign_set" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 8); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pseudo_target_callsign_set" "', argument " "2"" of type '" "char [8]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->callsign,arg2,8*sizeof(char)); + else memset(arg1->callsign,0,8*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_callsign_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_callsign_get" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + result = (char *)(char *) ((arg1)->callsign); + { + size_t size = SWIG_strnlen(result, 8); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_other_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + char *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char temp2[8] ; + int res2 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "pseudo_target_other_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_other_set" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + res2 = SWIG_AsCharArray(swig_obj[1], temp2, 8); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pseudo_target_other_set" "', argument " "2"" of type '" "char [8]""'"); + } + arg2 = (char *)(temp2); + if (arg2) memcpy(arg1->other,arg2,8*sizeof(char)); + else memset(arg1->other,0,8*sizeof(char)); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_other_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_other_get" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + result = (char *)(char *) ((arg1)->other); + { + size_t size = SWIG_strnlen(result, 8); + + + + resultobj = SWIG_FromCharPtrAndSize(result, size); + } + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_spare_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "pseudo_target_spare_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_spare_set" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pseudo_target_spare_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->spare = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_spare_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_spare_get" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + result = (char) ((arg1)->spare); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_latitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "pseudo_target_latitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_latitude_set" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pseudo_target_latitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->latitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_latitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_latitude_get" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + result = (long) ((arg1)->latitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_longitude_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + long arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "pseudo_target_longitude_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_longitude_set" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + ecode2 = SWIG_AsVal_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pseudo_target_longitude_set" "', argument " "2"" of type '" "long""'"); + } + arg2 = (long)(val2); + if (arg1) (arg1)->longitude = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_longitude_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + long result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_longitude_get" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + result = (long) ((arg1)->longitude); + resultobj = SWIG_From_long((long)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_cog_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "pseudo_target_cog_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_cog_set" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pseudo_target_cog_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + if (arg1) (arg1)->cog = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_cog_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + int result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_cog_get" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + result = (int) ((arg1)->cog); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_timestamp_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "pseudo_target_timestamp_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_timestamp_set" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pseudo_target_timestamp_set" "', argument " "2"" of type '" "char""'"); + } + arg2 = (char)(val2); + if (arg1) (arg1)->timestamp = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_timestamp_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_timestamp_get" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + result = (char) ((arg1)->timestamp); + resultobj = SWIG_From_char((char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_sog_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "pseudo_target_sog_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_sog_set" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pseudo_target_sog_set" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = (unsigned char)(val2); + if (arg1) (arg1)->sog = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_pseudo_target_sog_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned char result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pseudo_target_sog_get" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + result = (unsigned char) ((arg1)->sog); + resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_pseudo_target(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_pseudo_target", 0, 0, 0)) SWIG_fail; + result = (pseudo_target *)calloc(1, sizeof(pseudo_target)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pseudo_target, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_pseudo_target(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pseudo_target *arg1 = (pseudo_target *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pseudo_target, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_pseudo_target" "', argument " "1"" of type '" "pseudo_target *""'"); + } + arg1 = (pseudo_target *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *pseudo_target_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_pseudo_target, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *pseudo_target_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_imo1_17_targets_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_17 *arg1 = (imo1_17 *) 0 ; + pseudo_target *arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "imo1_17_targets_set", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_17_targets_set" "', argument " "1"" of type '" "imo1_17 *""'"); + } + arg1 = (imo1_17 *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_pseudo_target, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "imo1_17_targets_set" "', argument " "2"" of type '" "pseudo_target [4]""'"); + } + arg2 = (pseudo_target *)(argp2); + { + if (arg2) { + size_t ii = 0; + for (; ii < (size_t)4; ++ii) *(pseudo_target *)&arg1->targets[ii] = *((pseudo_target *)arg2 + ii); + } else { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""targets""' of type '""pseudo_target [4]""'"); + } + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_imo1_17_targets_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_17 *arg1 = (imo1_17 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + pseudo_target *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imo1_17_targets_get" "', argument " "1"" of type '" "imo1_17 *""'"); + } + arg1 = (imo1_17 *)(argp1); + result = (pseudo_target *)(pseudo_target *) ((arg1)->targets); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pseudo_target, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_imo1_17(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_17 *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "new_imo1_17", 0, 0, 0)) SWIG_fail; + result = (imo1_17 *)calloc(1, sizeof(imo1_17)); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imo1_17, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_imo1_17(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_17 *arg1 = (imo1_17 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_17, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_imo1_17" "', argument " "1"" of type '" "imo1_17 *""'"); + } + arg1 = (imo1_17 *)(argp1); + free((char *) arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *imo1_17_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_imo1_17, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *imo1_17_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + +SWIGINTERN PyObject *_wrap_parse_imo1_11(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + imo1_11 *arg2 = (imo1_11 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_imo1_11", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_imo1_11" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_imo1_11, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_imo1_11" "', argument " "2"" of type '" "imo1_11 *""'"); + } + arg2 = (imo1_11 *)(argp2); + result = (int)parse_imo1_11(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_imo1_12(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + imo1_12 *arg2 = (imo1_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_imo1_12", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_imo1_12" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_imo1_12" "', argument " "2"" of type '" "imo1_12 *""'"); + } + arg2 = (imo1_12 *)(argp2); + result = (int)parse_imo1_12(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_imo1_13(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + imo1_13 *arg2 = (imo1_13 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_imo1_13", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_imo1_13" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_imo1_13, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_imo1_13" "', argument " "2"" of type '" "imo1_13 *""'"); + } + arg2 = (imo1_13 *)(argp2); + result = (int)parse_imo1_13(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_imo1_14(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + imo1_14 *arg2 = (imo1_14 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_imo1_14", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_imo1_14" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_imo1_14, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_imo1_14" "', argument " "2"" of type '" "imo1_14 *""'"); + } + arg2 = (imo1_14 *)(argp2); + result = (int)parse_imo1_14(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_imo1_15(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + imo1_15 *arg2 = (imo1_15 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_imo1_15", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_imo1_15" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_imo1_15, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_imo1_15" "', argument " "2"" of type '" "imo1_15 *""'"); + } + arg2 = (imo1_15 *)(argp2); + result = (int)parse_imo1_15(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_imo1_16(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + imo1_16 *arg2 = (imo1_16 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_imo1_16", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_imo1_16" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_imo1_16, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_imo1_16" "', argument " "2"" of type '" "imo1_16 *""'"); + } + arg2 = (imo1_16 *)(argp2); + result = (int)parse_imo1_16(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_parse_imo1_17(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + sixbit *arg1 = (sixbit *) 0 ; + imo1_17 *arg2 = (imo1_17 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + int result; + + if (!SWIG_Python_UnpackTuple(args, "parse_imo1_17", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_sixbit, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_imo1_17" "', argument " "1"" of type '" "sixbit *""'"); + } + arg1 = (sixbit *)(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_imo1_17, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_imo1_17" "', argument " "2"" of type '" "imo1_17 *""'"); + } + arg2 = (imo1_17 *)(argp2); + result = (int)parse_imo1_17(arg1,arg2); + resultobj = SWIG_From_int((int)(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_msg6_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_6 *arg1 = (aismsg_6 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + sixbit *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_msg6_data" "', argument " "1"" of type '" "aismsg_6 *""'"); + } + arg1 = (aismsg_6 *)(argp1); + result = (sixbit *)get_msg6_data(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_sixbit, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_msg8_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_8 *arg1 = (aismsg_8 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + sixbit *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_8, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_msg8_data" "', argument " "1"" of type '" "aismsg_8 *""'"); + } + arg1 = (aismsg_8 *)(argp1); + result = (sixbit *)get_msg8_data(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_sixbit, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_msg17_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + aismsg_17 *arg1 = (aismsg_17 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + sixbit *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_aismsg_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_msg17_data" "', argument " "1"" of type '" "aismsg_17 *""'"); + } + arg1 = (aismsg_17 *)(argp1); + result = (sixbit *)get_msg17_data(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_sixbit, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_weather_report(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway1_1 *arg1 = (seaway1_1 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + weather_report *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "get_weather_report", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway1_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_weather_report" "', argument " "1"" of type '" "seaway1_1 *""'"); + } + arg1 = (seaway1_1 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "get_weather_report" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + result = (weather_report *)get_weather_report(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_weather_report, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_weather_utc_time(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + weather_report *arg1 = (weather_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_weather_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_weather_utc_time" "', argument " "1"" of type '" "weather_report *""'"); + } + arg1 = (weather_report *)(argp1); + result = (timetag *)get_weather_utc_time(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_wind_report(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway1_2 *arg1 = (seaway1_2 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + wind_report *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "get_wind_report", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway1_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_wind_report" "', argument " "1"" of type '" "seaway1_2 *""'"); + } + arg1 = (seaway1_2 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "get_wind_report" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + result = (wind_report *)get_wind_report(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wind_report, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_wind_utc_time(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wind_report *arg1 = (wind_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wind_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_wind_utc_time" "', argument " "1"" of type '" "wind_report *""'"); + } + arg1 = (wind_report *)(argp1); + result = (timetag *)get_wind_utc_time(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_water_level_report(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway1_3 *arg1 = (seaway1_3 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + water_level_report *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "get_water_level_report", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway1_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_water_level_report" "', argument " "1"" of type '" "seaway1_3 *""'"); + } + arg1 = (seaway1_3 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "get_water_level_report" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + result = (water_level_report *)get_water_level_report(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_water_level_report, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_water_level_utc_time(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_level_report *arg1 = (water_level_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_level_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_water_level_utc_time" "', argument " "1"" of type '" "water_level_report *""'"); + } + arg1 = (water_level_report *)(argp1); + result = (timetag *)get_water_level_utc_time(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_water_flow_report(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway1_6 *arg1 = (seaway1_6 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + water_flow_report *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "get_water_flow_report", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway1_6, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_water_flow_report" "', argument " "1"" of type '" "seaway1_6 *""'"); + } + arg1 = (seaway1_6 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "get_water_flow_report" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + result = (water_flow_report *)get_water_flow_report(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_water_flow_report, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_water_flow_utc_time(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + water_flow_report *arg1 = (water_flow_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_water_flow_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_water_flow_utc_time" "', argument " "1"" of type '" "water_flow_report *""'"); + } + arg1 = (water_flow_report *)(argp1); + result = (timetag *)get_water_flow_utc_time(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_lock_schedule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_1 *arg1 = (seaway2_1 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + lock_schedule *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "get_lock_schedule", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_lock_schedule" "', argument " "1"" of type '" "seaway2_1 *""'"); + } + arg1 = (seaway2_1 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "get_lock_schedule" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + result = (lock_schedule *)get_lock_schedule(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lock_schedule, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_lock_schedule_utc_time(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_1 *arg1 = (seaway2_1 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_1, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_lock_schedule_utc_time" "', argument " "1"" of type '" "seaway2_1 *""'"); + } + arg1 = (seaway2_1 *)(argp1); + result = (timetag *)get_lock_schedule_utc_time(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_lock_schedule_eta(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + lock_schedule *arg1 = (lock_schedule *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lock_schedule, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_lock_schedule_eta" "', argument " "1"" of type '" "lock_schedule *""'"); + } + arg1 = (lock_schedule *)(argp1); + result = (timetag *)get_lock_schedule_eta(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_lock_times_utc_time(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_lock_times_utc_time" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + result = (timetag *)get_lock_times_utc_time(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_lock_times_last_ata(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_lock_times_last_ata" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + result = (timetag *)get_lock_times_last_ata(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_lock_times_first_eta(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_lock_times_first_eta" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + result = (timetag *)get_lock_times_first_eta(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_lock_times_second_eta(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + seaway2_2 *arg1 = (seaway2_2 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_seaway2_2, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_lock_times_second_eta" "', argument " "1"" of type '" "seaway2_2 *""'"); + } + arg1 = (seaway2_2 *)(argp1); + result = (timetag *)get_lock_times_second_eta(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_current_report(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss1_4 *arg1 = (pawss1_4 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + current_report *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "get_current_report", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss1_4, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_current_report" "', argument " "1"" of type '" "pawss1_4 *""'"); + } + arg1 = (pawss1_4 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "get_current_report" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + result = (current_report *)get_current_report(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_current_report, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_current_utc_time(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + current_report *arg1 = (current_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_current_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_current_utc_time" "', argument " "1"" of type '" "current_report *""'"); + } + arg1 = (current_report *)(argp1); + result = (timetag *)get_current_utc_time(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_salinity_report(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss1_5 *arg1 = (pawss1_5 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + salinity_report *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "get_salinity_report", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss1_5, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_salinity_report" "', argument " "1"" of type '" "pawss1_5 *""'"); + } + arg1 = (pawss1_5 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "get_salinity_report" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + result = (salinity_report *)get_salinity_report(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_salinity_report, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_salinity_utc_time(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + salinity_report *arg1 = (salinity_report *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_salinity_report, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_salinity_utc_time" "', argument " "1"" of type '" "salinity_report *""'"); + } + arg1 = (salinity_report *)(argp1); + result = (timetag *)get_salinity_utc_time(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_procession_order(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss2_3 *arg1 = (pawss2_3 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + procession_order *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "get_procession_order", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss2_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_procession_order" "', argument " "1"" of type '" "pawss2_3 *""'"); + } + arg1 = (pawss2_3 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "get_procession_order" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + result = (procession_order *)get_procession_order(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_procession_order, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_procession_order_utc_time(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + pawss2_3 *arg1 = (pawss2_3 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_pawss2_3, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_procession_order_utc_time" "', argument " "1"" of type '" "pawss2_3 *""'"); + } + arg1 = (pawss2_3 *)(argp1); + result = (timetag *)get_procession_order_utc_time(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_imo1_12_atd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_imo1_12_atd" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + result = (timetag *)get_imo1_12_atd(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_imo1_12_eta(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_12 *arg1 = (imo1_12 *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + timetag *result = 0 ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_12, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_imo1_12_eta" "', argument " "1"" of type '" "imo1_12 *""'"); + } + arg1 = (imo1_12 *)(argp1); + result = (timetag *)get_imo1_12_eta(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_timetag, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_tidal_window(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_14 *arg1 = (imo1_14 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + tidal_window *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "get_tidal_window", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_14, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_tidal_window" "', argument " "1"" of type '" "imo1_14 *""'"); + } + arg1 = (imo1_14 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "get_tidal_window" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + result = (tidal_window *)get_tidal_window(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_tidal_window, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_pseudo_target(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + imo1_17 *arg1 = (imo1_17 *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + pseudo_target *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "get_pseudo_target", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_imo1_17, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_pseudo_target" "', argument " "1"" of type '" "imo1_17 *""'"); + } + arg1 = (imo1_17 *)(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "get_pseudo_target" "', argument " "2"" of type '" "int""'"); + } + arg2 = (int)(val2); + result = (pseudo_target *)get_pseudo_target(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pseudo_target, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +static PyMethodDef SwigMethods[] = { + { "SWIG_PyInstanceMethod_New", SWIG_PyInstanceMethod_New, METH_O, NULL}, + { "pos2ddd", _wrap_pos2ddd, METH_VARARGS, NULL}, + { "pos2dmm", _wrap_pos2dmm, METH_VARARGS, NULL}, + { "nmea_state_search_set", _wrap_nmea_state_search_set, METH_VARARGS, NULL}, + { "nmea_state_search_get", _wrap_nmea_state_search_get, METH_O, NULL}, + { "nmea_state_field_set", _wrap_nmea_state_field_set, METH_VARARGS, NULL}, + { "nmea_state_field_get", _wrap_nmea_state_field_get, METH_O, NULL}, + { "nmea_state_str_set", _wrap_nmea_state_str_set, METH_VARARGS, NULL}, + { "nmea_state_str_get", _wrap_nmea_state_str_get, METH_O, NULL}, + { "nmea_state_str_len_set", _wrap_nmea_state_str_len_set, METH_VARARGS, NULL}, + { "nmea_state_str_len_get", _wrap_nmea_state_str_len_get, METH_O, NULL}, + { "new_nmea_state", _wrap_new_nmea_state, METH_NOARGS, NULL}, + { "delete_nmea_state", _wrap_delete_nmea_state, METH_O, NULL}, + { "nmea_state_swigregister", nmea_state_swigregister, METH_O, NULL}, + { "nmea_state_swiginit", nmea_state_swiginit, METH_VARARGS, NULL}, + { "check_nmea_checksum", _wrap_check_nmea_checksum, METH_VARARGS, NULL}, + { "nmea_checksum", _wrap_nmea_checksum, METH_VARARGS, NULL}, + { "find_nmea_start", _wrap_find_nmea_start, METH_O, NULL}, + { "ahextobin", _wrap_ahextobin, METH_O, NULL}, + { "nmea_next_field", _wrap_nmea_next_field, METH_O, NULL}, + { "nmea_uint", _wrap_nmea_uint, METH_O, NULL}, + { "nmea_copy_field", _wrap_nmea_copy_field, METH_VARARGS, NULL}, + { "sixbit_bits_set", _wrap_sixbit_bits_set, METH_VARARGS, NULL}, + { "sixbit_bits_get", _wrap_sixbit_bits_get, METH_O, NULL}, + { "sixbit_p_set", _wrap_sixbit_p_set, METH_VARARGS, NULL}, + { "sixbit_p_get", _wrap_sixbit_p_get, METH_O, NULL}, + { "sixbit_remainder_set", _wrap_sixbit_remainder_set, METH_VARARGS, NULL}, + { "sixbit_remainder_get", _wrap_sixbit_remainder_get, METH_O, NULL}, + { "sixbit_remainder_bits_set", _wrap_sixbit_remainder_bits_set, METH_VARARGS, NULL}, + { "sixbit_remainder_bits_get", _wrap_sixbit_remainder_bits_get, METH_O, NULL}, + { "new_sixbit", _wrap_new_sixbit, METH_NOARGS, NULL}, + { "delete_sixbit", _wrap_delete_sixbit, METH_O, NULL}, + { "sixbit_swigregister", sixbit_swigregister, METH_O, NULL}, + { "sixbit_swiginit", sixbit_swiginit, METH_VARARGS, NULL}, + { "binfrom6bit", _wrap_binfrom6bit, METH_O, NULL}, + { "init_6bit", _wrap_init_6bit, METH_O, NULL}, + { "get_6bit", _wrap_get_6bit, METH_VARARGS, NULL}, + { "sixbit_length", _wrap_sixbit_length, METH_O, NULL}, + { "binto6bit", _wrap_binto6bit, METH_O, NULL}, + { "aismsg_1_msgid_set", _wrap_aismsg_1_msgid_set, METH_VARARGS, NULL}, + { "aismsg_1_msgid_get", _wrap_aismsg_1_msgid_get, METH_O, NULL}, + { "aismsg_1_repeat_set", _wrap_aismsg_1_repeat_set, METH_VARARGS, NULL}, + { "aismsg_1_repeat_get", _wrap_aismsg_1_repeat_get, METH_O, NULL}, + { "aismsg_1_userid_set", _wrap_aismsg_1_userid_set, METH_VARARGS, NULL}, + { "aismsg_1_userid_get", _wrap_aismsg_1_userid_get, METH_O, NULL}, + { "aismsg_1_nav_status_set", _wrap_aismsg_1_nav_status_set, METH_VARARGS, NULL}, + { "aismsg_1_nav_status_get", _wrap_aismsg_1_nav_status_get, METH_O, NULL}, + { "aismsg_1_rot_set", _wrap_aismsg_1_rot_set, METH_VARARGS, NULL}, + { "aismsg_1_rot_get", _wrap_aismsg_1_rot_get, METH_O, NULL}, + { "aismsg_1_sog_set", _wrap_aismsg_1_sog_set, METH_VARARGS, NULL}, + { "aismsg_1_sog_get", _wrap_aismsg_1_sog_get, METH_O, NULL}, + { "aismsg_1_pos_acc_set", _wrap_aismsg_1_pos_acc_set, METH_VARARGS, NULL}, + { "aismsg_1_pos_acc_get", _wrap_aismsg_1_pos_acc_get, METH_O, NULL}, + { "aismsg_1_longitude_set", _wrap_aismsg_1_longitude_set, METH_VARARGS, NULL}, + { "aismsg_1_longitude_get", _wrap_aismsg_1_longitude_get, METH_O, NULL}, + { "aismsg_1_latitude_set", _wrap_aismsg_1_latitude_set, METH_VARARGS, NULL}, + { "aismsg_1_latitude_get", _wrap_aismsg_1_latitude_get, METH_O, NULL}, + { "aismsg_1_cog_set", _wrap_aismsg_1_cog_set, METH_VARARGS, NULL}, + { "aismsg_1_cog_get", _wrap_aismsg_1_cog_get, METH_O, NULL}, + { "aismsg_1_true_set", _wrap_aismsg_1_true_set, METH_VARARGS, NULL}, + { "aismsg_1_true_get", _wrap_aismsg_1_true_get, METH_O, NULL}, + { "aismsg_1_utc_sec_set", _wrap_aismsg_1_utc_sec_set, METH_VARARGS, NULL}, + { "aismsg_1_utc_sec_get", _wrap_aismsg_1_utc_sec_get, METH_O, NULL}, + { "aismsg_1_regional_set", _wrap_aismsg_1_regional_set, METH_VARARGS, NULL}, + { "aismsg_1_regional_get", _wrap_aismsg_1_regional_get, METH_O, NULL}, + { "aismsg_1_spare_set", _wrap_aismsg_1_spare_set, METH_VARARGS, NULL}, + { "aismsg_1_spare_get", _wrap_aismsg_1_spare_get, METH_O, NULL}, + { "aismsg_1_raim_set", _wrap_aismsg_1_raim_set, METH_VARARGS, NULL}, + { "aismsg_1_raim_get", _wrap_aismsg_1_raim_get, METH_O, NULL}, + { "aismsg_1_sync_state_set", _wrap_aismsg_1_sync_state_set, METH_VARARGS, NULL}, + { "aismsg_1_sync_state_get", _wrap_aismsg_1_sync_state_get, METH_O, NULL}, + { "aismsg_1_slot_timeout_set", _wrap_aismsg_1_slot_timeout_set, METH_VARARGS, NULL}, + { "aismsg_1_slot_timeout_get", _wrap_aismsg_1_slot_timeout_get, METH_O, NULL}, + { "aismsg_1_sub_message_set", _wrap_aismsg_1_sub_message_set, METH_VARARGS, NULL}, + { "aismsg_1_sub_message_get", _wrap_aismsg_1_sub_message_get, METH_O, NULL}, + { "new_aismsg_1", _wrap_new_aismsg_1, METH_NOARGS, NULL}, + { "delete_aismsg_1", _wrap_delete_aismsg_1, METH_O, NULL}, + { "aismsg_1_swigregister", aismsg_1_swigregister, METH_O, NULL}, + { "aismsg_1_swiginit", aismsg_1_swiginit, METH_VARARGS, NULL}, + { "aismsg_2_msgid_set", _wrap_aismsg_2_msgid_set, METH_VARARGS, NULL}, + { "aismsg_2_msgid_get", _wrap_aismsg_2_msgid_get, METH_O, NULL}, + { "aismsg_2_repeat_set", _wrap_aismsg_2_repeat_set, METH_VARARGS, NULL}, + { "aismsg_2_repeat_get", _wrap_aismsg_2_repeat_get, METH_O, NULL}, + { "aismsg_2_userid_set", _wrap_aismsg_2_userid_set, METH_VARARGS, NULL}, + { "aismsg_2_userid_get", _wrap_aismsg_2_userid_get, METH_O, NULL}, + { "aismsg_2_nav_status_set", _wrap_aismsg_2_nav_status_set, METH_VARARGS, NULL}, + { "aismsg_2_nav_status_get", _wrap_aismsg_2_nav_status_get, METH_O, NULL}, + { "aismsg_2_rot_set", _wrap_aismsg_2_rot_set, METH_VARARGS, NULL}, + { "aismsg_2_rot_get", _wrap_aismsg_2_rot_get, METH_O, NULL}, + { "aismsg_2_sog_set", _wrap_aismsg_2_sog_set, METH_VARARGS, NULL}, + { "aismsg_2_sog_get", _wrap_aismsg_2_sog_get, METH_O, NULL}, + { "aismsg_2_pos_acc_set", _wrap_aismsg_2_pos_acc_set, METH_VARARGS, NULL}, + { "aismsg_2_pos_acc_get", _wrap_aismsg_2_pos_acc_get, METH_O, NULL}, + { "aismsg_2_longitude_set", _wrap_aismsg_2_longitude_set, METH_VARARGS, NULL}, + { "aismsg_2_longitude_get", _wrap_aismsg_2_longitude_get, METH_O, NULL}, + { "aismsg_2_latitude_set", _wrap_aismsg_2_latitude_set, METH_VARARGS, NULL}, + { "aismsg_2_latitude_get", _wrap_aismsg_2_latitude_get, METH_O, NULL}, + { "aismsg_2_cog_set", _wrap_aismsg_2_cog_set, METH_VARARGS, NULL}, + { "aismsg_2_cog_get", _wrap_aismsg_2_cog_get, METH_O, NULL}, + { "aismsg_2_true_set", _wrap_aismsg_2_true_set, METH_VARARGS, NULL}, + { "aismsg_2_true_get", _wrap_aismsg_2_true_get, METH_O, NULL}, + { "aismsg_2_utc_sec_set", _wrap_aismsg_2_utc_sec_set, METH_VARARGS, NULL}, + { "aismsg_2_utc_sec_get", _wrap_aismsg_2_utc_sec_get, METH_O, NULL}, + { "aismsg_2_regional_set", _wrap_aismsg_2_regional_set, METH_VARARGS, NULL}, + { "aismsg_2_regional_get", _wrap_aismsg_2_regional_get, METH_O, NULL}, + { "aismsg_2_spare_set", _wrap_aismsg_2_spare_set, METH_VARARGS, NULL}, + { "aismsg_2_spare_get", _wrap_aismsg_2_spare_get, METH_O, NULL}, + { "aismsg_2_raim_set", _wrap_aismsg_2_raim_set, METH_VARARGS, NULL}, + { "aismsg_2_raim_get", _wrap_aismsg_2_raim_get, METH_O, NULL}, + { "aismsg_2_sync_state_set", _wrap_aismsg_2_sync_state_set, METH_VARARGS, NULL}, + { "aismsg_2_sync_state_get", _wrap_aismsg_2_sync_state_get, METH_O, NULL}, + { "aismsg_2_slot_timeout_set", _wrap_aismsg_2_slot_timeout_set, METH_VARARGS, NULL}, + { "aismsg_2_slot_timeout_get", _wrap_aismsg_2_slot_timeout_get, METH_O, NULL}, + { "aismsg_2_sub_message_set", _wrap_aismsg_2_sub_message_set, METH_VARARGS, NULL}, + { "aismsg_2_sub_message_get", _wrap_aismsg_2_sub_message_get, METH_O, NULL}, + { "new_aismsg_2", _wrap_new_aismsg_2, METH_NOARGS, NULL}, + { "delete_aismsg_2", _wrap_delete_aismsg_2, METH_O, NULL}, + { "aismsg_2_swigregister", aismsg_2_swigregister, METH_O, NULL}, + { "aismsg_2_swiginit", aismsg_2_swiginit, METH_VARARGS, NULL}, + { "aismsg_3_msgid_set", _wrap_aismsg_3_msgid_set, METH_VARARGS, NULL}, + { "aismsg_3_msgid_get", _wrap_aismsg_3_msgid_get, METH_O, NULL}, + { "aismsg_3_repeat_set", _wrap_aismsg_3_repeat_set, METH_VARARGS, NULL}, + { "aismsg_3_repeat_get", _wrap_aismsg_3_repeat_get, METH_O, NULL}, + { "aismsg_3_userid_set", _wrap_aismsg_3_userid_set, METH_VARARGS, NULL}, + { "aismsg_3_userid_get", _wrap_aismsg_3_userid_get, METH_O, NULL}, + { "aismsg_3_nav_status_set", _wrap_aismsg_3_nav_status_set, METH_VARARGS, NULL}, + { "aismsg_3_nav_status_get", _wrap_aismsg_3_nav_status_get, METH_O, NULL}, + { "aismsg_3_rot_set", _wrap_aismsg_3_rot_set, METH_VARARGS, NULL}, + { "aismsg_3_rot_get", _wrap_aismsg_3_rot_get, METH_O, NULL}, + { "aismsg_3_sog_set", _wrap_aismsg_3_sog_set, METH_VARARGS, NULL}, + { "aismsg_3_sog_get", _wrap_aismsg_3_sog_get, METH_O, NULL}, + { "aismsg_3_pos_acc_set", _wrap_aismsg_3_pos_acc_set, METH_VARARGS, NULL}, + { "aismsg_3_pos_acc_get", _wrap_aismsg_3_pos_acc_get, METH_O, NULL}, + { "aismsg_3_longitude_set", _wrap_aismsg_3_longitude_set, METH_VARARGS, NULL}, + { "aismsg_3_longitude_get", _wrap_aismsg_3_longitude_get, METH_O, NULL}, + { "aismsg_3_latitude_set", _wrap_aismsg_3_latitude_set, METH_VARARGS, NULL}, + { "aismsg_3_latitude_get", _wrap_aismsg_3_latitude_get, METH_O, NULL}, + { "aismsg_3_cog_set", _wrap_aismsg_3_cog_set, METH_VARARGS, NULL}, + { "aismsg_3_cog_get", _wrap_aismsg_3_cog_get, METH_O, NULL}, + { "aismsg_3_true_set", _wrap_aismsg_3_true_set, METH_VARARGS, NULL}, + { "aismsg_3_true_get", _wrap_aismsg_3_true_get, METH_O, NULL}, + { "aismsg_3_utc_sec_set", _wrap_aismsg_3_utc_sec_set, METH_VARARGS, NULL}, + { "aismsg_3_utc_sec_get", _wrap_aismsg_3_utc_sec_get, METH_O, NULL}, + { "aismsg_3_regional_set", _wrap_aismsg_3_regional_set, METH_VARARGS, NULL}, + { "aismsg_3_regional_get", _wrap_aismsg_3_regional_get, METH_O, NULL}, + { "aismsg_3_spare_set", _wrap_aismsg_3_spare_set, METH_VARARGS, NULL}, + { "aismsg_3_spare_get", _wrap_aismsg_3_spare_get, METH_O, NULL}, + { "aismsg_3_raim_set", _wrap_aismsg_3_raim_set, METH_VARARGS, NULL}, + { "aismsg_3_raim_get", _wrap_aismsg_3_raim_get, METH_O, NULL}, + { "aismsg_3_sync_state_set", _wrap_aismsg_3_sync_state_set, METH_VARARGS, NULL}, + { "aismsg_3_sync_state_get", _wrap_aismsg_3_sync_state_get, METH_O, NULL}, + { "aismsg_3_slot_increment_set", _wrap_aismsg_3_slot_increment_set, METH_VARARGS, NULL}, + { "aismsg_3_slot_increment_get", _wrap_aismsg_3_slot_increment_get, METH_O, NULL}, + { "aismsg_3_num_slots_set", _wrap_aismsg_3_num_slots_set, METH_VARARGS, NULL}, + { "aismsg_3_num_slots_get", _wrap_aismsg_3_num_slots_get, METH_O, NULL}, + { "aismsg_3_keep_set", _wrap_aismsg_3_keep_set, METH_VARARGS, NULL}, + { "aismsg_3_keep_get", _wrap_aismsg_3_keep_get, METH_O, NULL}, + { "new_aismsg_3", _wrap_new_aismsg_3, METH_NOARGS, NULL}, + { "delete_aismsg_3", _wrap_delete_aismsg_3, METH_O, NULL}, + { "aismsg_3_swigregister", aismsg_3_swigregister, METH_O, NULL}, + { "aismsg_3_swiginit", aismsg_3_swiginit, METH_VARARGS, NULL}, + { "aismsg_4_msgid_set", _wrap_aismsg_4_msgid_set, METH_VARARGS, NULL}, + { "aismsg_4_msgid_get", _wrap_aismsg_4_msgid_get, METH_O, NULL}, + { "aismsg_4_repeat_set", _wrap_aismsg_4_repeat_set, METH_VARARGS, NULL}, + { "aismsg_4_repeat_get", _wrap_aismsg_4_repeat_get, METH_O, NULL}, + { "aismsg_4_userid_set", _wrap_aismsg_4_userid_set, METH_VARARGS, NULL}, + { "aismsg_4_userid_get", _wrap_aismsg_4_userid_get, METH_O, NULL}, + { "aismsg_4_utc_year_set", _wrap_aismsg_4_utc_year_set, METH_VARARGS, NULL}, + { "aismsg_4_utc_year_get", _wrap_aismsg_4_utc_year_get, METH_O, NULL}, + { "aismsg_4_utc_month_set", _wrap_aismsg_4_utc_month_set, METH_VARARGS, NULL}, + { "aismsg_4_utc_month_get", _wrap_aismsg_4_utc_month_get, METH_O, NULL}, + { "aismsg_4_utc_day_set", _wrap_aismsg_4_utc_day_set, METH_VARARGS, NULL}, + { "aismsg_4_utc_day_get", _wrap_aismsg_4_utc_day_get, METH_O, NULL}, + { "aismsg_4_utc_hour_set", _wrap_aismsg_4_utc_hour_set, METH_VARARGS, NULL}, + { "aismsg_4_utc_hour_get", _wrap_aismsg_4_utc_hour_get, METH_O, NULL}, + { "aismsg_4_utc_minute_set", _wrap_aismsg_4_utc_minute_set, METH_VARARGS, NULL}, + { "aismsg_4_utc_minute_get", _wrap_aismsg_4_utc_minute_get, METH_O, NULL}, + { "aismsg_4_utc_second_set", _wrap_aismsg_4_utc_second_set, METH_VARARGS, NULL}, + { "aismsg_4_utc_second_get", _wrap_aismsg_4_utc_second_get, METH_O, NULL}, + { "aismsg_4_pos_acc_set", _wrap_aismsg_4_pos_acc_set, METH_VARARGS, NULL}, + { "aismsg_4_pos_acc_get", _wrap_aismsg_4_pos_acc_get, METH_O, NULL}, + { "aismsg_4_longitude_set", _wrap_aismsg_4_longitude_set, METH_VARARGS, NULL}, + { "aismsg_4_longitude_get", _wrap_aismsg_4_longitude_get, METH_O, NULL}, + { "aismsg_4_latitude_set", _wrap_aismsg_4_latitude_set, METH_VARARGS, NULL}, + { "aismsg_4_latitude_get", _wrap_aismsg_4_latitude_get, METH_O, NULL}, + { "aismsg_4_pos_type_set", _wrap_aismsg_4_pos_type_set, METH_VARARGS, NULL}, + { "aismsg_4_pos_type_get", _wrap_aismsg_4_pos_type_get, METH_O, NULL}, + { "aismsg_4_spare_set", _wrap_aismsg_4_spare_set, METH_VARARGS, NULL}, + { "aismsg_4_spare_get", _wrap_aismsg_4_spare_get, METH_O, NULL}, + { "aismsg_4_raim_set", _wrap_aismsg_4_raim_set, METH_VARARGS, NULL}, + { "aismsg_4_raim_get", _wrap_aismsg_4_raim_get, METH_O, NULL}, + { "aismsg_4_sync_state_set", _wrap_aismsg_4_sync_state_set, METH_VARARGS, NULL}, + { "aismsg_4_sync_state_get", _wrap_aismsg_4_sync_state_get, METH_O, NULL}, + { "aismsg_4_slot_timeout_set", _wrap_aismsg_4_slot_timeout_set, METH_VARARGS, NULL}, + { "aismsg_4_slot_timeout_get", _wrap_aismsg_4_slot_timeout_get, METH_O, NULL}, + { "aismsg_4_sub_message_set", _wrap_aismsg_4_sub_message_set, METH_VARARGS, NULL}, + { "aismsg_4_sub_message_get", _wrap_aismsg_4_sub_message_get, METH_O, NULL}, + { "new_aismsg_4", _wrap_new_aismsg_4, METH_NOARGS, NULL}, + { "delete_aismsg_4", _wrap_delete_aismsg_4, METH_O, NULL}, + { "aismsg_4_swigregister", aismsg_4_swigregister, METH_O, NULL}, + { "aismsg_4_swiginit", aismsg_4_swiginit, METH_VARARGS, NULL}, + { "aismsg_5_msgid_set", _wrap_aismsg_5_msgid_set, METH_VARARGS, NULL}, + { "aismsg_5_msgid_get", _wrap_aismsg_5_msgid_get, METH_O, NULL}, + { "aismsg_5_repeat_set", _wrap_aismsg_5_repeat_set, METH_VARARGS, NULL}, + { "aismsg_5_repeat_get", _wrap_aismsg_5_repeat_get, METH_O, NULL}, + { "aismsg_5_userid_set", _wrap_aismsg_5_userid_set, METH_VARARGS, NULL}, + { "aismsg_5_userid_get", _wrap_aismsg_5_userid_get, METH_O, NULL}, + { "aismsg_5_version_set", _wrap_aismsg_5_version_set, METH_VARARGS, NULL}, + { "aismsg_5_version_get", _wrap_aismsg_5_version_get, METH_O, NULL}, + { "aismsg_5_imo_set", _wrap_aismsg_5_imo_set, METH_VARARGS, NULL}, + { "aismsg_5_imo_get", _wrap_aismsg_5_imo_get, METH_O, NULL}, + { "aismsg_5_callsign_set", _wrap_aismsg_5_callsign_set, METH_VARARGS, NULL}, + { "aismsg_5_callsign_get", _wrap_aismsg_5_callsign_get, METH_O, NULL}, + { "aismsg_5_name_set", _wrap_aismsg_5_name_set, METH_VARARGS, NULL}, + { "aismsg_5_name_get", _wrap_aismsg_5_name_get, METH_O, NULL}, + { "aismsg_5_ship_type_set", _wrap_aismsg_5_ship_type_set, METH_VARARGS, NULL}, + { "aismsg_5_ship_type_get", _wrap_aismsg_5_ship_type_get, METH_O, NULL}, + { "aismsg_5_dim_bow_set", _wrap_aismsg_5_dim_bow_set, METH_VARARGS, NULL}, + { "aismsg_5_dim_bow_get", _wrap_aismsg_5_dim_bow_get, METH_O, NULL}, + { "aismsg_5_dim_stern_set", _wrap_aismsg_5_dim_stern_set, METH_VARARGS, NULL}, + { "aismsg_5_dim_stern_get", _wrap_aismsg_5_dim_stern_get, METH_O, NULL}, + { "aismsg_5_dim_port_set", _wrap_aismsg_5_dim_port_set, METH_VARARGS, NULL}, + { "aismsg_5_dim_port_get", _wrap_aismsg_5_dim_port_get, METH_O, NULL}, + { "aismsg_5_dim_starboard_set", _wrap_aismsg_5_dim_starboard_set, METH_VARARGS, NULL}, + { "aismsg_5_dim_starboard_get", _wrap_aismsg_5_dim_starboard_get, METH_O, NULL}, + { "aismsg_5_pos_type_set", _wrap_aismsg_5_pos_type_set, METH_VARARGS, NULL}, + { "aismsg_5_pos_type_get", _wrap_aismsg_5_pos_type_get, METH_O, NULL}, + { "aismsg_5_eta_set", _wrap_aismsg_5_eta_set, METH_VARARGS, NULL}, + { "aismsg_5_eta_get", _wrap_aismsg_5_eta_get, METH_O, NULL}, + { "aismsg_5_draught_set", _wrap_aismsg_5_draught_set, METH_VARARGS, NULL}, + { "aismsg_5_draught_get", _wrap_aismsg_5_draught_get, METH_O, NULL}, + { "aismsg_5_dest_set", _wrap_aismsg_5_dest_set, METH_VARARGS, NULL}, + { "aismsg_5_dest_get", _wrap_aismsg_5_dest_get, METH_O, NULL}, + { "aismsg_5_dte_set", _wrap_aismsg_5_dte_set, METH_VARARGS, NULL}, + { "aismsg_5_dte_get", _wrap_aismsg_5_dte_get, METH_O, NULL}, + { "aismsg_5_spare_set", _wrap_aismsg_5_spare_set, METH_VARARGS, NULL}, + { "aismsg_5_spare_get", _wrap_aismsg_5_spare_get, METH_O, NULL}, + { "new_aismsg_5", _wrap_new_aismsg_5, METH_NOARGS, NULL}, + { "delete_aismsg_5", _wrap_delete_aismsg_5, METH_O, NULL}, + { "aismsg_5_swigregister", aismsg_5_swigregister, METH_O, NULL}, + { "aismsg_5_swiginit", aismsg_5_swiginit, METH_VARARGS, NULL}, + { "aismsg_6_msgid_set", _wrap_aismsg_6_msgid_set, METH_VARARGS, NULL}, + { "aismsg_6_msgid_get", _wrap_aismsg_6_msgid_get, METH_O, NULL}, + { "aismsg_6_repeat_set", _wrap_aismsg_6_repeat_set, METH_VARARGS, NULL}, + { "aismsg_6_repeat_get", _wrap_aismsg_6_repeat_get, METH_O, NULL}, + { "aismsg_6_userid_set", _wrap_aismsg_6_userid_set, METH_VARARGS, NULL}, + { "aismsg_6_userid_get", _wrap_aismsg_6_userid_get, METH_O, NULL}, + { "aismsg_6_sequence_set", _wrap_aismsg_6_sequence_set, METH_VARARGS, NULL}, + { "aismsg_6_sequence_get", _wrap_aismsg_6_sequence_get, METH_O, NULL}, + { "aismsg_6_destination_set", _wrap_aismsg_6_destination_set, METH_VARARGS, NULL}, + { "aismsg_6_destination_get", _wrap_aismsg_6_destination_get, METH_O, NULL}, + { "aismsg_6_retransmit_set", _wrap_aismsg_6_retransmit_set, METH_VARARGS, NULL}, + { "aismsg_6_retransmit_get", _wrap_aismsg_6_retransmit_get, METH_O, NULL}, + { "aismsg_6_spare_set", _wrap_aismsg_6_spare_set, METH_VARARGS, NULL}, + { "aismsg_6_spare_get", _wrap_aismsg_6_spare_get, METH_O, NULL}, + { "aismsg_6_app_id_set", _wrap_aismsg_6_app_id_set, METH_VARARGS, NULL}, + { "aismsg_6_app_id_get", _wrap_aismsg_6_app_id_get, METH_O, NULL}, + { "aismsg_6_data_set", _wrap_aismsg_6_data_set, METH_VARARGS, NULL}, + { "aismsg_6_data_get", _wrap_aismsg_6_data_get, METH_O, NULL}, + { "new_aismsg_6", _wrap_new_aismsg_6, METH_NOARGS, NULL}, + { "delete_aismsg_6", _wrap_delete_aismsg_6, METH_O, NULL}, + { "aismsg_6_swigregister", aismsg_6_swigregister, METH_O, NULL}, + { "aismsg_6_swiginit", aismsg_6_swiginit, METH_VARARGS, NULL}, + { "aismsg_7_msgid_set", _wrap_aismsg_7_msgid_set, METH_VARARGS, NULL}, + { "aismsg_7_msgid_get", _wrap_aismsg_7_msgid_get, METH_O, NULL}, + { "aismsg_7_repeat_set", _wrap_aismsg_7_repeat_set, METH_VARARGS, NULL}, + { "aismsg_7_repeat_get", _wrap_aismsg_7_repeat_get, METH_O, NULL}, + { "aismsg_7_userid_set", _wrap_aismsg_7_userid_set, METH_VARARGS, NULL}, + { "aismsg_7_userid_get", _wrap_aismsg_7_userid_get, METH_O, NULL}, + { "aismsg_7_spare_set", _wrap_aismsg_7_spare_set, METH_VARARGS, NULL}, + { "aismsg_7_spare_get", _wrap_aismsg_7_spare_get, METH_O, NULL}, + { "aismsg_7_destid_1_set", _wrap_aismsg_7_destid_1_set, METH_VARARGS, NULL}, + { "aismsg_7_destid_1_get", _wrap_aismsg_7_destid_1_get, METH_O, NULL}, + { "aismsg_7_sequence_1_set", _wrap_aismsg_7_sequence_1_set, METH_VARARGS, NULL}, + { "aismsg_7_sequence_1_get", _wrap_aismsg_7_sequence_1_get, METH_O, NULL}, + { "aismsg_7_destid_2_set", _wrap_aismsg_7_destid_2_set, METH_VARARGS, NULL}, + { "aismsg_7_destid_2_get", _wrap_aismsg_7_destid_2_get, METH_O, NULL}, + { "aismsg_7_sequence_2_set", _wrap_aismsg_7_sequence_2_set, METH_VARARGS, NULL}, + { "aismsg_7_sequence_2_get", _wrap_aismsg_7_sequence_2_get, METH_O, NULL}, + { "aismsg_7_destid_3_set", _wrap_aismsg_7_destid_3_set, METH_VARARGS, NULL}, + { "aismsg_7_destid_3_get", _wrap_aismsg_7_destid_3_get, METH_O, NULL}, + { "aismsg_7_sequence_3_set", _wrap_aismsg_7_sequence_3_set, METH_VARARGS, NULL}, + { "aismsg_7_sequence_3_get", _wrap_aismsg_7_sequence_3_get, METH_O, NULL}, + { "aismsg_7_destid_4_set", _wrap_aismsg_7_destid_4_set, METH_VARARGS, NULL}, + { "aismsg_7_destid_4_get", _wrap_aismsg_7_destid_4_get, METH_O, NULL}, + { "aismsg_7_sequence_4_set", _wrap_aismsg_7_sequence_4_set, METH_VARARGS, NULL}, + { "aismsg_7_sequence_4_get", _wrap_aismsg_7_sequence_4_get, METH_O, NULL}, + { "aismsg_7_num_acks_set", _wrap_aismsg_7_num_acks_set, METH_VARARGS, NULL}, + { "aismsg_7_num_acks_get", _wrap_aismsg_7_num_acks_get, METH_O, NULL}, + { "new_aismsg_7", _wrap_new_aismsg_7, METH_NOARGS, NULL}, + { "delete_aismsg_7", _wrap_delete_aismsg_7, METH_O, NULL}, + { "aismsg_7_swigregister", aismsg_7_swigregister, METH_O, NULL}, + { "aismsg_7_swiginit", aismsg_7_swiginit, METH_VARARGS, NULL}, + { "aismsg_8_msgid_set", _wrap_aismsg_8_msgid_set, METH_VARARGS, NULL}, + { "aismsg_8_msgid_get", _wrap_aismsg_8_msgid_get, METH_O, NULL}, + { "aismsg_8_repeat_set", _wrap_aismsg_8_repeat_set, METH_VARARGS, NULL}, + { "aismsg_8_repeat_get", _wrap_aismsg_8_repeat_get, METH_O, NULL}, + { "aismsg_8_userid_set", _wrap_aismsg_8_userid_set, METH_VARARGS, NULL}, + { "aismsg_8_userid_get", _wrap_aismsg_8_userid_get, METH_O, NULL}, + { "aismsg_8_spare_set", _wrap_aismsg_8_spare_set, METH_VARARGS, NULL}, + { "aismsg_8_spare_get", _wrap_aismsg_8_spare_get, METH_O, NULL}, + { "aismsg_8_app_id_set", _wrap_aismsg_8_app_id_set, METH_VARARGS, NULL}, + { "aismsg_8_app_id_get", _wrap_aismsg_8_app_id_get, METH_O, NULL}, + { "aismsg_8_data_set", _wrap_aismsg_8_data_set, METH_VARARGS, NULL}, + { "aismsg_8_data_get", _wrap_aismsg_8_data_get, METH_O, NULL}, + { "new_aismsg_8", _wrap_new_aismsg_8, METH_NOARGS, NULL}, + { "delete_aismsg_8", _wrap_delete_aismsg_8, METH_O, NULL}, + { "aismsg_8_swigregister", aismsg_8_swigregister, METH_O, NULL}, + { "aismsg_8_swiginit", aismsg_8_swiginit, METH_VARARGS, NULL}, + { "aismsg_9_msgid_set", _wrap_aismsg_9_msgid_set, METH_VARARGS, NULL}, + { "aismsg_9_msgid_get", _wrap_aismsg_9_msgid_get, METH_O, NULL}, + { "aismsg_9_repeat_set", _wrap_aismsg_9_repeat_set, METH_VARARGS, NULL}, + { "aismsg_9_repeat_get", _wrap_aismsg_9_repeat_get, METH_O, NULL}, + { "aismsg_9_userid_set", _wrap_aismsg_9_userid_set, METH_VARARGS, NULL}, + { "aismsg_9_userid_get", _wrap_aismsg_9_userid_get, METH_O, NULL}, + { "aismsg_9_altitude_set", _wrap_aismsg_9_altitude_set, METH_VARARGS, NULL}, + { "aismsg_9_altitude_get", _wrap_aismsg_9_altitude_get, METH_O, NULL}, + { "aismsg_9_sog_set", _wrap_aismsg_9_sog_set, METH_VARARGS, NULL}, + { "aismsg_9_sog_get", _wrap_aismsg_9_sog_get, METH_O, NULL}, + { "aismsg_9_pos_acc_set", _wrap_aismsg_9_pos_acc_set, METH_VARARGS, NULL}, + { "aismsg_9_pos_acc_get", _wrap_aismsg_9_pos_acc_get, METH_O, NULL}, + { "aismsg_9_longitude_set", _wrap_aismsg_9_longitude_set, METH_VARARGS, NULL}, + { "aismsg_9_longitude_get", _wrap_aismsg_9_longitude_get, METH_O, NULL}, + { "aismsg_9_latitude_set", _wrap_aismsg_9_latitude_set, METH_VARARGS, NULL}, + { "aismsg_9_latitude_get", _wrap_aismsg_9_latitude_get, METH_O, NULL}, + { "aismsg_9_cog_set", _wrap_aismsg_9_cog_set, METH_VARARGS, NULL}, + { "aismsg_9_cog_get", _wrap_aismsg_9_cog_get, METH_O, NULL}, + { "aismsg_9_utc_sec_set", _wrap_aismsg_9_utc_sec_set, METH_VARARGS, NULL}, + { "aismsg_9_utc_sec_get", _wrap_aismsg_9_utc_sec_get, METH_O, NULL}, + { "aismsg_9_regional_set", _wrap_aismsg_9_regional_set, METH_VARARGS, NULL}, + { "aismsg_9_regional_get", _wrap_aismsg_9_regional_get, METH_O, NULL}, + { "aismsg_9_dte_set", _wrap_aismsg_9_dte_set, METH_VARARGS, NULL}, + { "aismsg_9_dte_get", _wrap_aismsg_9_dte_get, METH_O, NULL}, + { "aismsg_9_spare_set", _wrap_aismsg_9_spare_set, METH_VARARGS, NULL}, + { "aismsg_9_spare_get", _wrap_aismsg_9_spare_get, METH_O, NULL}, + { "aismsg_9_assigned_set", _wrap_aismsg_9_assigned_set, METH_VARARGS, NULL}, + { "aismsg_9_assigned_get", _wrap_aismsg_9_assigned_get, METH_O, NULL}, + { "aismsg_9_raim_set", _wrap_aismsg_9_raim_set, METH_VARARGS, NULL}, + { "aismsg_9_raim_get", _wrap_aismsg_9_raim_get, METH_O, NULL}, + { "aismsg_9_comm_state_set", _wrap_aismsg_9_comm_state_set, METH_VARARGS, NULL}, + { "aismsg_9_comm_state_get", _wrap_aismsg_9_comm_state_get, METH_O, NULL}, + { "aismsg_9_sotdma_get", _wrap_aismsg_9_sotdma_get, METH_O, NULL}, + { "aismsg_9_itdma_get", _wrap_aismsg_9_itdma_get, METH_O, NULL}, + { "new_aismsg_9", _wrap_new_aismsg_9, METH_NOARGS, NULL}, + { "delete_aismsg_9", _wrap_delete_aismsg_9, METH_O, NULL}, + { "aismsg_9_swigregister", aismsg_9_swigregister, METH_O, NULL}, + { "aismsg_9_swiginit", aismsg_9_swiginit, METH_VARARGS, NULL}, + { "aismsg_9_itdma_sync_state_set", _wrap_aismsg_9_itdma_sync_state_set, METH_VARARGS, NULL}, + { "aismsg_9_itdma_sync_state_get", _wrap_aismsg_9_itdma_sync_state_get, METH_O, NULL}, + { "aismsg_9_itdma_slot_inc_set", _wrap_aismsg_9_itdma_slot_inc_set, METH_VARARGS, NULL}, + { "aismsg_9_itdma_slot_inc_get", _wrap_aismsg_9_itdma_slot_inc_get, METH_O, NULL}, + { "aismsg_9_itdma_num_slots_set", _wrap_aismsg_9_itdma_num_slots_set, METH_VARARGS, NULL}, + { "aismsg_9_itdma_num_slots_get", _wrap_aismsg_9_itdma_num_slots_get, METH_O, NULL}, + { "aismsg_9_itdma_keep_flag_set", _wrap_aismsg_9_itdma_keep_flag_set, METH_VARARGS, NULL}, + { "aismsg_9_itdma_keep_flag_get", _wrap_aismsg_9_itdma_keep_flag_get, METH_O, NULL}, + { "new_aismsg_9_itdma", _wrap_new_aismsg_9_itdma, METH_NOARGS, NULL}, + { "delete_aismsg_9_itdma", _wrap_delete_aismsg_9_itdma, METH_O, NULL}, + { "aismsg_9_itdma_swigregister", aismsg_9_itdma_swigregister, METH_O, NULL}, + { "aismsg_9_itdma_swiginit", aismsg_9_itdma_swiginit, METH_VARARGS, NULL}, + { "aismsg_9_sotdma_sync_state_set", _wrap_aismsg_9_sotdma_sync_state_set, METH_VARARGS, NULL}, + { "aismsg_9_sotdma_sync_state_get", _wrap_aismsg_9_sotdma_sync_state_get, METH_O, NULL}, + { "aismsg_9_sotdma_slot_timeout_set", _wrap_aismsg_9_sotdma_slot_timeout_set, METH_VARARGS, NULL}, + { "aismsg_9_sotdma_slot_timeout_get", _wrap_aismsg_9_sotdma_slot_timeout_get, METH_O, NULL}, + { "aismsg_9_sotdma_sub_message_set", _wrap_aismsg_9_sotdma_sub_message_set, METH_VARARGS, NULL}, + { "aismsg_9_sotdma_sub_message_get", _wrap_aismsg_9_sotdma_sub_message_get, METH_O, NULL}, + { "new_aismsg_9_sotdma", _wrap_new_aismsg_9_sotdma, METH_NOARGS, NULL}, + { "delete_aismsg_9_sotdma", _wrap_delete_aismsg_9_sotdma, METH_O, NULL}, + { "aismsg_9_sotdma_swigregister", aismsg_9_sotdma_swigregister, METH_O, NULL}, + { "aismsg_9_sotdma_swiginit", aismsg_9_sotdma_swiginit, METH_VARARGS, NULL}, + { "aismsg_10_msgid_set", _wrap_aismsg_10_msgid_set, METH_VARARGS, NULL}, + { "aismsg_10_msgid_get", _wrap_aismsg_10_msgid_get, METH_O, NULL}, + { "aismsg_10_repeat_set", _wrap_aismsg_10_repeat_set, METH_VARARGS, NULL}, + { "aismsg_10_repeat_get", _wrap_aismsg_10_repeat_get, METH_O, NULL}, + { "aismsg_10_userid_set", _wrap_aismsg_10_userid_set, METH_VARARGS, NULL}, + { "aismsg_10_userid_get", _wrap_aismsg_10_userid_get, METH_O, NULL}, + { "aismsg_10_spare1_set", _wrap_aismsg_10_spare1_set, METH_VARARGS, NULL}, + { "aismsg_10_spare1_get", _wrap_aismsg_10_spare1_get, METH_O, NULL}, + { "aismsg_10_destination_set", _wrap_aismsg_10_destination_set, METH_VARARGS, NULL}, + { "aismsg_10_destination_get", _wrap_aismsg_10_destination_get, METH_O, NULL}, + { "aismsg_10_spare2_set", _wrap_aismsg_10_spare2_set, METH_VARARGS, NULL}, + { "aismsg_10_spare2_get", _wrap_aismsg_10_spare2_get, METH_O, NULL}, + { "new_aismsg_10", _wrap_new_aismsg_10, METH_NOARGS, NULL}, + { "delete_aismsg_10", _wrap_delete_aismsg_10, METH_O, NULL}, + { "aismsg_10_swigregister", aismsg_10_swigregister, METH_O, NULL}, + { "aismsg_10_swiginit", aismsg_10_swiginit, METH_VARARGS, NULL}, + { "aismsg_11_msgid_set", _wrap_aismsg_11_msgid_set, METH_VARARGS, NULL}, + { "aismsg_11_msgid_get", _wrap_aismsg_11_msgid_get, METH_O, NULL}, + { "aismsg_11_repeat_set", _wrap_aismsg_11_repeat_set, METH_VARARGS, NULL}, + { "aismsg_11_repeat_get", _wrap_aismsg_11_repeat_get, METH_O, NULL}, + { "aismsg_11_userid_set", _wrap_aismsg_11_userid_set, METH_VARARGS, NULL}, + { "aismsg_11_userid_get", _wrap_aismsg_11_userid_get, METH_O, NULL}, + { "aismsg_11_utc_year_set", _wrap_aismsg_11_utc_year_set, METH_VARARGS, NULL}, + { "aismsg_11_utc_year_get", _wrap_aismsg_11_utc_year_get, METH_O, NULL}, + { "aismsg_11_utc_month_set", _wrap_aismsg_11_utc_month_set, METH_VARARGS, NULL}, + { "aismsg_11_utc_month_get", _wrap_aismsg_11_utc_month_get, METH_O, NULL}, + { "aismsg_11_utc_day_set", _wrap_aismsg_11_utc_day_set, METH_VARARGS, NULL}, + { "aismsg_11_utc_day_get", _wrap_aismsg_11_utc_day_get, METH_O, NULL}, + { "aismsg_11_utc_hour_set", _wrap_aismsg_11_utc_hour_set, METH_VARARGS, NULL}, + { "aismsg_11_utc_hour_get", _wrap_aismsg_11_utc_hour_get, METH_O, NULL}, + { "aismsg_11_utc_minute_set", _wrap_aismsg_11_utc_minute_set, METH_VARARGS, NULL}, + { "aismsg_11_utc_minute_get", _wrap_aismsg_11_utc_minute_get, METH_O, NULL}, + { "aismsg_11_utc_second_set", _wrap_aismsg_11_utc_second_set, METH_VARARGS, NULL}, + { "aismsg_11_utc_second_get", _wrap_aismsg_11_utc_second_get, METH_O, NULL}, + { "aismsg_11_pos_acc_set", _wrap_aismsg_11_pos_acc_set, METH_VARARGS, NULL}, + { "aismsg_11_pos_acc_get", _wrap_aismsg_11_pos_acc_get, METH_O, NULL}, + { "aismsg_11_longitude_set", _wrap_aismsg_11_longitude_set, METH_VARARGS, NULL}, + { "aismsg_11_longitude_get", _wrap_aismsg_11_longitude_get, METH_O, NULL}, + { "aismsg_11_latitude_set", _wrap_aismsg_11_latitude_set, METH_VARARGS, NULL}, + { "aismsg_11_latitude_get", _wrap_aismsg_11_latitude_get, METH_O, NULL}, + { "aismsg_11_pos_type_set", _wrap_aismsg_11_pos_type_set, METH_VARARGS, NULL}, + { "aismsg_11_pos_type_get", _wrap_aismsg_11_pos_type_get, METH_O, NULL}, + { "aismsg_11_spare_set", _wrap_aismsg_11_spare_set, METH_VARARGS, NULL}, + { "aismsg_11_spare_get", _wrap_aismsg_11_spare_get, METH_O, NULL}, + { "aismsg_11_raim_set", _wrap_aismsg_11_raim_set, METH_VARARGS, NULL}, + { "aismsg_11_raim_get", _wrap_aismsg_11_raim_get, METH_O, NULL}, + { "aismsg_11_sync_state_set", _wrap_aismsg_11_sync_state_set, METH_VARARGS, NULL}, + { "aismsg_11_sync_state_get", _wrap_aismsg_11_sync_state_get, METH_O, NULL}, + { "aismsg_11_slot_timeout_set", _wrap_aismsg_11_slot_timeout_set, METH_VARARGS, NULL}, + { "aismsg_11_slot_timeout_get", _wrap_aismsg_11_slot_timeout_get, METH_O, NULL}, + { "aismsg_11_sub_message_set", _wrap_aismsg_11_sub_message_set, METH_VARARGS, NULL}, + { "aismsg_11_sub_message_get", _wrap_aismsg_11_sub_message_get, METH_O, NULL}, + { "new_aismsg_11", _wrap_new_aismsg_11, METH_NOARGS, NULL}, + { "delete_aismsg_11", _wrap_delete_aismsg_11, METH_O, NULL}, + { "aismsg_11_swigregister", aismsg_11_swigregister, METH_O, NULL}, + { "aismsg_11_swiginit", aismsg_11_swiginit, METH_VARARGS, NULL}, + { "aismsg_12_msgid_set", _wrap_aismsg_12_msgid_set, METH_VARARGS, NULL}, + { "aismsg_12_msgid_get", _wrap_aismsg_12_msgid_get, METH_O, NULL}, + { "aismsg_12_repeat_set", _wrap_aismsg_12_repeat_set, METH_VARARGS, NULL}, + { "aismsg_12_repeat_get", _wrap_aismsg_12_repeat_get, METH_O, NULL}, + { "aismsg_12_userid_set", _wrap_aismsg_12_userid_set, METH_VARARGS, NULL}, + { "aismsg_12_userid_get", _wrap_aismsg_12_userid_get, METH_O, NULL}, + { "aismsg_12_sequence_set", _wrap_aismsg_12_sequence_set, METH_VARARGS, NULL}, + { "aismsg_12_sequence_get", _wrap_aismsg_12_sequence_get, METH_O, NULL}, + { "aismsg_12_destination_set", _wrap_aismsg_12_destination_set, METH_VARARGS, NULL}, + { "aismsg_12_destination_get", _wrap_aismsg_12_destination_get, METH_O, NULL}, + { "aismsg_12_retransmit_set", _wrap_aismsg_12_retransmit_set, METH_VARARGS, NULL}, + { "aismsg_12_retransmit_get", _wrap_aismsg_12_retransmit_get, METH_O, NULL}, + { "aismsg_12_spare_set", _wrap_aismsg_12_spare_set, METH_VARARGS, NULL}, + { "aismsg_12_spare_get", _wrap_aismsg_12_spare_get, METH_O, NULL}, + { "aismsg_12_message_set", _wrap_aismsg_12_message_set, METH_VARARGS, NULL}, + { "aismsg_12_message_get", _wrap_aismsg_12_message_get, METH_O, NULL}, + { "new_aismsg_12", _wrap_new_aismsg_12, METH_NOARGS, NULL}, + { "delete_aismsg_12", _wrap_delete_aismsg_12, METH_O, NULL}, + { "aismsg_12_swigregister", aismsg_12_swigregister, METH_O, NULL}, + { "aismsg_12_swiginit", aismsg_12_swiginit, METH_VARARGS, NULL}, + { "aismsg_13_msgid_set", _wrap_aismsg_13_msgid_set, METH_VARARGS, NULL}, + { "aismsg_13_msgid_get", _wrap_aismsg_13_msgid_get, METH_O, NULL}, + { "aismsg_13_repeat_set", _wrap_aismsg_13_repeat_set, METH_VARARGS, NULL}, + { "aismsg_13_repeat_get", _wrap_aismsg_13_repeat_get, METH_O, NULL}, + { "aismsg_13_userid_set", _wrap_aismsg_13_userid_set, METH_VARARGS, NULL}, + { "aismsg_13_userid_get", _wrap_aismsg_13_userid_get, METH_O, NULL}, + { "aismsg_13_spare_set", _wrap_aismsg_13_spare_set, METH_VARARGS, NULL}, + { "aismsg_13_spare_get", _wrap_aismsg_13_spare_get, METH_O, NULL}, + { "aismsg_13_destid_1_set", _wrap_aismsg_13_destid_1_set, METH_VARARGS, NULL}, + { "aismsg_13_destid_1_get", _wrap_aismsg_13_destid_1_get, METH_O, NULL}, + { "aismsg_13_sequence_1_set", _wrap_aismsg_13_sequence_1_set, METH_VARARGS, NULL}, + { "aismsg_13_sequence_1_get", _wrap_aismsg_13_sequence_1_get, METH_O, NULL}, + { "aismsg_13_destid_2_set", _wrap_aismsg_13_destid_2_set, METH_VARARGS, NULL}, + { "aismsg_13_destid_2_get", _wrap_aismsg_13_destid_2_get, METH_O, NULL}, + { "aismsg_13_sequence_2_set", _wrap_aismsg_13_sequence_2_set, METH_VARARGS, NULL}, + { "aismsg_13_sequence_2_get", _wrap_aismsg_13_sequence_2_get, METH_O, NULL}, + { "aismsg_13_destid_3_set", _wrap_aismsg_13_destid_3_set, METH_VARARGS, NULL}, + { "aismsg_13_destid_3_get", _wrap_aismsg_13_destid_3_get, METH_O, NULL}, + { "aismsg_13_sequence_3_set", _wrap_aismsg_13_sequence_3_set, METH_VARARGS, NULL}, + { "aismsg_13_sequence_3_get", _wrap_aismsg_13_sequence_3_get, METH_O, NULL}, + { "aismsg_13_destid_4_set", _wrap_aismsg_13_destid_4_set, METH_VARARGS, NULL}, + { "aismsg_13_destid_4_get", _wrap_aismsg_13_destid_4_get, METH_O, NULL}, + { "aismsg_13_sequence_4_set", _wrap_aismsg_13_sequence_4_set, METH_VARARGS, NULL}, + { "aismsg_13_sequence_4_get", _wrap_aismsg_13_sequence_4_get, METH_O, NULL}, + { "aismsg_13_num_acks_set", _wrap_aismsg_13_num_acks_set, METH_VARARGS, NULL}, + { "aismsg_13_num_acks_get", _wrap_aismsg_13_num_acks_get, METH_O, NULL}, + { "new_aismsg_13", _wrap_new_aismsg_13, METH_NOARGS, NULL}, + { "delete_aismsg_13", _wrap_delete_aismsg_13, METH_O, NULL}, + { "aismsg_13_swigregister", aismsg_13_swigregister, METH_O, NULL}, + { "aismsg_13_swiginit", aismsg_13_swiginit, METH_VARARGS, NULL}, + { "aismsg_14_msgid_set", _wrap_aismsg_14_msgid_set, METH_VARARGS, NULL}, + { "aismsg_14_msgid_get", _wrap_aismsg_14_msgid_get, METH_O, NULL}, + { "aismsg_14_repeat_set", _wrap_aismsg_14_repeat_set, METH_VARARGS, NULL}, + { "aismsg_14_repeat_get", _wrap_aismsg_14_repeat_get, METH_O, NULL}, + { "aismsg_14_userid_set", _wrap_aismsg_14_userid_set, METH_VARARGS, NULL}, + { "aismsg_14_userid_get", _wrap_aismsg_14_userid_get, METH_O, NULL}, + { "aismsg_14_spare_set", _wrap_aismsg_14_spare_set, METH_VARARGS, NULL}, + { "aismsg_14_spare_get", _wrap_aismsg_14_spare_get, METH_O, NULL}, + { "aismsg_14_message_set", _wrap_aismsg_14_message_set, METH_VARARGS, NULL}, + { "aismsg_14_message_get", _wrap_aismsg_14_message_get, METH_O, NULL}, + { "new_aismsg_14", _wrap_new_aismsg_14, METH_NOARGS, NULL}, + { "delete_aismsg_14", _wrap_delete_aismsg_14, METH_O, NULL}, + { "aismsg_14_swigregister", aismsg_14_swigregister, METH_O, NULL}, + { "aismsg_14_swiginit", aismsg_14_swiginit, METH_VARARGS, NULL}, + { "aismsg_15_msgid_set", _wrap_aismsg_15_msgid_set, METH_VARARGS, NULL}, + { "aismsg_15_msgid_get", _wrap_aismsg_15_msgid_get, METH_O, NULL}, + { "aismsg_15_repeat_set", _wrap_aismsg_15_repeat_set, METH_VARARGS, NULL}, + { "aismsg_15_repeat_get", _wrap_aismsg_15_repeat_get, METH_O, NULL}, + { "aismsg_15_userid_set", _wrap_aismsg_15_userid_set, METH_VARARGS, NULL}, + { "aismsg_15_userid_get", _wrap_aismsg_15_userid_get, METH_O, NULL}, + { "aismsg_15_spare1_set", _wrap_aismsg_15_spare1_set, METH_VARARGS, NULL}, + { "aismsg_15_spare1_get", _wrap_aismsg_15_spare1_get, METH_O, NULL}, + { "aismsg_15_destid1_set", _wrap_aismsg_15_destid1_set, METH_VARARGS, NULL}, + { "aismsg_15_destid1_get", _wrap_aismsg_15_destid1_get, METH_O, NULL}, + { "aismsg_15_msgid1_1_set", _wrap_aismsg_15_msgid1_1_set, METH_VARARGS, NULL}, + { "aismsg_15_msgid1_1_get", _wrap_aismsg_15_msgid1_1_get, METH_O, NULL}, + { "aismsg_15_offset1_1_set", _wrap_aismsg_15_offset1_1_set, METH_VARARGS, NULL}, + { "aismsg_15_offset1_1_get", _wrap_aismsg_15_offset1_1_get, METH_O, NULL}, + { "aismsg_15_spare2_set", _wrap_aismsg_15_spare2_set, METH_VARARGS, NULL}, + { "aismsg_15_spare2_get", _wrap_aismsg_15_spare2_get, METH_O, NULL}, + { "aismsg_15_msgid1_2_set", _wrap_aismsg_15_msgid1_2_set, METH_VARARGS, NULL}, + { "aismsg_15_msgid1_2_get", _wrap_aismsg_15_msgid1_2_get, METH_O, NULL}, + { "aismsg_15_offset1_2_set", _wrap_aismsg_15_offset1_2_set, METH_VARARGS, NULL}, + { "aismsg_15_offset1_2_get", _wrap_aismsg_15_offset1_2_get, METH_O, NULL}, + { "aismsg_15_spare3_set", _wrap_aismsg_15_spare3_set, METH_VARARGS, NULL}, + { "aismsg_15_spare3_get", _wrap_aismsg_15_spare3_get, METH_O, NULL}, + { "aismsg_15_destid2_set", _wrap_aismsg_15_destid2_set, METH_VARARGS, NULL}, + { "aismsg_15_destid2_get", _wrap_aismsg_15_destid2_get, METH_O, NULL}, + { "aismsg_15_msgid2_1_set", _wrap_aismsg_15_msgid2_1_set, METH_VARARGS, NULL}, + { "aismsg_15_msgid2_1_get", _wrap_aismsg_15_msgid2_1_get, METH_O, NULL}, + { "aismsg_15_offset2_1_set", _wrap_aismsg_15_offset2_1_set, METH_VARARGS, NULL}, + { "aismsg_15_offset2_1_get", _wrap_aismsg_15_offset2_1_get, METH_O, NULL}, + { "aismsg_15_spare4_set", _wrap_aismsg_15_spare4_set, METH_VARARGS, NULL}, + { "aismsg_15_spare4_get", _wrap_aismsg_15_spare4_get, METH_O, NULL}, + { "aismsg_15_num_reqs_set", _wrap_aismsg_15_num_reqs_set, METH_VARARGS, NULL}, + { "aismsg_15_num_reqs_get", _wrap_aismsg_15_num_reqs_get, METH_O, NULL}, + { "new_aismsg_15", _wrap_new_aismsg_15, METH_NOARGS, NULL}, + { "delete_aismsg_15", _wrap_delete_aismsg_15, METH_O, NULL}, + { "aismsg_15_swigregister", aismsg_15_swigregister, METH_O, NULL}, + { "aismsg_15_swiginit", aismsg_15_swiginit, METH_VARARGS, NULL}, + { "aismsg_16_msgid_set", _wrap_aismsg_16_msgid_set, METH_VARARGS, NULL}, + { "aismsg_16_msgid_get", _wrap_aismsg_16_msgid_get, METH_O, NULL}, + { "aismsg_16_repeat_set", _wrap_aismsg_16_repeat_set, METH_VARARGS, NULL}, + { "aismsg_16_repeat_get", _wrap_aismsg_16_repeat_get, METH_O, NULL}, + { "aismsg_16_userid_set", _wrap_aismsg_16_userid_set, METH_VARARGS, NULL}, + { "aismsg_16_userid_get", _wrap_aismsg_16_userid_get, METH_O, NULL}, + { "aismsg_16_spare1_set", _wrap_aismsg_16_spare1_set, METH_VARARGS, NULL}, + { "aismsg_16_spare1_get", _wrap_aismsg_16_spare1_get, METH_O, NULL}, + { "aismsg_16_destid_a_set", _wrap_aismsg_16_destid_a_set, METH_VARARGS, NULL}, + { "aismsg_16_destid_a_get", _wrap_aismsg_16_destid_a_get, METH_O, NULL}, + { "aismsg_16_offset_a_set", _wrap_aismsg_16_offset_a_set, METH_VARARGS, NULL}, + { "aismsg_16_offset_a_get", _wrap_aismsg_16_offset_a_get, METH_O, NULL}, + { "aismsg_16_increment_a_set", _wrap_aismsg_16_increment_a_set, METH_VARARGS, NULL}, + { "aismsg_16_increment_a_get", _wrap_aismsg_16_increment_a_get, METH_O, NULL}, + { "aismsg_16_destid_b_set", _wrap_aismsg_16_destid_b_set, METH_VARARGS, NULL}, + { "aismsg_16_destid_b_get", _wrap_aismsg_16_destid_b_get, METH_O, NULL}, + { "aismsg_16_offset_b_set", _wrap_aismsg_16_offset_b_set, METH_VARARGS, NULL}, + { "aismsg_16_offset_b_get", _wrap_aismsg_16_offset_b_get, METH_O, NULL}, + { "aismsg_16_increment_b_set", _wrap_aismsg_16_increment_b_set, METH_VARARGS, NULL}, + { "aismsg_16_increment_b_get", _wrap_aismsg_16_increment_b_get, METH_O, NULL}, + { "aismsg_16_spare2_set", _wrap_aismsg_16_spare2_set, METH_VARARGS, NULL}, + { "aismsg_16_spare2_get", _wrap_aismsg_16_spare2_get, METH_O, NULL}, + { "aismsg_16_num_cmds_set", _wrap_aismsg_16_num_cmds_set, METH_VARARGS, NULL}, + { "aismsg_16_num_cmds_get", _wrap_aismsg_16_num_cmds_get, METH_O, NULL}, + { "new_aismsg_16", _wrap_new_aismsg_16, METH_NOARGS, NULL}, + { "delete_aismsg_16", _wrap_delete_aismsg_16, METH_O, NULL}, + { "aismsg_16_swigregister", aismsg_16_swigregister, METH_O, NULL}, + { "aismsg_16_swiginit", aismsg_16_swiginit, METH_VARARGS, NULL}, + { "aismsg_17_msgid_set", _wrap_aismsg_17_msgid_set, METH_VARARGS, NULL}, + { "aismsg_17_msgid_get", _wrap_aismsg_17_msgid_get, METH_O, NULL}, + { "aismsg_17_repeat_set", _wrap_aismsg_17_repeat_set, METH_VARARGS, NULL}, + { "aismsg_17_repeat_get", _wrap_aismsg_17_repeat_get, METH_O, NULL}, + { "aismsg_17_userid_set", _wrap_aismsg_17_userid_set, METH_VARARGS, NULL}, + { "aismsg_17_userid_get", _wrap_aismsg_17_userid_get, METH_O, NULL}, + { "aismsg_17_spare1_set", _wrap_aismsg_17_spare1_set, METH_VARARGS, NULL}, + { "aismsg_17_spare1_get", _wrap_aismsg_17_spare1_get, METH_O, NULL}, + { "aismsg_17_longitude_set", _wrap_aismsg_17_longitude_set, METH_VARARGS, NULL}, + { "aismsg_17_longitude_get", _wrap_aismsg_17_longitude_get, METH_O, NULL}, + { "aismsg_17_latitude_set", _wrap_aismsg_17_latitude_set, METH_VARARGS, NULL}, + { "aismsg_17_latitude_get", _wrap_aismsg_17_latitude_get, METH_O, NULL}, + { "aismsg_17_spare2_set", _wrap_aismsg_17_spare2_set, METH_VARARGS, NULL}, + { "aismsg_17_spare2_get", _wrap_aismsg_17_spare2_get, METH_O, NULL}, + { "aismsg_17_msg_type_set", _wrap_aismsg_17_msg_type_set, METH_VARARGS, NULL}, + { "aismsg_17_msg_type_get", _wrap_aismsg_17_msg_type_get, METH_O, NULL}, + { "aismsg_17_station_id_set", _wrap_aismsg_17_station_id_set, METH_VARARGS, NULL}, + { "aismsg_17_station_id_get", _wrap_aismsg_17_station_id_get, METH_O, NULL}, + { "aismsg_17_z_count_set", _wrap_aismsg_17_z_count_set, METH_VARARGS, NULL}, + { "aismsg_17_z_count_get", _wrap_aismsg_17_z_count_get, METH_O, NULL}, + { "aismsg_17_seq_num_set", _wrap_aismsg_17_seq_num_set, METH_VARARGS, NULL}, + { "aismsg_17_seq_num_get", _wrap_aismsg_17_seq_num_get, METH_O, NULL}, + { "aismsg_17_num_words_set", _wrap_aismsg_17_num_words_set, METH_VARARGS, NULL}, + { "aismsg_17_num_words_get", _wrap_aismsg_17_num_words_get, METH_O, NULL}, + { "aismsg_17_health_set", _wrap_aismsg_17_health_set, METH_VARARGS, NULL}, + { "aismsg_17_health_get", _wrap_aismsg_17_health_get, METH_O, NULL}, + { "aismsg_17_data_set", _wrap_aismsg_17_data_set, METH_VARARGS, NULL}, + { "aismsg_17_data_get", _wrap_aismsg_17_data_get, METH_O, NULL}, + { "new_aismsg_17", _wrap_new_aismsg_17, METH_NOARGS, NULL}, + { "delete_aismsg_17", _wrap_delete_aismsg_17, METH_O, NULL}, + { "aismsg_17_swigregister", aismsg_17_swigregister, METH_O, NULL}, + { "aismsg_17_swiginit", aismsg_17_swiginit, METH_VARARGS, NULL}, + { "aismsg_18_msgid_set", _wrap_aismsg_18_msgid_set, METH_VARARGS, NULL}, + { "aismsg_18_msgid_get", _wrap_aismsg_18_msgid_get, METH_O, NULL}, + { "aismsg_18_repeat_set", _wrap_aismsg_18_repeat_set, METH_VARARGS, NULL}, + { "aismsg_18_repeat_get", _wrap_aismsg_18_repeat_get, METH_O, NULL}, + { "aismsg_18_userid_set", _wrap_aismsg_18_userid_set, METH_VARARGS, NULL}, + { "aismsg_18_userid_get", _wrap_aismsg_18_userid_get, METH_O, NULL}, + { "aismsg_18_regional1_set", _wrap_aismsg_18_regional1_set, METH_VARARGS, NULL}, + { "aismsg_18_regional1_get", _wrap_aismsg_18_regional1_get, METH_O, NULL}, + { "aismsg_18_sog_set", _wrap_aismsg_18_sog_set, METH_VARARGS, NULL}, + { "aismsg_18_sog_get", _wrap_aismsg_18_sog_get, METH_O, NULL}, + { "aismsg_18_pos_acc_set", _wrap_aismsg_18_pos_acc_set, METH_VARARGS, NULL}, + { "aismsg_18_pos_acc_get", _wrap_aismsg_18_pos_acc_get, METH_O, NULL}, + { "aismsg_18_longitude_set", _wrap_aismsg_18_longitude_set, METH_VARARGS, NULL}, + { "aismsg_18_longitude_get", _wrap_aismsg_18_longitude_get, METH_O, NULL}, + { "aismsg_18_latitude_set", _wrap_aismsg_18_latitude_set, METH_VARARGS, NULL}, + { "aismsg_18_latitude_get", _wrap_aismsg_18_latitude_get, METH_O, NULL}, + { "aismsg_18_cog_set", _wrap_aismsg_18_cog_set, METH_VARARGS, NULL}, + { "aismsg_18_cog_get", _wrap_aismsg_18_cog_get, METH_O, NULL}, + { "aismsg_18_true_set", _wrap_aismsg_18_true_set, METH_VARARGS, NULL}, + { "aismsg_18_true_get", _wrap_aismsg_18_true_get, METH_O, NULL}, + { "aismsg_18_utc_sec_set", _wrap_aismsg_18_utc_sec_set, METH_VARARGS, NULL}, + { "aismsg_18_utc_sec_get", _wrap_aismsg_18_utc_sec_get, METH_O, NULL}, + { "aismsg_18_regional2_set", _wrap_aismsg_18_regional2_set, METH_VARARGS, NULL}, + { "aismsg_18_regional2_get", _wrap_aismsg_18_regional2_get, METH_O, NULL}, + { "aismsg_18_unit_flag_set", _wrap_aismsg_18_unit_flag_set, METH_VARARGS, NULL}, + { "aismsg_18_unit_flag_get", _wrap_aismsg_18_unit_flag_get, METH_O, NULL}, + { "aismsg_18_display_flag_set", _wrap_aismsg_18_display_flag_set, METH_VARARGS, NULL}, + { "aismsg_18_display_flag_get", _wrap_aismsg_18_display_flag_get, METH_O, NULL}, + { "aismsg_18_dsc_flag_set", _wrap_aismsg_18_dsc_flag_set, METH_VARARGS, NULL}, + { "aismsg_18_dsc_flag_get", _wrap_aismsg_18_dsc_flag_get, METH_O, NULL}, + { "aismsg_18_band_flag_set", _wrap_aismsg_18_band_flag_set, METH_VARARGS, NULL}, + { "aismsg_18_band_flag_get", _wrap_aismsg_18_band_flag_get, METH_O, NULL}, + { "aismsg_18_msg22_flag_set", _wrap_aismsg_18_msg22_flag_set, METH_VARARGS, NULL}, + { "aismsg_18_msg22_flag_get", _wrap_aismsg_18_msg22_flag_get, METH_O, NULL}, + { "aismsg_18_mode_flag_set", _wrap_aismsg_18_mode_flag_set, METH_VARARGS, NULL}, + { "aismsg_18_mode_flag_get", _wrap_aismsg_18_mode_flag_get, METH_O, NULL}, + { "aismsg_18_raim_set", _wrap_aismsg_18_raim_set, METH_VARARGS, NULL}, + { "aismsg_18_raim_get", _wrap_aismsg_18_raim_get, METH_O, NULL}, + { "aismsg_18_comm_state_set", _wrap_aismsg_18_comm_state_set, METH_VARARGS, NULL}, + { "aismsg_18_comm_state_get", _wrap_aismsg_18_comm_state_get, METH_O, NULL}, + { "aismsg_18_sotdma_get", _wrap_aismsg_18_sotdma_get, METH_O, NULL}, + { "aismsg_18_itdma_get", _wrap_aismsg_18_itdma_get, METH_O, NULL}, + { "new_aismsg_18", _wrap_new_aismsg_18, METH_NOARGS, NULL}, + { "delete_aismsg_18", _wrap_delete_aismsg_18, METH_O, NULL}, + { "aismsg_18_swigregister", aismsg_18_swigregister, METH_O, NULL}, + { "aismsg_18_swiginit", aismsg_18_swiginit, METH_VARARGS, NULL}, + { "aismsg_18_itdma_sync_state_set", _wrap_aismsg_18_itdma_sync_state_set, METH_VARARGS, NULL}, + { "aismsg_18_itdma_sync_state_get", _wrap_aismsg_18_itdma_sync_state_get, METH_O, NULL}, + { "aismsg_18_itdma_slot_inc_set", _wrap_aismsg_18_itdma_slot_inc_set, METH_VARARGS, NULL}, + { "aismsg_18_itdma_slot_inc_get", _wrap_aismsg_18_itdma_slot_inc_get, METH_O, NULL}, + { "aismsg_18_itdma_num_slots_set", _wrap_aismsg_18_itdma_num_slots_set, METH_VARARGS, NULL}, + { "aismsg_18_itdma_num_slots_get", _wrap_aismsg_18_itdma_num_slots_get, METH_O, NULL}, + { "aismsg_18_itdma_keep_flag_set", _wrap_aismsg_18_itdma_keep_flag_set, METH_VARARGS, NULL}, + { "aismsg_18_itdma_keep_flag_get", _wrap_aismsg_18_itdma_keep_flag_get, METH_O, NULL}, + { "new_aismsg_18_itdma", _wrap_new_aismsg_18_itdma, METH_NOARGS, NULL}, + { "delete_aismsg_18_itdma", _wrap_delete_aismsg_18_itdma, METH_O, NULL}, + { "aismsg_18_itdma_swigregister", aismsg_18_itdma_swigregister, METH_O, NULL}, + { "aismsg_18_itdma_swiginit", aismsg_18_itdma_swiginit, METH_VARARGS, NULL}, + { "aismsg_18_sotdma_sync_state_set", _wrap_aismsg_18_sotdma_sync_state_set, METH_VARARGS, NULL}, + { "aismsg_18_sotdma_sync_state_get", _wrap_aismsg_18_sotdma_sync_state_get, METH_O, NULL}, + { "aismsg_18_sotdma_slot_timeout_set", _wrap_aismsg_18_sotdma_slot_timeout_set, METH_VARARGS, NULL}, + { "aismsg_18_sotdma_slot_timeout_get", _wrap_aismsg_18_sotdma_slot_timeout_get, METH_O, NULL}, + { "aismsg_18_sotdma_sub_message_set", _wrap_aismsg_18_sotdma_sub_message_set, METH_VARARGS, NULL}, + { "aismsg_18_sotdma_sub_message_get", _wrap_aismsg_18_sotdma_sub_message_get, METH_O, NULL}, + { "new_aismsg_18_sotdma", _wrap_new_aismsg_18_sotdma, METH_NOARGS, NULL}, + { "delete_aismsg_18_sotdma", _wrap_delete_aismsg_18_sotdma, METH_O, NULL}, + { "aismsg_18_sotdma_swigregister", aismsg_18_sotdma_swigregister, METH_O, NULL}, + { "aismsg_18_sotdma_swiginit", aismsg_18_sotdma_swiginit, METH_VARARGS, NULL}, + { "aismsg_19_msgid_set", _wrap_aismsg_19_msgid_set, METH_VARARGS, NULL}, + { "aismsg_19_msgid_get", _wrap_aismsg_19_msgid_get, METH_O, NULL}, + { "aismsg_19_repeat_set", _wrap_aismsg_19_repeat_set, METH_VARARGS, NULL}, + { "aismsg_19_repeat_get", _wrap_aismsg_19_repeat_get, METH_O, NULL}, + { "aismsg_19_userid_set", _wrap_aismsg_19_userid_set, METH_VARARGS, NULL}, + { "aismsg_19_userid_get", _wrap_aismsg_19_userid_get, METH_O, NULL}, + { "aismsg_19_regional1_set", _wrap_aismsg_19_regional1_set, METH_VARARGS, NULL}, + { "aismsg_19_regional1_get", _wrap_aismsg_19_regional1_get, METH_O, NULL}, + { "aismsg_19_sog_set", _wrap_aismsg_19_sog_set, METH_VARARGS, NULL}, + { "aismsg_19_sog_get", _wrap_aismsg_19_sog_get, METH_O, NULL}, + { "aismsg_19_pos_acc_set", _wrap_aismsg_19_pos_acc_set, METH_VARARGS, NULL}, + { "aismsg_19_pos_acc_get", _wrap_aismsg_19_pos_acc_get, METH_O, NULL}, + { "aismsg_19_longitude_set", _wrap_aismsg_19_longitude_set, METH_VARARGS, NULL}, + { "aismsg_19_longitude_get", _wrap_aismsg_19_longitude_get, METH_O, NULL}, + { "aismsg_19_latitude_set", _wrap_aismsg_19_latitude_set, METH_VARARGS, NULL}, + { "aismsg_19_latitude_get", _wrap_aismsg_19_latitude_get, METH_O, NULL}, + { "aismsg_19_cog_set", _wrap_aismsg_19_cog_set, METH_VARARGS, NULL}, + { "aismsg_19_cog_get", _wrap_aismsg_19_cog_get, METH_O, NULL}, + { "aismsg_19_true_set", _wrap_aismsg_19_true_set, METH_VARARGS, NULL}, + { "aismsg_19_true_get", _wrap_aismsg_19_true_get, METH_O, NULL}, + { "aismsg_19_utc_sec_set", _wrap_aismsg_19_utc_sec_set, METH_VARARGS, NULL}, + { "aismsg_19_utc_sec_get", _wrap_aismsg_19_utc_sec_get, METH_O, NULL}, + { "aismsg_19_regional2_set", _wrap_aismsg_19_regional2_set, METH_VARARGS, NULL}, + { "aismsg_19_regional2_get", _wrap_aismsg_19_regional2_get, METH_O, NULL}, + { "aismsg_19_name_set", _wrap_aismsg_19_name_set, METH_VARARGS, NULL}, + { "aismsg_19_name_get", _wrap_aismsg_19_name_get, METH_O, NULL}, + { "aismsg_19_ship_type_set", _wrap_aismsg_19_ship_type_set, METH_VARARGS, NULL}, + { "aismsg_19_ship_type_get", _wrap_aismsg_19_ship_type_get, METH_O, NULL}, + { "aismsg_19_dim_bow_set", _wrap_aismsg_19_dim_bow_set, METH_VARARGS, NULL}, + { "aismsg_19_dim_bow_get", _wrap_aismsg_19_dim_bow_get, METH_O, NULL}, + { "aismsg_19_dim_stern_set", _wrap_aismsg_19_dim_stern_set, METH_VARARGS, NULL}, + { "aismsg_19_dim_stern_get", _wrap_aismsg_19_dim_stern_get, METH_O, NULL}, + { "aismsg_19_dim_port_set", _wrap_aismsg_19_dim_port_set, METH_VARARGS, NULL}, + { "aismsg_19_dim_port_get", _wrap_aismsg_19_dim_port_get, METH_O, NULL}, + { "aismsg_19_dim_starboard_set", _wrap_aismsg_19_dim_starboard_set, METH_VARARGS, NULL}, + { "aismsg_19_dim_starboard_get", _wrap_aismsg_19_dim_starboard_get, METH_O, NULL}, + { "aismsg_19_pos_type_set", _wrap_aismsg_19_pos_type_set, METH_VARARGS, NULL}, + { "aismsg_19_pos_type_get", _wrap_aismsg_19_pos_type_get, METH_O, NULL}, + { "aismsg_19_raim_set", _wrap_aismsg_19_raim_set, METH_VARARGS, NULL}, + { "aismsg_19_raim_get", _wrap_aismsg_19_raim_get, METH_O, NULL}, + { "aismsg_19_dte_set", _wrap_aismsg_19_dte_set, METH_VARARGS, NULL}, + { "aismsg_19_dte_get", _wrap_aismsg_19_dte_get, METH_O, NULL}, + { "aismsg_19_spare_set", _wrap_aismsg_19_spare_set, METH_VARARGS, NULL}, + { "aismsg_19_spare_get", _wrap_aismsg_19_spare_get, METH_O, NULL}, + { "new_aismsg_19", _wrap_new_aismsg_19, METH_NOARGS, NULL}, + { "delete_aismsg_19", _wrap_delete_aismsg_19, METH_O, NULL}, + { "aismsg_19_swigregister", aismsg_19_swigregister, METH_O, NULL}, + { "aismsg_19_swiginit", aismsg_19_swiginit, METH_VARARGS, NULL}, + { "aismsg_20_msgid_set", _wrap_aismsg_20_msgid_set, METH_VARARGS, NULL}, + { "aismsg_20_msgid_get", _wrap_aismsg_20_msgid_get, METH_O, NULL}, + { "aismsg_20_repeat_set", _wrap_aismsg_20_repeat_set, METH_VARARGS, NULL}, + { "aismsg_20_repeat_get", _wrap_aismsg_20_repeat_get, METH_O, NULL}, + { "aismsg_20_userid_set", _wrap_aismsg_20_userid_set, METH_VARARGS, NULL}, + { "aismsg_20_userid_get", _wrap_aismsg_20_userid_get, METH_O, NULL}, + { "aismsg_20_spare1_set", _wrap_aismsg_20_spare1_set, METH_VARARGS, NULL}, + { "aismsg_20_spare1_get", _wrap_aismsg_20_spare1_get, METH_O, NULL}, + { "aismsg_20_offset1_set", _wrap_aismsg_20_offset1_set, METH_VARARGS, NULL}, + { "aismsg_20_offset1_get", _wrap_aismsg_20_offset1_get, METH_O, NULL}, + { "aismsg_20_slots1_set", _wrap_aismsg_20_slots1_set, METH_VARARGS, NULL}, + { "aismsg_20_slots1_get", _wrap_aismsg_20_slots1_get, METH_O, NULL}, + { "aismsg_20_timeout1_set", _wrap_aismsg_20_timeout1_set, METH_VARARGS, NULL}, + { "aismsg_20_timeout1_get", _wrap_aismsg_20_timeout1_get, METH_O, NULL}, + { "aismsg_20_increment1_set", _wrap_aismsg_20_increment1_set, METH_VARARGS, NULL}, + { "aismsg_20_increment1_get", _wrap_aismsg_20_increment1_get, METH_O, NULL}, + { "aismsg_20_offset2_set", _wrap_aismsg_20_offset2_set, METH_VARARGS, NULL}, + { "aismsg_20_offset2_get", _wrap_aismsg_20_offset2_get, METH_O, NULL}, + { "aismsg_20_slots2_set", _wrap_aismsg_20_slots2_set, METH_VARARGS, NULL}, + { "aismsg_20_slots2_get", _wrap_aismsg_20_slots2_get, METH_O, NULL}, + { "aismsg_20_timeout2_set", _wrap_aismsg_20_timeout2_set, METH_VARARGS, NULL}, + { "aismsg_20_timeout2_get", _wrap_aismsg_20_timeout2_get, METH_O, NULL}, + { "aismsg_20_increment2_set", _wrap_aismsg_20_increment2_set, METH_VARARGS, NULL}, + { "aismsg_20_increment2_get", _wrap_aismsg_20_increment2_get, METH_O, NULL}, + { "aismsg_20_offset3_set", _wrap_aismsg_20_offset3_set, METH_VARARGS, NULL}, + { "aismsg_20_offset3_get", _wrap_aismsg_20_offset3_get, METH_O, NULL}, + { "aismsg_20_slots3_set", _wrap_aismsg_20_slots3_set, METH_VARARGS, NULL}, + { "aismsg_20_slots3_get", _wrap_aismsg_20_slots3_get, METH_O, NULL}, + { "aismsg_20_timeout3_set", _wrap_aismsg_20_timeout3_set, METH_VARARGS, NULL}, + { "aismsg_20_timeout3_get", _wrap_aismsg_20_timeout3_get, METH_O, NULL}, + { "aismsg_20_increment3_set", _wrap_aismsg_20_increment3_set, METH_VARARGS, NULL}, + { "aismsg_20_increment3_get", _wrap_aismsg_20_increment3_get, METH_O, NULL}, + { "aismsg_20_offset4_set", _wrap_aismsg_20_offset4_set, METH_VARARGS, NULL}, + { "aismsg_20_offset4_get", _wrap_aismsg_20_offset4_get, METH_O, NULL}, + { "aismsg_20_slots4_set", _wrap_aismsg_20_slots4_set, METH_VARARGS, NULL}, + { "aismsg_20_slots4_get", _wrap_aismsg_20_slots4_get, METH_O, NULL}, + { "aismsg_20_timeout4_set", _wrap_aismsg_20_timeout4_set, METH_VARARGS, NULL}, + { "aismsg_20_timeout4_get", _wrap_aismsg_20_timeout4_get, METH_O, NULL}, + { "aismsg_20_increment4_set", _wrap_aismsg_20_increment4_set, METH_VARARGS, NULL}, + { "aismsg_20_increment4_get", _wrap_aismsg_20_increment4_get, METH_O, NULL}, + { "aismsg_20_spare2_set", _wrap_aismsg_20_spare2_set, METH_VARARGS, NULL}, + { "aismsg_20_spare2_get", _wrap_aismsg_20_spare2_get, METH_O, NULL}, + { "aismsg_20_num_cmds_set", _wrap_aismsg_20_num_cmds_set, METH_VARARGS, NULL}, + { "aismsg_20_num_cmds_get", _wrap_aismsg_20_num_cmds_get, METH_O, NULL}, + { "new_aismsg_20", _wrap_new_aismsg_20, METH_NOARGS, NULL}, + { "delete_aismsg_20", _wrap_delete_aismsg_20, METH_O, NULL}, + { "aismsg_20_swigregister", aismsg_20_swigregister, METH_O, NULL}, + { "aismsg_20_swiginit", aismsg_20_swiginit, METH_VARARGS, NULL}, + { "aismsg_21_msgid_set", _wrap_aismsg_21_msgid_set, METH_VARARGS, NULL}, + { "aismsg_21_msgid_get", _wrap_aismsg_21_msgid_get, METH_O, NULL}, + { "aismsg_21_repeat_set", _wrap_aismsg_21_repeat_set, METH_VARARGS, NULL}, + { "aismsg_21_repeat_get", _wrap_aismsg_21_repeat_get, METH_O, NULL}, + { "aismsg_21_userid_set", _wrap_aismsg_21_userid_set, METH_VARARGS, NULL}, + { "aismsg_21_userid_get", _wrap_aismsg_21_userid_get, METH_O, NULL}, + { "aismsg_21_aton_type_set", _wrap_aismsg_21_aton_type_set, METH_VARARGS, NULL}, + { "aismsg_21_aton_type_get", _wrap_aismsg_21_aton_type_get, METH_O, NULL}, + { "aismsg_21_name_set", _wrap_aismsg_21_name_set, METH_VARARGS, NULL}, + { "aismsg_21_name_get", _wrap_aismsg_21_name_get, METH_O, NULL}, + { "aismsg_21_pos_acc_set", _wrap_aismsg_21_pos_acc_set, METH_VARARGS, NULL}, + { "aismsg_21_pos_acc_get", _wrap_aismsg_21_pos_acc_get, METH_O, NULL}, + { "aismsg_21_longitude_set", _wrap_aismsg_21_longitude_set, METH_VARARGS, NULL}, + { "aismsg_21_longitude_get", _wrap_aismsg_21_longitude_get, METH_O, NULL}, + { "aismsg_21_latitude_set", _wrap_aismsg_21_latitude_set, METH_VARARGS, NULL}, + { "aismsg_21_latitude_get", _wrap_aismsg_21_latitude_get, METH_O, NULL}, + { "aismsg_21_dim_bow_set", _wrap_aismsg_21_dim_bow_set, METH_VARARGS, NULL}, + { "aismsg_21_dim_bow_get", _wrap_aismsg_21_dim_bow_get, METH_O, NULL}, + { "aismsg_21_dim_stern_set", _wrap_aismsg_21_dim_stern_set, METH_VARARGS, NULL}, + { "aismsg_21_dim_stern_get", _wrap_aismsg_21_dim_stern_get, METH_O, NULL}, + { "aismsg_21_dim_port_set", _wrap_aismsg_21_dim_port_set, METH_VARARGS, NULL}, + { "aismsg_21_dim_port_get", _wrap_aismsg_21_dim_port_get, METH_O, NULL}, + { "aismsg_21_dim_starboard_set", _wrap_aismsg_21_dim_starboard_set, METH_VARARGS, NULL}, + { "aismsg_21_dim_starboard_get", _wrap_aismsg_21_dim_starboard_get, METH_O, NULL}, + { "aismsg_21_pos_type_set", _wrap_aismsg_21_pos_type_set, METH_VARARGS, NULL}, + { "aismsg_21_pos_type_get", _wrap_aismsg_21_pos_type_get, METH_O, NULL}, + { "aismsg_21_utc_sec_set", _wrap_aismsg_21_utc_sec_set, METH_VARARGS, NULL}, + { "aismsg_21_utc_sec_get", _wrap_aismsg_21_utc_sec_get, METH_O, NULL}, + { "aismsg_21_off_position_set", _wrap_aismsg_21_off_position_set, METH_VARARGS, NULL}, + { "aismsg_21_off_position_get", _wrap_aismsg_21_off_position_get, METH_O, NULL}, + { "aismsg_21_regional_set", _wrap_aismsg_21_regional_set, METH_VARARGS, NULL}, + { "aismsg_21_regional_get", _wrap_aismsg_21_regional_get, METH_O, NULL}, + { "aismsg_21_raim_set", _wrap_aismsg_21_raim_set, METH_VARARGS, NULL}, + { "aismsg_21_raim_get", _wrap_aismsg_21_raim_get, METH_O, NULL}, + { "aismsg_21_virtual_set", _wrap_aismsg_21_virtual_set, METH_VARARGS, NULL}, + { "aismsg_21_virtual_get", _wrap_aismsg_21_virtual_get, METH_O, NULL}, + { "aismsg_21_assigned_set", _wrap_aismsg_21_assigned_set, METH_VARARGS, NULL}, + { "aismsg_21_assigned_get", _wrap_aismsg_21_assigned_get, METH_O, NULL}, + { "aismsg_21_spare1_set", _wrap_aismsg_21_spare1_set, METH_VARARGS, NULL}, + { "aismsg_21_spare1_get", _wrap_aismsg_21_spare1_get, METH_O, NULL}, + { "aismsg_21_name_ext_set", _wrap_aismsg_21_name_ext_set, METH_VARARGS, NULL}, + { "aismsg_21_name_ext_get", _wrap_aismsg_21_name_ext_get, METH_O, NULL}, + { "aismsg_21_spare2_set", _wrap_aismsg_21_spare2_set, METH_VARARGS, NULL}, + { "aismsg_21_spare2_get", _wrap_aismsg_21_spare2_get, METH_O, NULL}, + { "new_aismsg_21", _wrap_new_aismsg_21, METH_NOARGS, NULL}, + { "delete_aismsg_21", _wrap_delete_aismsg_21, METH_O, NULL}, + { "aismsg_21_swigregister", aismsg_21_swigregister, METH_O, NULL}, + { "aismsg_21_swiginit", aismsg_21_swiginit, METH_VARARGS, NULL}, + { "aismsg_22_msgid_set", _wrap_aismsg_22_msgid_set, METH_VARARGS, NULL}, + { "aismsg_22_msgid_get", _wrap_aismsg_22_msgid_get, METH_O, NULL}, + { "aismsg_22_repeat_set", _wrap_aismsg_22_repeat_set, METH_VARARGS, NULL}, + { "aismsg_22_repeat_get", _wrap_aismsg_22_repeat_get, METH_O, NULL}, + { "aismsg_22_userid_set", _wrap_aismsg_22_userid_set, METH_VARARGS, NULL}, + { "aismsg_22_userid_get", _wrap_aismsg_22_userid_get, METH_O, NULL}, + { "aismsg_22_spare1_set", _wrap_aismsg_22_spare1_set, METH_VARARGS, NULL}, + { "aismsg_22_spare1_get", _wrap_aismsg_22_spare1_get, METH_O, NULL}, + { "aismsg_22_channel_a_set", _wrap_aismsg_22_channel_a_set, METH_VARARGS, NULL}, + { "aismsg_22_channel_a_get", _wrap_aismsg_22_channel_a_get, METH_O, NULL}, + { "aismsg_22_channel_b_set", _wrap_aismsg_22_channel_b_set, METH_VARARGS, NULL}, + { "aismsg_22_channel_b_get", _wrap_aismsg_22_channel_b_get, METH_O, NULL}, + { "aismsg_22_txrx_mode_set", _wrap_aismsg_22_txrx_mode_set, METH_VARARGS, NULL}, + { "aismsg_22_txrx_mode_get", _wrap_aismsg_22_txrx_mode_get, METH_O, NULL}, + { "aismsg_22_power_set", _wrap_aismsg_22_power_set, METH_VARARGS, NULL}, + { "aismsg_22_power_get", _wrap_aismsg_22_power_get, METH_O, NULL}, + { "aismsg_22_NE_longitude_set", _wrap_aismsg_22_NE_longitude_set, METH_VARARGS, NULL}, + { "aismsg_22_NE_longitude_get", _wrap_aismsg_22_NE_longitude_get, METH_O, NULL}, + { "aismsg_22_NE_latitude_set", _wrap_aismsg_22_NE_latitude_set, METH_VARARGS, NULL}, + { "aismsg_22_NE_latitude_get", _wrap_aismsg_22_NE_latitude_get, METH_O, NULL}, + { "aismsg_22_addressed_1_set", _wrap_aismsg_22_addressed_1_set, METH_VARARGS, NULL}, + { "aismsg_22_addressed_1_get", _wrap_aismsg_22_addressed_1_get, METH_O, NULL}, + { "aismsg_22_SW_longitude_set", _wrap_aismsg_22_SW_longitude_set, METH_VARARGS, NULL}, + { "aismsg_22_SW_longitude_get", _wrap_aismsg_22_SW_longitude_get, METH_O, NULL}, + { "aismsg_22_SW_latitude_set", _wrap_aismsg_22_SW_latitude_set, METH_VARARGS, NULL}, + { "aismsg_22_SW_latitude_get", _wrap_aismsg_22_SW_latitude_get, METH_O, NULL}, + { "aismsg_22_addressed_2_set", _wrap_aismsg_22_addressed_2_set, METH_VARARGS, NULL}, + { "aismsg_22_addressed_2_get", _wrap_aismsg_22_addressed_2_get, METH_O, NULL}, + { "aismsg_22_addressed_set", _wrap_aismsg_22_addressed_set, METH_VARARGS, NULL}, + { "aismsg_22_addressed_get", _wrap_aismsg_22_addressed_get, METH_O, NULL}, + { "aismsg_22_bw_a_set", _wrap_aismsg_22_bw_a_set, METH_VARARGS, NULL}, + { "aismsg_22_bw_a_get", _wrap_aismsg_22_bw_a_get, METH_O, NULL}, + { "aismsg_22_bw_b_set", _wrap_aismsg_22_bw_b_set, METH_VARARGS, NULL}, + { "aismsg_22_bw_b_get", _wrap_aismsg_22_bw_b_get, METH_O, NULL}, + { "aismsg_22_tz_size_set", _wrap_aismsg_22_tz_size_set, METH_VARARGS, NULL}, + { "aismsg_22_tz_size_get", _wrap_aismsg_22_tz_size_get, METH_O, NULL}, + { "aismsg_22_spare2_set", _wrap_aismsg_22_spare2_set, METH_VARARGS, NULL}, + { "aismsg_22_spare2_get", _wrap_aismsg_22_spare2_get, METH_O, NULL}, + { "new_aismsg_22", _wrap_new_aismsg_22, METH_NOARGS, NULL}, + { "delete_aismsg_22", _wrap_delete_aismsg_22, METH_O, NULL}, + { "aismsg_22_swigregister", aismsg_22_swigregister, METH_O, NULL}, + { "aismsg_22_swiginit", aismsg_22_swiginit, METH_VARARGS, NULL}, + { "aismsg_23_msgid_set", _wrap_aismsg_23_msgid_set, METH_VARARGS, NULL}, + { "aismsg_23_msgid_get", _wrap_aismsg_23_msgid_get, METH_O, NULL}, + { "aismsg_23_repeat_set", _wrap_aismsg_23_repeat_set, METH_VARARGS, NULL}, + { "aismsg_23_repeat_get", _wrap_aismsg_23_repeat_get, METH_O, NULL}, + { "aismsg_23_userid_set", _wrap_aismsg_23_userid_set, METH_VARARGS, NULL}, + { "aismsg_23_userid_get", _wrap_aismsg_23_userid_get, METH_O, NULL}, + { "aismsg_23_spare1_set", _wrap_aismsg_23_spare1_set, METH_VARARGS, NULL}, + { "aismsg_23_spare1_get", _wrap_aismsg_23_spare1_get, METH_O, NULL}, + { "aismsg_23_NE_longitude_set", _wrap_aismsg_23_NE_longitude_set, METH_VARARGS, NULL}, + { "aismsg_23_NE_longitude_get", _wrap_aismsg_23_NE_longitude_get, METH_O, NULL}, + { "aismsg_23_NE_latitude_set", _wrap_aismsg_23_NE_latitude_set, METH_VARARGS, NULL}, + { "aismsg_23_NE_latitude_get", _wrap_aismsg_23_NE_latitude_get, METH_O, NULL}, + { "aismsg_23_SW_longitude_set", _wrap_aismsg_23_SW_longitude_set, METH_VARARGS, NULL}, + { "aismsg_23_SW_longitude_get", _wrap_aismsg_23_SW_longitude_get, METH_O, NULL}, + { "aismsg_23_SW_latitude_set", _wrap_aismsg_23_SW_latitude_set, METH_VARARGS, NULL}, + { "aismsg_23_SW_latitude_get", _wrap_aismsg_23_SW_latitude_get, METH_O, NULL}, + { "aismsg_23_station_type_set", _wrap_aismsg_23_station_type_set, METH_VARARGS, NULL}, + { "aismsg_23_station_type_get", _wrap_aismsg_23_station_type_get, METH_O, NULL}, + { "aismsg_23_ship_type_set", _wrap_aismsg_23_ship_type_set, METH_VARARGS, NULL}, + { "aismsg_23_ship_type_get", _wrap_aismsg_23_ship_type_get, METH_O, NULL}, + { "aismsg_23_spare2_set", _wrap_aismsg_23_spare2_set, METH_VARARGS, NULL}, + { "aismsg_23_spare2_get", _wrap_aismsg_23_spare2_get, METH_O, NULL}, + { "aismsg_23_txrx_mode_set", _wrap_aismsg_23_txrx_mode_set, METH_VARARGS, NULL}, + { "aismsg_23_txrx_mode_get", _wrap_aismsg_23_txrx_mode_get, METH_O, NULL}, + { "aismsg_23_report_interval_set", _wrap_aismsg_23_report_interval_set, METH_VARARGS, NULL}, + { "aismsg_23_report_interval_get", _wrap_aismsg_23_report_interval_get, METH_O, NULL}, + { "aismsg_23_quiet_time_set", _wrap_aismsg_23_quiet_time_set, METH_VARARGS, NULL}, + { "aismsg_23_quiet_time_get", _wrap_aismsg_23_quiet_time_get, METH_O, NULL}, + { "aismsg_23_spare3_set", _wrap_aismsg_23_spare3_set, METH_VARARGS, NULL}, + { "aismsg_23_spare3_get", _wrap_aismsg_23_spare3_get, METH_O, NULL}, + { "new_aismsg_23", _wrap_new_aismsg_23, METH_NOARGS, NULL}, + { "delete_aismsg_23", _wrap_delete_aismsg_23, METH_O, NULL}, + { "aismsg_23_swigregister", aismsg_23_swigregister, METH_O, NULL}, + { "aismsg_23_swiginit", aismsg_23_swiginit, METH_VARARGS, NULL}, + { "aismsg_24_msgid_set", _wrap_aismsg_24_msgid_set, METH_VARARGS, NULL}, + { "aismsg_24_msgid_get", _wrap_aismsg_24_msgid_get, METH_O, NULL}, + { "aismsg_24_repeat_set", _wrap_aismsg_24_repeat_set, METH_VARARGS, NULL}, + { "aismsg_24_repeat_get", _wrap_aismsg_24_repeat_get, METH_O, NULL}, + { "aismsg_24_userid_set", _wrap_aismsg_24_userid_set, METH_VARARGS, NULL}, + { "aismsg_24_userid_get", _wrap_aismsg_24_userid_get, METH_O, NULL}, + { "aismsg_24_part_number_set", _wrap_aismsg_24_part_number_set, METH_VARARGS, NULL}, + { "aismsg_24_part_number_get", _wrap_aismsg_24_part_number_get, METH_O, NULL}, + { "aismsg_24_name_set", _wrap_aismsg_24_name_set, METH_VARARGS, NULL}, + { "aismsg_24_name_get", _wrap_aismsg_24_name_get, METH_O, NULL}, + { "aismsg_24_ship_type_set", _wrap_aismsg_24_ship_type_set, METH_VARARGS, NULL}, + { "aismsg_24_ship_type_get", _wrap_aismsg_24_ship_type_get, METH_O, NULL}, + { "aismsg_24_vendor_id_set", _wrap_aismsg_24_vendor_id_set, METH_VARARGS, NULL}, + { "aismsg_24_vendor_id_get", _wrap_aismsg_24_vendor_id_get, METH_O, NULL}, + { "aismsg_24_callsign_set", _wrap_aismsg_24_callsign_set, METH_VARARGS, NULL}, + { "aismsg_24_callsign_get", _wrap_aismsg_24_callsign_get, METH_O, NULL}, + { "aismsg_24_dim_bow_set", _wrap_aismsg_24_dim_bow_set, METH_VARARGS, NULL}, + { "aismsg_24_dim_bow_get", _wrap_aismsg_24_dim_bow_get, METH_O, NULL}, + { "aismsg_24_dim_stern_set", _wrap_aismsg_24_dim_stern_set, METH_VARARGS, NULL}, + { "aismsg_24_dim_stern_get", _wrap_aismsg_24_dim_stern_get, METH_O, NULL}, + { "aismsg_24_dim_port_set", _wrap_aismsg_24_dim_port_set, METH_VARARGS, NULL}, + { "aismsg_24_dim_port_get", _wrap_aismsg_24_dim_port_get, METH_O, NULL}, + { "aismsg_24_dim_starboard_set", _wrap_aismsg_24_dim_starboard_set, METH_VARARGS, NULL}, + { "aismsg_24_dim_starboard_get", _wrap_aismsg_24_dim_starboard_get, METH_O, NULL}, + { "aismsg_24_spare_set", _wrap_aismsg_24_spare_set, METH_VARARGS, NULL}, + { "aismsg_24_spare_get", _wrap_aismsg_24_spare_get, METH_O, NULL}, + { "aismsg_24_flags_set", _wrap_aismsg_24_flags_set, METH_VARARGS, NULL}, + { "aismsg_24_flags_get", _wrap_aismsg_24_flags_get, METH_O, NULL}, + { "new_aismsg_24", _wrap_new_aismsg_24, METH_NOARGS, NULL}, + { "delete_aismsg_24", _wrap_delete_aismsg_24, METH_O, NULL}, + { "aismsg_24_swigregister", aismsg_24_swigregister, METH_O, NULL}, + { "aismsg_24_swiginit", aismsg_24_swiginit, METH_VARARGS, NULL}, + { "aismsg_27_msgid_set", _wrap_aismsg_27_msgid_set, METH_VARARGS, NULL}, + { "aismsg_27_msgid_get", _wrap_aismsg_27_msgid_get, METH_O, NULL}, + { "aismsg_27_repeat_set", _wrap_aismsg_27_repeat_set, METH_VARARGS, NULL}, + { "aismsg_27_repeat_get", _wrap_aismsg_27_repeat_get, METH_O, NULL}, + { "aismsg_27_userid_set", _wrap_aismsg_27_userid_set, METH_VARARGS, NULL}, + { "aismsg_27_userid_get", _wrap_aismsg_27_userid_get, METH_O, NULL}, + { "aismsg_27_pos_acc_set", _wrap_aismsg_27_pos_acc_set, METH_VARARGS, NULL}, + { "aismsg_27_pos_acc_get", _wrap_aismsg_27_pos_acc_get, METH_O, NULL}, + { "aismsg_27_raim_set", _wrap_aismsg_27_raim_set, METH_VARARGS, NULL}, + { "aismsg_27_raim_get", _wrap_aismsg_27_raim_get, METH_O, NULL}, + { "aismsg_27_nav_status_set", _wrap_aismsg_27_nav_status_set, METH_VARARGS, NULL}, + { "aismsg_27_nav_status_get", _wrap_aismsg_27_nav_status_get, METH_O, NULL}, + { "aismsg_27_longitude_set", _wrap_aismsg_27_longitude_set, METH_VARARGS, NULL}, + { "aismsg_27_longitude_get", _wrap_aismsg_27_longitude_get, METH_O, NULL}, + { "aismsg_27_latitude_set", _wrap_aismsg_27_latitude_set, METH_VARARGS, NULL}, + { "aismsg_27_latitude_get", _wrap_aismsg_27_latitude_get, METH_O, NULL}, + { "aismsg_27_sog_set", _wrap_aismsg_27_sog_set, METH_VARARGS, NULL}, + { "aismsg_27_sog_get", _wrap_aismsg_27_sog_get, METH_O, NULL}, + { "aismsg_27_cog_set", _wrap_aismsg_27_cog_set, METH_VARARGS, NULL}, + { "aismsg_27_cog_get", _wrap_aismsg_27_cog_get, METH_O, NULL}, + { "aismsg_27_gnss_set", _wrap_aismsg_27_gnss_set, METH_VARARGS, NULL}, + { "aismsg_27_gnss_get", _wrap_aismsg_27_gnss_get, METH_O, NULL}, + { "aismsg_27_spare_set", _wrap_aismsg_27_spare_set, METH_VARARGS, NULL}, + { "aismsg_27_spare_get", _wrap_aismsg_27_spare_get, METH_O, NULL}, + { "new_aismsg_27", _wrap_new_aismsg_27, METH_NOARGS, NULL}, + { "delete_aismsg_27", _wrap_delete_aismsg_27, METH_O, NULL}, + { "aismsg_27_swigregister", aismsg_27_swigregister, METH_O, NULL}, + { "aismsg_27_swiginit", aismsg_27_swiginit, METH_VARARGS, NULL}, + { "timetag_month_set", _wrap_timetag_month_set, METH_VARARGS, NULL}, + { "timetag_month_get", _wrap_timetag_month_get, METH_O, NULL}, + { "timetag_day_set", _wrap_timetag_day_set, METH_VARARGS, NULL}, + { "timetag_day_get", _wrap_timetag_day_get, METH_O, NULL}, + { "timetag_hours_set", _wrap_timetag_hours_set, METH_VARARGS, NULL}, + { "timetag_hours_get", _wrap_timetag_hours_get, METH_O, NULL}, + { "timetag_minutes_set", _wrap_timetag_minutes_set, METH_VARARGS, NULL}, + { "timetag_minutes_get", _wrap_timetag_minutes_get, METH_O, NULL}, + { "new_timetag", _wrap_new_timetag, METH_NOARGS, NULL}, + { "delete_timetag", _wrap_delete_timetag, METH_O, NULL}, + { "timetag_swigregister", timetag_swigregister, METH_O, NULL}, + { "timetag_swiginit", timetag_swiginit, METH_VARARGS, NULL}, + { "ais_state_msgid_set", _wrap_ais_state_msgid_set, METH_VARARGS, NULL}, + { "ais_state_msgid_get", _wrap_ais_state_msgid_get, METH_O, NULL}, + { "ais_state_sequence_set", _wrap_ais_state_sequence_set, METH_VARARGS, NULL}, + { "ais_state_sequence_get", _wrap_ais_state_sequence_get, METH_O, NULL}, + { "ais_state_total_set", _wrap_ais_state_total_set, METH_VARARGS, NULL}, + { "ais_state_total_get", _wrap_ais_state_total_get, METH_O, NULL}, + { "ais_state_num_set", _wrap_ais_state_num_set, METH_VARARGS, NULL}, + { "ais_state_num_get", _wrap_ais_state_num_get, METH_O, NULL}, + { "ais_state_channel_set", _wrap_ais_state_channel_set, METH_VARARGS, NULL}, + { "ais_state_channel_get", _wrap_ais_state_channel_get, METH_O, NULL}, + { "ais_state_six_state_set", _wrap_ais_state_six_state_set, METH_VARARGS, NULL}, + { "ais_state_six_state_get", _wrap_ais_state_six_state_get, METH_O, NULL}, + { "new_ais_state", _wrap_new_ais_state, METH_NOARGS, NULL}, + { "delete_ais_state", _wrap_delete_ais_state, METH_O, NULL}, + { "ais_state_swigregister", ais_state_swigregister, METH_O, NULL}, + { "ais_state_swiginit", ais_state_swiginit, METH_VARARGS, NULL}, + { "binary_state_dac_set", _wrap_binary_state_dac_set, METH_VARARGS, NULL}, + { "binary_state_dac_get", _wrap_binary_state_dac_get, METH_O, NULL}, + { "binary_state_fi_set", _wrap_binary_state_fi_set, METH_VARARGS, NULL}, + { "binary_state_fi_get", _wrap_binary_state_fi_get, METH_O, NULL}, + { "binary_state_spare_set", _wrap_binary_state_spare_set, METH_VARARGS, NULL}, + { "binary_state_spare_get", _wrap_binary_state_spare_get, METH_O, NULL}, + { "binary_state_msgid_set", _wrap_binary_state_msgid_set, METH_VARARGS, NULL}, + { "binary_state_msgid_get", _wrap_binary_state_msgid_get, METH_O, NULL}, + { "binary_state_six_state_set", _wrap_binary_state_six_state_set, METH_VARARGS, NULL}, + { "binary_state_six_state_get", _wrap_binary_state_six_state_get, METH_O, NULL}, + { "new_binary_state", _wrap_new_binary_state, METH_NOARGS, NULL}, + { "delete_binary_state", _wrap_delete_binary_state, METH_O, NULL}, + { "binary_state_swigregister", binary_state_swigregister, METH_O, NULL}, + { "binary_state_swiginit", binary_state_swiginit, METH_VARARGS, NULL}, + { "get_timetag", _wrap_get_timetag, METH_VARARGS, NULL}, + { "conv_sign", _wrap_conv_sign, METH_VARARGS, NULL}, + { "ais2ascii", _wrap_ais2ascii, METH_O, NULL}, + { "conv_pos", _wrap_conv_pos, METH_VARARGS, NULL}, + { "conv_pos27", _wrap_conv_pos27, METH_VARARGS, NULL}, + { "assemble_vdm", _wrap_assemble_vdm, METH_VARARGS, NULL}, + { "parse_ais_1", _wrap_parse_ais_1, METH_VARARGS, NULL}, + { "parse_ais_2", _wrap_parse_ais_2, METH_VARARGS, NULL}, + { "parse_ais_3", _wrap_parse_ais_3, METH_VARARGS, NULL}, + { "parse_ais_4", _wrap_parse_ais_4, METH_VARARGS, NULL}, + { "parse_ais_5", _wrap_parse_ais_5, METH_VARARGS, NULL}, + { "parse_ais_6", _wrap_parse_ais_6, METH_VARARGS, NULL}, + { "parse_ais_7", _wrap_parse_ais_7, METH_VARARGS, NULL}, + { "parse_ais_8", _wrap_parse_ais_8, METH_VARARGS, NULL}, + { "parse_ais_9", _wrap_parse_ais_9, METH_VARARGS, NULL}, + { "parse_ais_10", _wrap_parse_ais_10, METH_VARARGS, NULL}, + { "parse_ais_11", _wrap_parse_ais_11, METH_VARARGS, NULL}, + { "parse_ais_12", _wrap_parse_ais_12, METH_VARARGS, NULL}, + { "parse_ais_13", _wrap_parse_ais_13, METH_VARARGS, NULL}, + { "parse_ais_14", _wrap_parse_ais_14, METH_VARARGS, NULL}, + { "parse_ais_15", _wrap_parse_ais_15, METH_VARARGS, NULL}, + { "parse_ais_16", _wrap_parse_ais_16, METH_VARARGS, NULL}, + { "parse_ais_17", _wrap_parse_ais_17, METH_VARARGS, NULL}, + { "parse_ais_18", _wrap_parse_ais_18, METH_VARARGS, NULL}, + { "parse_ais_19", _wrap_parse_ais_19, METH_VARARGS, NULL}, + { "parse_ais_20", _wrap_parse_ais_20, METH_VARARGS, NULL}, + { "parse_ais_21", _wrap_parse_ais_21, METH_VARARGS, NULL}, + { "parse_ais_22", _wrap_parse_ais_22, METH_VARARGS, NULL}, + { "parse_ais_23", _wrap_parse_ais_23, METH_VARARGS, NULL}, + { "parse_ais_24", _wrap_parse_ais_24, METH_VARARGS, NULL}, + { "parse_ais_27", _wrap_parse_ais_27, METH_VARARGS, NULL}, + { "wind_report_utc_time_set", _wrap_wind_report_utc_time_set, METH_VARARGS, NULL}, + { "wind_report_utc_time_get", _wrap_wind_report_utc_time_get, METH_O, NULL}, + { "wind_report_station_id_set", _wrap_wind_report_station_id_set, METH_VARARGS, NULL}, + { "wind_report_station_id_get", _wrap_wind_report_station_id_get, METH_O, NULL}, + { "wind_report_longitude_set", _wrap_wind_report_longitude_set, METH_VARARGS, NULL}, + { "wind_report_longitude_get", _wrap_wind_report_longitude_get, METH_O, NULL}, + { "wind_report_latitude_set", _wrap_wind_report_latitude_set, METH_VARARGS, NULL}, + { "wind_report_latitude_get", _wrap_wind_report_latitude_get, METH_O, NULL}, + { "wind_report_speed_set", _wrap_wind_report_speed_set, METH_VARARGS, NULL}, + { "wind_report_speed_get", _wrap_wind_report_speed_get, METH_O, NULL}, + { "wind_report_gust_set", _wrap_wind_report_gust_set, METH_VARARGS, NULL}, + { "wind_report_gust_get", _wrap_wind_report_gust_get, METH_O, NULL}, + { "wind_report_direction_set", _wrap_wind_report_direction_set, METH_VARARGS, NULL}, + { "wind_report_direction_get", _wrap_wind_report_direction_get, METH_O, NULL}, + { "wind_report_spare_set", _wrap_wind_report_spare_set, METH_VARARGS, NULL}, + { "wind_report_spare_get", _wrap_wind_report_spare_get, METH_O, NULL}, + { "new_wind_report", _wrap_new_wind_report, METH_NOARGS, NULL}, + { "delete_wind_report", _wrap_delete_wind_report, METH_O, NULL}, + { "wind_report_swigregister", wind_report_swigregister, METH_O, NULL}, + { "wind_report_swiginit", wind_report_swiginit, METH_VARARGS, NULL}, + { "weather_report_utc_time_set", _wrap_weather_report_utc_time_set, METH_VARARGS, NULL}, + { "weather_report_utc_time_get", _wrap_weather_report_utc_time_get, METH_O, NULL}, + { "weather_report_station_id_set", _wrap_weather_report_station_id_set, METH_VARARGS, NULL}, + { "weather_report_station_id_get", _wrap_weather_report_station_id_get, METH_O, NULL}, + { "weather_report_longitude_set", _wrap_weather_report_longitude_set, METH_VARARGS, NULL}, + { "weather_report_longitude_get", _wrap_weather_report_longitude_get, METH_O, NULL}, + { "weather_report_latitude_set", _wrap_weather_report_latitude_set, METH_VARARGS, NULL}, + { "weather_report_latitude_get", _wrap_weather_report_latitude_get, METH_O, NULL}, + { "weather_report_speed_set", _wrap_weather_report_speed_set, METH_VARARGS, NULL}, + { "weather_report_speed_get", _wrap_weather_report_speed_get, METH_O, NULL}, + { "weather_report_gust_set", _wrap_weather_report_gust_set, METH_VARARGS, NULL}, + { "weather_report_gust_get", _wrap_weather_report_gust_get, METH_O, NULL}, + { "weather_report_direction_set", _wrap_weather_report_direction_set, METH_VARARGS, NULL}, + { "weather_report_direction_get", _wrap_weather_report_direction_get, METH_O, NULL}, + { "weather_report_pressure_set", _wrap_weather_report_pressure_set, METH_VARARGS, NULL}, + { "weather_report_pressure_get", _wrap_weather_report_pressure_get, METH_O, NULL}, + { "weather_report_air_temp_set", _wrap_weather_report_air_temp_set, METH_VARARGS, NULL}, + { "weather_report_air_temp_get", _wrap_weather_report_air_temp_get, METH_O, NULL}, + { "weather_report_dew_point_set", _wrap_weather_report_dew_point_set, METH_VARARGS, NULL}, + { "weather_report_dew_point_get", _wrap_weather_report_dew_point_get, METH_O, NULL}, + { "weather_report_visibility_set", _wrap_weather_report_visibility_set, METH_VARARGS, NULL}, + { "weather_report_visibility_get", _wrap_weather_report_visibility_get, METH_O, NULL}, + { "weather_report_water_temp_set", _wrap_weather_report_water_temp_set, METH_VARARGS, NULL}, + { "weather_report_water_temp_get", _wrap_weather_report_water_temp_get, METH_O, NULL}, + { "new_weather_report", _wrap_new_weather_report, METH_NOARGS, NULL}, + { "delete_weather_report", _wrap_delete_weather_report, METH_O, NULL}, + { "weather_report_swigregister", weather_report_swigregister, METH_O, NULL}, + { "weather_report_swiginit", weather_report_swiginit, METH_VARARGS, NULL}, + { "water_level_report_utc_time_set", _wrap_water_level_report_utc_time_set, METH_VARARGS, NULL}, + { "water_level_report_utc_time_get", _wrap_water_level_report_utc_time_get, METH_O, NULL}, + { "water_level_report_station_id_set", _wrap_water_level_report_station_id_set, METH_VARARGS, NULL}, + { "water_level_report_station_id_get", _wrap_water_level_report_station_id_get, METH_O, NULL}, + { "water_level_report_longitude_set", _wrap_water_level_report_longitude_set, METH_VARARGS, NULL}, + { "water_level_report_longitude_get", _wrap_water_level_report_longitude_get, METH_O, NULL}, + { "water_level_report_latitude_set", _wrap_water_level_report_latitude_set, METH_VARARGS, NULL}, + { "water_level_report_latitude_get", _wrap_water_level_report_latitude_get, METH_O, NULL}, + { "water_level_report_type_set", _wrap_water_level_report_type_set, METH_VARARGS, NULL}, + { "water_level_report_type_get", _wrap_water_level_report_type_get, METH_O, NULL}, + { "water_level_report_level_set", _wrap_water_level_report_level_set, METH_VARARGS, NULL}, + { "water_level_report_level_get", _wrap_water_level_report_level_get, METH_O, NULL}, + { "water_level_report_datum_set", _wrap_water_level_report_datum_set, METH_VARARGS, NULL}, + { "water_level_report_datum_get", _wrap_water_level_report_datum_get, METH_O, NULL}, + { "water_level_report_spare_set", _wrap_water_level_report_spare_set, METH_VARARGS, NULL}, + { "water_level_report_spare_get", _wrap_water_level_report_spare_get, METH_O, NULL}, + { "new_water_level_report", _wrap_new_water_level_report, METH_NOARGS, NULL}, + { "delete_water_level_report", _wrap_delete_water_level_report, METH_O, NULL}, + { "water_level_report_swigregister", water_level_report_swigregister, METH_O, NULL}, + { "water_level_report_swiginit", water_level_report_swiginit, METH_VARARGS, NULL}, + { "water_flow_report_utc_time_set", _wrap_water_flow_report_utc_time_set, METH_VARARGS, NULL}, + { "water_flow_report_utc_time_get", _wrap_water_flow_report_utc_time_get, METH_O, NULL}, + { "water_flow_report_station_id_set", _wrap_water_flow_report_station_id_set, METH_VARARGS, NULL}, + { "water_flow_report_station_id_get", _wrap_water_flow_report_station_id_get, METH_O, NULL}, + { "water_flow_report_longitude_set", _wrap_water_flow_report_longitude_set, METH_VARARGS, NULL}, + { "water_flow_report_longitude_get", _wrap_water_flow_report_longitude_get, METH_O, NULL}, + { "water_flow_report_latitude_set", _wrap_water_flow_report_latitude_set, METH_VARARGS, NULL}, + { "water_flow_report_latitude_get", _wrap_water_flow_report_latitude_get, METH_O, NULL}, + { "water_flow_report_flow_set", _wrap_water_flow_report_flow_set, METH_VARARGS, NULL}, + { "water_flow_report_flow_get", _wrap_water_flow_report_flow_get, METH_O, NULL}, + { "water_flow_report_spare_set", _wrap_water_flow_report_spare_set, METH_VARARGS, NULL}, + { "water_flow_report_spare_get", _wrap_water_flow_report_spare_get, METH_O, NULL}, + { "new_water_flow_report", _wrap_new_water_flow_report, METH_NOARGS, NULL}, + { "delete_water_flow_report", _wrap_delete_water_flow_report, METH_O, NULL}, + { "water_flow_report_swigregister", water_flow_report_swigregister, METH_O, NULL}, + { "water_flow_report_swiginit", water_flow_report_swiginit, METH_VARARGS, NULL}, + { "lock_schedule_name_set", _wrap_lock_schedule_name_set, METH_VARARGS, NULL}, + { "lock_schedule_name_get", _wrap_lock_schedule_name_get, METH_O, NULL}, + { "lock_schedule_direction_set", _wrap_lock_schedule_direction_set, METH_VARARGS, NULL}, + { "lock_schedule_direction_get", _wrap_lock_schedule_direction_get, METH_O, NULL}, + { "lock_schedule_eta_set", _wrap_lock_schedule_eta_set, METH_VARARGS, NULL}, + { "lock_schedule_eta_get", _wrap_lock_schedule_eta_get, METH_O, NULL}, + { "lock_schedule_spare_set", _wrap_lock_schedule_spare_set, METH_VARARGS, NULL}, + { "lock_schedule_spare_get", _wrap_lock_schedule_spare_get, METH_O, NULL}, + { "new_lock_schedule", _wrap_new_lock_schedule, METH_NOARGS, NULL}, + { "delete_lock_schedule", _wrap_delete_lock_schedule, METH_O, NULL}, + { "lock_schedule_swigregister", lock_schedule_swigregister, METH_O, NULL}, + { "lock_schedule_swiginit", lock_schedule_swiginit, METH_VARARGS, NULL}, + { "current_report_utc_time_set", _wrap_current_report_utc_time_set, METH_VARARGS, NULL}, + { "current_report_utc_time_get", _wrap_current_report_utc_time_get, METH_O, NULL}, + { "current_report_station_id_set", _wrap_current_report_station_id_set, METH_VARARGS, NULL}, + { "current_report_station_id_get", _wrap_current_report_station_id_get, METH_O, NULL}, + { "current_report_longitude_set", _wrap_current_report_longitude_set, METH_VARARGS, NULL}, + { "current_report_longitude_get", _wrap_current_report_longitude_get, METH_O, NULL}, + { "current_report_latitude_set", _wrap_current_report_latitude_set, METH_VARARGS, NULL}, + { "current_report_latitude_get", _wrap_current_report_latitude_get, METH_O, NULL}, + { "current_report_speed_set", _wrap_current_report_speed_set, METH_VARARGS, NULL}, + { "current_report_speed_get", _wrap_current_report_speed_get, METH_O, NULL}, + { "current_report_direction_set", _wrap_current_report_direction_set, METH_VARARGS, NULL}, + { "current_report_direction_get", _wrap_current_report_direction_get, METH_O, NULL}, + { "current_report_spare_set", _wrap_current_report_spare_set, METH_VARARGS, NULL}, + { "current_report_spare_get", _wrap_current_report_spare_get, METH_O, NULL}, + { "new_current_report", _wrap_new_current_report, METH_NOARGS, NULL}, + { "delete_current_report", _wrap_delete_current_report, METH_O, NULL}, + { "current_report_swigregister", current_report_swigregister, METH_O, NULL}, + { "current_report_swiginit", current_report_swiginit, METH_VARARGS, NULL}, + { "salinity_report_utc_time_set", _wrap_salinity_report_utc_time_set, METH_VARARGS, NULL}, + { "salinity_report_utc_time_get", _wrap_salinity_report_utc_time_get, METH_O, NULL}, + { "salinity_report_station_id_set", _wrap_salinity_report_station_id_set, METH_VARARGS, NULL}, + { "salinity_report_station_id_get", _wrap_salinity_report_station_id_get, METH_O, NULL}, + { "salinity_report_longitude_set", _wrap_salinity_report_longitude_set, METH_VARARGS, NULL}, + { "salinity_report_longitude_get", _wrap_salinity_report_longitude_get, METH_O, NULL}, + { "salinity_report_latitude_set", _wrap_salinity_report_latitude_set, METH_VARARGS, NULL}, + { "salinity_report_latitude_get", _wrap_salinity_report_latitude_get, METH_O, NULL}, + { "salinity_report_salinity_set", _wrap_salinity_report_salinity_set, METH_VARARGS, NULL}, + { "salinity_report_salinity_get", _wrap_salinity_report_salinity_get, METH_O, NULL}, + { "salinity_report_water_temp_set", _wrap_salinity_report_water_temp_set, METH_VARARGS, NULL}, + { "salinity_report_water_temp_get", _wrap_salinity_report_water_temp_get, METH_O, NULL}, + { "salinity_report_spare_set", _wrap_salinity_report_spare_set, METH_VARARGS, NULL}, + { "salinity_report_spare_get", _wrap_salinity_report_spare_get, METH_O, NULL}, + { "new_salinity_report", _wrap_new_salinity_report, METH_NOARGS, NULL}, + { "delete_salinity_report", _wrap_delete_salinity_report, METH_O, NULL}, + { "salinity_report_swigregister", salinity_report_swigregister, METH_O, NULL}, + { "salinity_report_swiginit", salinity_report_swiginit, METH_VARARGS, NULL}, + { "procession_order_order_set", _wrap_procession_order_order_set, METH_VARARGS, NULL}, + { "procession_order_order_get", _wrap_procession_order_order_get, METH_O, NULL}, + { "procession_order_vessel_name_set", _wrap_procession_order_vessel_name_set, METH_VARARGS, NULL}, + { "procession_order_vessel_name_get", _wrap_procession_order_vessel_name_get, METH_O, NULL}, + { "procession_order_position_name_set", _wrap_procession_order_position_name_set, METH_VARARGS, NULL}, + { "procession_order_position_name_get", _wrap_procession_order_position_name_get, METH_O, NULL}, + { "procession_order_time_hh_set", _wrap_procession_order_time_hh_set, METH_VARARGS, NULL}, + { "procession_order_time_hh_get", _wrap_procession_order_time_hh_get, METH_O, NULL}, + { "procession_order_time_mm_set", _wrap_procession_order_time_mm_set, METH_VARARGS, NULL}, + { "procession_order_time_mm_get", _wrap_procession_order_time_mm_get, METH_O, NULL}, + { "procession_order_spare_set", _wrap_procession_order_spare_set, METH_VARARGS, NULL}, + { "procession_order_spare_get", _wrap_procession_order_spare_get, METH_O, NULL}, + { "new_procession_order", _wrap_new_procession_order, METH_NOARGS, NULL}, + { "delete_procession_order", _wrap_delete_procession_order, METH_O, NULL}, + { "procession_order_swigregister", procession_order_swigregister, METH_O, NULL}, + { "procession_order_swiginit", procession_order_swiginit, METH_VARARGS, NULL}, + { "seaway1_1_report_set", _wrap_seaway1_1_report_set, METH_VARARGS, NULL}, + { "seaway1_1_report_get", _wrap_seaway1_1_report_get, METH_O, NULL}, + { "new_seaway1_1", _wrap_new_seaway1_1, METH_NOARGS, NULL}, + { "delete_seaway1_1", _wrap_delete_seaway1_1, METH_O, NULL}, + { "seaway1_1_swigregister", seaway1_1_swigregister, METH_O, NULL}, + { "seaway1_1_swiginit", seaway1_1_swiginit, METH_VARARGS, NULL}, + { "seaway1_2_report_set", _wrap_seaway1_2_report_set, METH_VARARGS, NULL}, + { "seaway1_2_report_get", _wrap_seaway1_2_report_get, METH_O, NULL}, + { "new_seaway1_2", _wrap_new_seaway1_2, METH_NOARGS, NULL}, + { "delete_seaway1_2", _wrap_delete_seaway1_2, METH_O, NULL}, + { "seaway1_2_swigregister", seaway1_2_swigregister, METH_O, NULL}, + { "seaway1_2_swiginit", seaway1_2_swiginit, METH_VARARGS, NULL}, + { "seaway1_3_report_set", _wrap_seaway1_3_report_set, METH_VARARGS, NULL}, + { "seaway1_3_report_get", _wrap_seaway1_3_report_get, METH_O, NULL}, + { "new_seaway1_3", _wrap_new_seaway1_3, METH_NOARGS, NULL}, + { "delete_seaway1_3", _wrap_delete_seaway1_3, METH_O, NULL}, + { "seaway1_3_swigregister", seaway1_3_swigregister, METH_O, NULL}, + { "seaway1_3_swiginit", seaway1_3_swiginit, METH_VARARGS, NULL}, + { "seaway1_6_report_set", _wrap_seaway1_6_report_set, METH_VARARGS, NULL}, + { "seaway1_6_report_get", _wrap_seaway1_6_report_get, METH_O, NULL}, + { "new_seaway1_6", _wrap_new_seaway1_6, METH_NOARGS, NULL}, + { "delete_seaway1_6", _wrap_delete_seaway1_6, METH_O, NULL}, + { "seaway1_6_swigregister", seaway1_6_swigregister, METH_O, NULL}, + { "seaway1_6_swiginit", seaway1_6_swiginit, METH_VARARGS, NULL}, + { "seaway2_1_utc_time_set", _wrap_seaway2_1_utc_time_set, METH_VARARGS, NULL}, + { "seaway2_1_utc_time_get", _wrap_seaway2_1_utc_time_get, METH_O, NULL}, + { "seaway2_1_lock_id_set", _wrap_seaway2_1_lock_id_set, METH_VARARGS, NULL}, + { "seaway2_1_lock_id_get", _wrap_seaway2_1_lock_id_get, METH_O, NULL}, + { "seaway2_1_longitude_set", _wrap_seaway2_1_longitude_set, METH_VARARGS, NULL}, + { "seaway2_1_longitude_get", _wrap_seaway2_1_longitude_get, METH_O, NULL}, + { "seaway2_1_latitude_set", _wrap_seaway2_1_latitude_set, METH_VARARGS, NULL}, + { "seaway2_1_latitude_get", _wrap_seaway2_1_latitude_get, METH_O, NULL}, + { "seaway2_1_spare2_set", _wrap_seaway2_1_spare2_set, METH_VARARGS, NULL}, + { "seaway2_1_spare2_get", _wrap_seaway2_1_spare2_get, METH_O, NULL}, + { "seaway2_1_schedule_set", _wrap_seaway2_1_schedule_set, METH_VARARGS, NULL}, + { "seaway2_1_schedule_get", _wrap_seaway2_1_schedule_get, METH_O, NULL}, + { "new_seaway2_1", _wrap_new_seaway2_1, METH_NOARGS, NULL}, + { "delete_seaway2_1", _wrap_delete_seaway2_1, METH_O, NULL}, + { "seaway2_1_swigregister", seaway2_1_swigregister, METH_O, NULL}, + { "seaway2_1_swiginit", seaway2_1_swiginit, METH_VARARGS, NULL}, + { "seaway2_2_utc_time_set", _wrap_seaway2_2_utc_time_set, METH_VARARGS, NULL}, + { "seaway2_2_utc_time_get", _wrap_seaway2_2_utc_time_get, METH_O, NULL}, + { "seaway2_2_name_set", _wrap_seaway2_2_name_set, METH_VARARGS, NULL}, + { "seaway2_2_name_get", _wrap_seaway2_2_name_get, METH_O, NULL}, + { "seaway2_2_last_location_set", _wrap_seaway2_2_last_location_set, METH_VARARGS, NULL}, + { "seaway2_2_last_location_get", _wrap_seaway2_2_last_location_get, METH_O, NULL}, + { "seaway2_2_last_ata_set", _wrap_seaway2_2_last_ata_set, METH_VARARGS, NULL}, + { "seaway2_2_last_ata_get", _wrap_seaway2_2_last_ata_get, METH_O, NULL}, + { "seaway2_2_first_lock_set", _wrap_seaway2_2_first_lock_set, METH_VARARGS, NULL}, + { "seaway2_2_first_lock_get", _wrap_seaway2_2_first_lock_get, METH_O, NULL}, + { "seaway2_2_first_eta_set", _wrap_seaway2_2_first_eta_set, METH_VARARGS, NULL}, + { "seaway2_2_first_eta_get", _wrap_seaway2_2_first_eta_get, METH_O, NULL}, + { "seaway2_2_second_lock_set", _wrap_seaway2_2_second_lock_set, METH_VARARGS, NULL}, + { "seaway2_2_second_lock_get", _wrap_seaway2_2_second_lock_get, METH_O, NULL}, + { "seaway2_2_second_eta_set", _wrap_seaway2_2_second_eta_set, METH_VARARGS, NULL}, + { "seaway2_2_second_eta_get", _wrap_seaway2_2_second_eta_get, METH_O, NULL}, + { "seaway2_2_delay_set", _wrap_seaway2_2_delay_set, METH_VARARGS, NULL}, + { "seaway2_2_delay_get", _wrap_seaway2_2_delay_get, METH_O, NULL}, + { "seaway2_2_spare2_set", _wrap_seaway2_2_spare2_set, METH_VARARGS, NULL}, + { "seaway2_2_spare2_get", _wrap_seaway2_2_spare2_get, METH_O, NULL}, + { "new_seaway2_2", _wrap_new_seaway2_2, METH_NOARGS, NULL}, + { "delete_seaway2_2", _wrap_delete_seaway2_2, METH_O, NULL}, + { "seaway2_2_swigregister", seaway2_2_swigregister, METH_O, NULL}, + { "seaway2_2_swiginit", seaway2_2_swiginit, METH_VARARGS, NULL}, + { "seaway32_1_major_set", _wrap_seaway32_1_major_set, METH_VARARGS, NULL}, + { "seaway32_1_major_get", _wrap_seaway32_1_major_get, METH_O, NULL}, + { "seaway32_1_minor_set", _wrap_seaway32_1_minor_set, METH_VARARGS, NULL}, + { "seaway32_1_minor_get", _wrap_seaway32_1_minor_get, METH_O, NULL}, + { "seaway32_1_spare2_set", _wrap_seaway32_1_spare2_set, METH_VARARGS, NULL}, + { "seaway32_1_spare2_get", _wrap_seaway32_1_spare2_get, METH_O, NULL}, + { "new_seaway32_1", _wrap_new_seaway32_1, METH_NOARGS, NULL}, + { "delete_seaway32_1", _wrap_delete_seaway32_1, METH_O, NULL}, + { "seaway32_1_swigregister", seaway32_1_swigregister, METH_O, NULL}, + { "seaway32_1_swiginit", seaway32_1_swiginit, METH_VARARGS, NULL}, + { "pawss1_4_report_set", _wrap_pawss1_4_report_set, METH_VARARGS, NULL}, + { "pawss1_4_report_get", _wrap_pawss1_4_report_get, METH_O, NULL}, + { "new_pawss1_4", _wrap_new_pawss1_4, METH_NOARGS, NULL}, + { "delete_pawss1_4", _wrap_delete_pawss1_4, METH_O, NULL}, + { "pawss1_4_swigregister", pawss1_4_swigregister, METH_O, NULL}, + { "pawss1_4_swiginit", pawss1_4_swiginit, METH_VARARGS, NULL}, + { "pawss1_5_report_set", _wrap_pawss1_5_report_set, METH_VARARGS, NULL}, + { "pawss1_5_report_get", _wrap_pawss1_5_report_get, METH_O, NULL}, + { "new_pawss1_5", _wrap_new_pawss1_5, METH_NOARGS, NULL}, + { "delete_pawss1_5", _wrap_delete_pawss1_5, METH_O, NULL}, + { "pawss1_5_swigregister", pawss1_5_swigregister, METH_O, NULL}, + { "pawss1_5_swiginit", pawss1_5_swiginit, METH_VARARGS, NULL}, + { "pawss2_3_utc_time_set", _wrap_pawss2_3_utc_time_set, METH_VARARGS, NULL}, + { "pawss2_3_utc_time_get", _wrap_pawss2_3_utc_time_get, METH_O, NULL}, + { "pawss2_3_direction_set", _wrap_pawss2_3_direction_set, METH_VARARGS, NULL}, + { "pawss2_3_direction_get", _wrap_pawss2_3_direction_get, METH_O, NULL}, + { "pawss2_3_longitude_set", _wrap_pawss2_3_longitude_set, METH_VARARGS, NULL}, + { "pawss2_3_longitude_get", _wrap_pawss2_3_longitude_get, METH_O, NULL}, + { "pawss2_3_latitude_set", _wrap_pawss2_3_latitude_set, METH_VARARGS, NULL}, + { "pawss2_3_latitude_get", _wrap_pawss2_3_latitude_get, METH_O, NULL}, + { "pawss2_3_spare2_set", _wrap_pawss2_3_spare2_set, METH_VARARGS, NULL}, + { "pawss2_3_spare2_get", _wrap_pawss2_3_spare2_get, METH_O, NULL}, + { "pawss2_3_report_set", _wrap_pawss2_3_report_set, METH_VARARGS, NULL}, + { "pawss2_3_report_get", _wrap_pawss2_3_report_get, METH_O, NULL}, + { "new_pawss2_3", _wrap_new_pawss2_3, METH_NOARGS, NULL}, + { "delete_pawss2_3", _wrap_delete_pawss2_3, METH_O, NULL}, + { "pawss2_3_swigregister", pawss2_3_swigregister, METH_O, NULL}, + { "pawss2_3_swiginit", pawss2_3_swiginit, METH_VARARGS, NULL}, + { "parse_seaway1_1", _wrap_parse_seaway1_1, METH_VARARGS, NULL}, + { "parse_seaway1_2", _wrap_parse_seaway1_2, METH_VARARGS, NULL}, + { "parse_seaway1_3", _wrap_parse_seaway1_3, METH_VARARGS, NULL}, + { "parse_seaway1_6", _wrap_parse_seaway1_6, METH_VARARGS, NULL}, + { "parse_seaway2_1", _wrap_parse_seaway2_1, METH_VARARGS, NULL}, + { "parse_seaway2_2", _wrap_parse_seaway2_2, METH_VARARGS, NULL}, + { "parse_seaway32_1", _wrap_parse_seaway32_1, METH_VARARGS, NULL}, + { "parse_pawss1_4", _wrap_parse_pawss1_4, METH_VARARGS, NULL}, + { "parse_pawss1_5", _wrap_parse_pawss1_5, METH_VARARGS, NULL}, + { "parse_pawss2_3", _wrap_parse_pawss2_3, METH_VARARGS, NULL}, + { "imo1_11_latitude_set", _wrap_imo1_11_latitude_set, METH_VARARGS, NULL}, + { "imo1_11_latitude_get", _wrap_imo1_11_latitude_get, METH_O, NULL}, + { "imo1_11_longitude_set", _wrap_imo1_11_longitude_set, METH_VARARGS, NULL}, + { "imo1_11_longitude_get", _wrap_imo1_11_longitude_get, METH_O, NULL}, + { "imo1_11_timedate_set", _wrap_imo1_11_timedate_set, METH_VARARGS, NULL}, + { "imo1_11_timedate_get", _wrap_imo1_11_timedate_get, METH_O, NULL}, + { "imo1_11_wind_avg_set", _wrap_imo1_11_wind_avg_set, METH_VARARGS, NULL}, + { "imo1_11_wind_avg_get", _wrap_imo1_11_wind_avg_get, METH_O, NULL}, + { "imo1_11_wind_gust_set", _wrap_imo1_11_wind_gust_set, METH_VARARGS, NULL}, + { "imo1_11_wind_gust_get", _wrap_imo1_11_wind_gust_get, METH_O, NULL}, + { "imo1_11_wind_dir_set", _wrap_imo1_11_wind_dir_set, METH_VARARGS, NULL}, + { "imo1_11_wind_dir_get", _wrap_imo1_11_wind_dir_get, METH_O, NULL}, + { "imo1_11_gust_dir_set", _wrap_imo1_11_gust_dir_set, METH_VARARGS, NULL}, + { "imo1_11_gust_dir_get", _wrap_imo1_11_gust_dir_get, METH_O, NULL}, + { "imo1_11_air_temp_set", _wrap_imo1_11_air_temp_set, METH_VARARGS, NULL}, + { "imo1_11_air_temp_get", _wrap_imo1_11_air_temp_get, METH_O, NULL}, + { "imo1_11_humidity_set", _wrap_imo1_11_humidity_set, METH_VARARGS, NULL}, + { "imo1_11_humidity_get", _wrap_imo1_11_humidity_get, METH_O, NULL}, + { "imo1_11_dew_point_set", _wrap_imo1_11_dew_point_set, METH_VARARGS, NULL}, + { "imo1_11_dew_point_get", _wrap_imo1_11_dew_point_get, METH_O, NULL}, + { "imo1_11_pressure_set", _wrap_imo1_11_pressure_set, METH_VARARGS, NULL}, + { "imo1_11_pressure_get", _wrap_imo1_11_pressure_get, METH_O, NULL}, + { "imo1_11_tendency_set", _wrap_imo1_11_tendency_set, METH_VARARGS, NULL}, + { "imo1_11_tendency_get", _wrap_imo1_11_tendency_get, METH_O, NULL}, + { "imo1_11_visibility_set", _wrap_imo1_11_visibility_set, METH_VARARGS, NULL}, + { "imo1_11_visibility_get", _wrap_imo1_11_visibility_get, METH_O, NULL}, + { "imo1_11_water_level_set", _wrap_imo1_11_water_level_set, METH_VARARGS, NULL}, + { "imo1_11_water_level_get", _wrap_imo1_11_water_level_get, METH_O, NULL}, + { "imo1_11_water_trend_set", _wrap_imo1_11_water_trend_set, METH_VARARGS, NULL}, + { "imo1_11_water_trend_get", _wrap_imo1_11_water_trend_get, METH_O, NULL}, + { "imo1_11_surface_speed_set", _wrap_imo1_11_surface_speed_set, METH_VARARGS, NULL}, + { "imo1_11_surface_speed_get", _wrap_imo1_11_surface_speed_get, METH_O, NULL}, + { "imo1_11_surface_dir_set", _wrap_imo1_11_surface_dir_set, METH_VARARGS, NULL}, + { "imo1_11_surface_dir_get", _wrap_imo1_11_surface_dir_get, METH_O, NULL}, + { "imo1_11_speed_2_set", _wrap_imo1_11_speed_2_set, METH_VARARGS, NULL}, + { "imo1_11_speed_2_get", _wrap_imo1_11_speed_2_get, METH_O, NULL}, + { "imo1_11_dir_2_set", _wrap_imo1_11_dir_2_set, METH_VARARGS, NULL}, + { "imo1_11_dir_2_get", _wrap_imo1_11_dir_2_get, METH_O, NULL}, + { "imo1_11_level_2_set", _wrap_imo1_11_level_2_set, METH_VARARGS, NULL}, + { "imo1_11_level_2_get", _wrap_imo1_11_level_2_get, METH_O, NULL}, + { "imo1_11_speed_3_set", _wrap_imo1_11_speed_3_set, METH_VARARGS, NULL}, + { "imo1_11_speed_3_get", _wrap_imo1_11_speed_3_get, METH_O, NULL}, + { "imo1_11_dir_3_set", _wrap_imo1_11_dir_3_set, METH_VARARGS, NULL}, + { "imo1_11_dir_3_get", _wrap_imo1_11_dir_3_get, METH_O, NULL}, + { "imo1_11_level_3_set", _wrap_imo1_11_level_3_set, METH_VARARGS, NULL}, + { "imo1_11_level_3_get", _wrap_imo1_11_level_3_get, METH_O, NULL}, + { "imo1_11_wave_height_set", _wrap_imo1_11_wave_height_set, METH_VARARGS, NULL}, + { "imo1_11_wave_height_get", _wrap_imo1_11_wave_height_get, METH_O, NULL}, + { "imo1_11_wave_period_set", _wrap_imo1_11_wave_period_set, METH_VARARGS, NULL}, + { "imo1_11_wave_period_get", _wrap_imo1_11_wave_period_get, METH_O, NULL}, + { "imo1_11_wave_dir_set", _wrap_imo1_11_wave_dir_set, METH_VARARGS, NULL}, + { "imo1_11_wave_dir_get", _wrap_imo1_11_wave_dir_get, METH_O, NULL}, + { "imo1_11_swell_height_set", _wrap_imo1_11_swell_height_set, METH_VARARGS, NULL}, + { "imo1_11_swell_height_get", _wrap_imo1_11_swell_height_get, METH_O, NULL}, + { "imo1_11_swell_period_set", _wrap_imo1_11_swell_period_set, METH_VARARGS, NULL}, + { "imo1_11_swell_period_get", _wrap_imo1_11_swell_period_get, METH_O, NULL}, + { "imo1_11_swell_dir_set", _wrap_imo1_11_swell_dir_set, METH_VARARGS, NULL}, + { "imo1_11_swell_dir_get", _wrap_imo1_11_swell_dir_get, METH_O, NULL}, + { "imo1_11_sea_state_set", _wrap_imo1_11_sea_state_set, METH_VARARGS, NULL}, + { "imo1_11_sea_state_get", _wrap_imo1_11_sea_state_get, METH_O, NULL}, + { "imo1_11_water_temp_set", _wrap_imo1_11_water_temp_set, METH_VARARGS, NULL}, + { "imo1_11_water_temp_get", _wrap_imo1_11_water_temp_get, METH_O, NULL}, + { "imo1_11_precip_type_set", _wrap_imo1_11_precip_type_set, METH_VARARGS, NULL}, + { "imo1_11_precip_type_get", _wrap_imo1_11_precip_type_get, METH_O, NULL}, + { "imo1_11_salanity_set", _wrap_imo1_11_salanity_set, METH_VARARGS, NULL}, + { "imo1_11_salanity_get", _wrap_imo1_11_salanity_get, METH_O, NULL}, + { "imo1_11_ice_set", _wrap_imo1_11_ice_set, METH_VARARGS, NULL}, + { "imo1_11_ice_get", _wrap_imo1_11_ice_get, METH_O, NULL}, + { "imo1_11_spare_set", _wrap_imo1_11_spare_set, METH_VARARGS, NULL}, + { "imo1_11_spare_get", _wrap_imo1_11_spare_get, METH_O, NULL}, + { "new_imo1_11", _wrap_new_imo1_11, METH_NOARGS, NULL}, + { "delete_imo1_11", _wrap_delete_imo1_11, METH_O, NULL}, + { "imo1_11_swigregister", imo1_11_swigregister, METH_O, NULL}, + { "imo1_11_swiginit", imo1_11_swiginit, METH_VARARGS, NULL}, + { "imo1_12_last_port_set", _wrap_imo1_12_last_port_set, METH_VARARGS, NULL}, + { "imo1_12_last_port_get", _wrap_imo1_12_last_port_get, METH_O, NULL}, + { "imo1_12_atd_set", _wrap_imo1_12_atd_set, METH_VARARGS, NULL}, + { "imo1_12_atd_get", _wrap_imo1_12_atd_get, METH_O, NULL}, + { "imo1_12_next_port_set", _wrap_imo1_12_next_port_set, METH_VARARGS, NULL}, + { "imo1_12_next_port_get", _wrap_imo1_12_next_port_get, METH_O, NULL}, + { "imo1_12_eta_set", _wrap_imo1_12_eta_set, METH_VARARGS, NULL}, + { "imo1_12_eta_get", _wrap_imo1_12_eta_get, METH_O, NULL}, + { "imo1_12_good_set", _wrap_imo1_12_good_set, METH_VARARGS, NULL}, + { "imo1_12_good_get", _wrap_imo1_12_good_get, METH_O, NULL}, + { "imo1_12_imd_set", _wrap_imo1_12_imd_set, METH_VARARGS, NULL}, + { "imo1_12_imd_get", _wrap_imo1_12_imd_get, METH_O, NULL}, + { "imo1_12_un_number_set", _wrap_imo1_12_un_number_set, METH_VARARGS, NULL}, + { "imo1_12_un_number_get", _wrap_imo1_12_un_number_get, METH_O, NULL}, + { "imo1_12_quantity_set", _wrap_imo1_12_quantity_set, METH_VARARGS, NULL}, + { "imo1_12_quantity_get", _wrap_imo1_12_quantity_get, METH_O, NULL}, + { "imo1_12_units_set", _wrap_imo1_12_units_set, METH_VARARGS, NULL}, + { "imo1_12_units_get", _wrap_imo1_12_units_get, METH_O, NULL}, + { "imo1_12_spare_set", _wrap_imo1_12_spare_set, METH_VARARGS, NULL}, + { "imo1_12_spare_get", _wrap_imo1_12_spare_get, METH_O, NULL}, + { "new_imo1_12", _wrap_new_imo1_12, METH_NOARGS, NULL}, + { "delete_imo1_12", _wrap_delete_imo1_12, METH_O, NULL}, + { "imo1_12_swigregister", imo1_12_swigregister, METH_O, NULL}, + { "imo1_12_swiginit", imo1_12_swiginit, METH_VARARGS, NULL}, + { "imo1_13_reason_set", _wrap_imo1_13_reason_set, METH_VARARGS, NULL}, + { "imo1_13_reason_get", _wrap_imo1_13_reason_get, METH_O, NULL}, + { "imo1_13_location_from_set", _wrap_imo1_13_location_from_set, METH_VARARGS, NULL}, + { "imo1_13_location_from_get", _wrap_imo1_13_location_from_get, METH_O, NULL}, + { "imo1_13_location_to_set", _wrap_imo1_13_location_to_set, METH_VARARGS, NULL}, + { "imo1_13_location_to_get", _wrap_imo1_13_location_to_get, METH_O, NULL}, + { "imo1_13_extension_set", _wrap_imo1_13_extension_set, METH_VARARGS, NULL}, + { "imo1_13_extension_get", _wrap_imo1_13_extension_get, METH_O, NULL}, + { "imo1_13_units_set", _wrap_imo1_13_units_set, METH_VARARGS, NULL}, + { "imo1_13_units_get", _wrap_imo1_13_units_get, METH_O, NULL}, + { "imo1_13_from_day_set", _wrap_imo1_13_from_day_set, METH_VARARGS, NULL}, + { "imo1_13_from_day_get", _wrap_imo1_13_from_day_get, METH_O, NULL}, + { "imo1_13_from_month_set", _wrap_imo1_13_from_month_set, METH_VARARGS, NULL}, + { "imo1_13_from_month_get", _wrap_imo1_13_from_month_get, METH_O, NULL}, + { "imo1_13_from_hour_set", _wrap_imo1_13_from_hour_set, METH_VARARGS, NULL}, + { "imo1_13_from_hour_get", _wrap_imo1_13_from_hour_get, METH_O, NULL}, + { "imo1_13_from_minute_set", _wrap_imo1_13_from_minute_set, METH_VARARGS, NULL}, + { "imo1_13_from_minute_get", _wrap_imo1_13_from_minute_get, METH_O, NULL}, + { "imo1_13_to_day_set", _wrap_imo1_13_to_day_set, METH_VARARGS, NULL}, + { "imo1_13_to_day_get", _wrap_imo1_13_to_day_get, METH_O, NULL}, + { "imo1_13_to_month_set", _wrap_imo1_13_to_month_set, METH_VARARGS, NULL}, + { "imo1_13_to_month_get", _wrap_imo1_13_to_month_get, METH_O, NULL}, + { "imo1_13_to_hour_set", _wrap_imo1_13_to_hour_set, METH_VARARGS, NULL}, + { "imo1_13_to_hour_get", _wrap_imo1_13_to_hour_get, METH_O, NULL}, + { "imo1_13_to_minute_set", _wrap_imo1_13_to_minute_set, METH_VARARGS, NULL}, + { "imo1_13_to_minute_get", _wrap_imo1_13_to_minute_get, METH_O, NULL}, + { "imo1_13_spare_set", _wrap_imo1_13_spare_set, METH_VARARGS, NULL}, + { "imo1_13_spare_get", _wrap_imo1_13_spare_get, METH_O, NULL}, + { "new_imo1_13", _wrap_new_imo1_13, METH_NOARGS, NULL}, + { "delete_imo1_13", _wrap_delete_imo1_13, METH_O, NULL}, + { "imo1_13_swigregister", imo1_13_swigregister, METH_O, NULL}, + { "imo1_13_swiginit", imo1_13_swiginit, METH_VARARGS, NULL}, + { "tidal_window_latitude_set", _wrap_tidal_window_latitude_set, METH_VARARGS, NULL}, + { "tidal_window_latitude_get", _wrap_tidal_window_latitude_get, METH_O, NULL}, + { "tidal_window_longitude_set", _wrap_tidal_window_longitude_set, METH_VARARGS, NULL}, + { "tidal_window_longitude_get", _wrap_tidal_window_longitude_get, METH_O, NULL}, + { "tidal_window_from_hour_set", _wrap_tidal_window_from_hour_set, METH_VARARGS, NULL}, + { "tidal_window_from_hour_get", _wrap_tidal_window_from_hour_get, METH_O, NULL}, + { "tidal_window_from_minute_set", _wrap_tidal_window_from_minute_set, METH_VARARGS, NULL}, + { "tidal_window_from_minute_get", _wrap_tidal_window_from_minute_get, METH_O, NULL}, + { "tidal_window_to_hour_set", _wrap_tidal_window_to_hour_set, METH_VARARGS, NULL}, + { "tidal_window_to_hour_get", _wrap_tidal_window_to_hour_get, METH_O, NULL}, + { "tidal_window_to_minute_set", _wrap_tidal_window_to_minute_set, METH_VARARGS, NULL}, + { "tidal_window_to_minute_get", _wrap_tidal_window_to_minute_get, METH_O, NULL}, + { "tidal_window_current_dir_set", _wrap_tidal_window_current_dir_set, METH_VARARGS, NULL}, + { "tidal_window_current_dir_get", _wrap_tidal_window_current_dir_get, METH_O, NULL}, + { "tidal_window_current_speed_set", _wrap_tidal_window_current_speed_set, METH_VARARGS, NULL}, + { "tidal_window_current_speed_get", _wrap_tidal_window_current_speed_get, METH_O, NULL}, + { "new_tidal_window", _wrap_new_tidal_window, METH_NOARGS, NULL}, + { "delete_tidal_window", _wrap_delete_tidal_window, METH_O, NULL}, + { "tidal_window_swigregister", tidal_window_swigregister, METH_O, NULL}, + { "tidal_window_swiginit", tidal_window_swiginit, METH_VARARGS, NULL}, + { "imo1_14_utc_month_set", _wrap_imo1_14_utc_month_set, METH_VARARGS, NULL}, + { "imo1_14_utc_month_get", _wrap_imo1_14_utc_month_get, METH_O, NULL}, + { "imo1_14_utc_day_set", _wrap_imo1_14_utc_day_set, METH_VARARGS, NULL}, + { "imo1_14_utc_day_get", _wrap_imo1_14_utc_day_get, METH_O, NULL}, + { "imo1_14_windows_set", _wrap_imo1_14_windows_set, METH_VARARGS, NULL}, + { "imo1_14_windows_get", _wrap_imo1_14_windows_get, METH_O, NULL}, + { "new_imo1_14", _wrap_new_imo1_14, METH_NOARGS, NULL}, + { "delete_imo1_14", _wrap_delete_imo1_14, METH_O, NULL}, + { "imo1_14_swigregister", imo1_14_swigregister, METH_O, NULL}, + { "imo1_14_swiginit", imo1_14_swiginit, METH_VARARGS, NULL}, + { "imo1_15_ais_draught_set", _wrap_imo1_15_ais_draught_set, METH_VARARGS, NULL}, + { "imo1_15_ais_draught_get", _wrap_imo1_15_ais_draught_get, METH_O, NULL}, + { "imo1_15_spare_set", _wrap_imo1_15_spare_set, METH_VARARGS, NULL}, + { "imo1_15_spare_get", _wrap_imo1_15_spare_get, METH_O, NULL}, + { "new_imo1_15", _wrap_new_imo1_15, METH_NOARGS, NULL}, + { "delete_imo1_15", _wrap_delete_imo1_15, METH_O, NULL}, + { "imo1_15_swigregister", imo1_15_swigregister, METH_O, NULL}, + { "imo1_15_swiginit", imo1_15_swiginit, METH_VARARGS, NULL}, + { "imo1_16_num_persons_set", _wrap_imo1_16_num_persons_set, METH_VARARGS, NULL}, + { "imo1_16_num_persons_get", _wrap_imo1_16_num_persons_get, METH_O, NULL}, + { "imo1_16_spare_set", _wrap_imo1_16_spare_set, METH_VARARGS, NULL}, + { "imo1_16_spare_get", _wrap_imo1_16_spare_get, METH_O, NULL}, + { "new_imo1_16", _wrap_new_imo1_16, METH_NOARGS, NULL}, + { "delete_imo1_16", _wrap_delete_imo1_16, METH_O, NULL}, + { "imo1_16_swigregister", imo1_16_swigregister, METH_O, NULL}, + { "imo1_16_swiginit", imo1_16_swiginit, METH_VARARGS, NULL}, + { "pseudo_target_type_set", _wrap_pseudo_target_type_set, METH_VARARGS, NULL}, + { "pseudo_target_type_get", _wrap_pseudo_target_type_get, METH_O, NULL}, + { "pseudo_target_mmsi_set", _wrap_pseudo_target_mmsi_set, METH_VARARGS, NULL}, + { "pseudo_target_mmsi_get", _wrap_pseudo_target_mmsi_get, METH_O, NULL}, + { "pseudo_target_imo_set", _wrap_pseudo_target_imo_set, METH_VARARGS, NULL}, + { "pseudo_target_imo_get", _wrap_pseudo_target_imo_get, METH_O, NULL}, + { "pseudo_target_callsign_set", _wrap_pseudo_target_callsign_set, METH_VARARGS, NULL}, + { "pseudo_target_callsign_get", _wrap_pseudo_target_callsign_get, METH_O, NULL}, + { "pseudo_target_other_set", _wrap_pseudo_target_other_set, METH_VARARGS, NULL}, + { "pseudo_target_other_get", _wrap_pseudo_target_other_get, METH_O, NULL}, + { "pseudo_target_spare_set", _wrap_pseudo_target_spare_set, METH_VARARGS, NULL}, + { "pseudo_target_spare_get", _wrap_pseudo_target_spare_get, METH_O, NULL}, + { "pseudo_target_latitude_set", _wrap_pseudo_target_latitude_set, METH_VARARGS, NULL}, + { "pseudo_target_latitude_get", _wrap_pseudo_target_latitude_get, METH_O, NULL}, + { "pseudo_target_longitude_set", _wrap_pseudo_target_longitude_set, METH_VARARGS, NULL}, + { "pseudo_target_longitude_get", _wrap_pseudo_target_longitude_get, METH_O, NULL}, + { "pseudo_target_cog_set", _wrap_pseudo_target_cog_set, METH_VARARGS, NULL}, + { "pseudo_target_cog_get", _wrap_pseudo_target_cog_get, METH_O, NULL}, + { "pseudo_target_timestamp_set", _wrap_pseudo_target_timestamp_set, METH_VARARGS, NULL}, + { "pseudo_target_timestamp_get", _wrap_pseudo_target_timestamp_get, METH_O, NULL}, + { "pseudo_target_sog_set", _wrap_pseudo_target_sog_set, METH_VARARGS, NULL}, + { "pseudo_target_sog_get", _wrap_pseudo_target_sog_get, METH_O, NULL}, + { "new_pseudo_target", _wrap_new_pseudo_target, METH_NOARGS, NULL}, + { "delete_pseudo_target", _wrap_delete_pseudo_target, METH_O, NULL}, + { "pseudo_target_swigregister", pseudo_target_swigregister, METH_O, NULL}, + { "pseudo_target_swiginit", pseudo_target_swiginit, METH_VARARGS, NULL}, + { "imo1_17_targets_set", _wrap_imo1_17_targets_set, METH_VARARGS, NULL}, + { "imo1_17_targets_get", _wrap_imo1_17_targets_get, METH_O, NULL}, + { "new_imo1_17", _wrap_new_imo1_17, METH_NOARGS, NULL}, + { "delete_imo1_17", _wrap_delete_imo1_17, METH_O, NULL}, + { "imo1_17_swigregister", imo1_17_swigregister, METH_O, NULL}, + { "imo1_17_swiginit", imo1_17_swiginit, METH_VARARGS, NULL}, + { "parse_imo1_11", _wrap_parse_imo1_11, METH_VARARGS, NULL}, + { "parse_imo1_12", _wrap_parse_imo1_12, METH_VARARGS, NULL}, + { "parse_imo1_13", _wrap_parse_imo1_13, METH_VARARGS, NULL}, + { "parse_imo1_14", _wrap_parse_imo1_14, METH_VARARGS, NULL}, + { "parse_imo1_15", _wrap_parse_imo1_15, METH_VARARGS, NULL}, + { "parse_imo1_16", _wrap_parse_imo1_16, METH_VARARGS, NULL}, + { "parse_imo1_17", _wrap_parse_imo1_17, METH_VARARGS, NULL}, + { "get_msg6_data", _wrap_get_msg6_data, METH_O, NULL}, + { "get_msg8_data", _wrap_get_msg8_data, METH_O, NULL}, + { "get_msg17_data", _wrap_get_msg17_data, METH_O, NULL}, + { "get_weather_report", _wrap_get_weather_report, METH_VARARGS, NULL}, + { "get_weather_utc_time", _wrap_get_weather_utc_time, METH_O, NULL}, + { "get_wind_report", _wrap_get_wind_report, METH_VARARGS, NULL}, + { "get_wind_utc_time", _wrap_get_wind_utc_time, METH_O, NULL}, + { "get_water_level_report", _wrap_get_water_level_report, METH_VARARGS, NULL}, + { "get_water_level_utc_time", _wrap_get_water_level_utc_time, METH_O, NULL}, + { "get_water_flow_report", _wrap_get_water_flow_report, METH_VARARGS, NULL}, + { "get_water_flow_utc_time", _wrap_get_water_flow_utc_time, METH_O, NULL}, + { "get_lock_schedule", _wrap_get_lock_schedule, METH_VARARGS, NULL}, + { "get_lock_schedule_utc_time", _wrap_get_lock_schedule_utc_time, METH_O, NULL}, + { "get_lock_schedule_eta", _wrap_get_lock_schedule_eta, METH_O, NULL}, + { "get_lock_times_utc_time", _wrap_get_lock_times_utc_time, METH_O, NULL}, + { "get_lock_times_last_ata", _wrap_get_lock_times_last_ata, METH_O, NULL}, + { "get_lock_times_first_eta", _wrap_get_lock_times_first_eta, METH_O, NULL}, + { "get_lock_times_second_eta", _wrap_get_lock_times_second_eta, METH_O, NULL}, + { "get_current_report", _wrap_get_current_report, METH_VARARGS, NULL}, + { "get_current_utc_time", _wrap_get_current_utc_time, METH_O, NULL}, + { "get_salinity_report", _wrap_get_salinity_report, METH_VARARGS, NULL}, + { "get_salinity_utc_time", _wrap_get_salinity_utc_time, METH_O, NULL}, + { "get_procession_order", _wrap_get_procession_order, METH_VARARGS, NULL}, + { "get_procession_order_utc_time", _wrap_get_procession_order_utc_time, METH_O, NULL}, + { "get_imo1_12_atd", _wrap_get_imo1_12_atd, METH_O, NULL}, + { "get_imo1_12_eta", _wrap_get_imo1_12_eta, METH_O, NULL}, + { "get_tidal_window", _wrap_get_tidal_window, METH_VARARGS, NULL}, + { "get_pseudo_target", _wrap_get_pseudo_target, METH_VARARGS, NULL}, + { NULL, NULL, 0, NULL } +}; + +static PyMethodDef SwigMethods_proxydocs[] = { + { NULL, NULL, 0, NULL } +}; + + +/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ + +static swig_type_info _swigt__p_ais_state = {"_p_ais_state", "ais_state *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_1 = {"_p_aismsg_1", "aismsg_1 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_10 = {"_p_aismsg_10", "aismsg_10 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_11 = {"_p_aismsg_11", "aismsg_11 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_12 = {"_p_aismsg_12", "aismsg_12 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_13 = {"_p_aismsg_13", "aismsg_13 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_14 = {"_p_aismsg_14", "aismsg_14 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_15 = {"_p_aismsg_15", "aismsg_15 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_16 = {"_p_aismsg_16", "aismsg_16 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_17 = {"_p_aismsg_17", "aismsg_17 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_18 = {"_p_aismsg_18", "aismsg_18 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_18_itdma = {"_p_aismsg_18_itdma", "aismsg_18_itdma *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_18_sotdma = {"_p_aismsg_18_sotdma", "aismsg_18_sotdma *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_19 = {"_p_aismsg_19", "aismsg_19 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_2 = {"_p_aismsg_2", "aismsg_2 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_20 = {"_p_aismsg_20", "aismsg_20 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_21 = {"_p_aismsg_21", "aismsg_21 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_22 = {"_p_aismsg_22", "aismsg_22 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_23 = {"_p_aismsg_23", "aismsg_23 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_24 = {"_p_aismsg_24", "aismsg_24 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_27 = {"_p_aismsg_27", "aismsg_27 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_3 = {"_p_aismsg_3", "aismsg_3 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_4 = {"_p_aismsg_4", "aismsg_4 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_5 = {"_p_aismsg_5", "aismsg_5 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_6 = {"_p_aismsg_6", "aismsg_6 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_7 = {"_p_aismsg_7", "aismsg_7 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_8 = {"_p_aismsg_8", "aismsg_8 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_9 = {"_p_aismsg_9", "aismsg_9 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_9_itdma = {"_p_aismsg_9_itdma", "aismsg_9_itdma *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_aismsg_9_sotdma = {"_p_aismsg_9_sotdma", "aismsg_9_sotdma *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_binary_state = {"_p_binary_state", "binary_state *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_current_report = {"_p_current_report", "current_report *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_imo1_11 = {"_p_imo1_11", "imo1_11 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_imo1_12 = {"_p_imo1_12", "imo1_12 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_imo1_13 = {"_p_imo1_13", "imo1_13 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_imo1_14 = {"_p_imo1_14", "imo1_14 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_imo1_15 = {"_p_imo1_15", "imo1_15 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_imo1_16 = {"_p_imo1_16", "imo1_16 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_imo1_17 = {"_p_imo1_17", "imo1_17 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_lock_schedule = {"_p_lock_schedule", "lock_schedule *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_nmea_state = {"_p_nmea_state", "nmea_state *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_pawss1_4 = {"_p_pawss1_4", "pawss1_4 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_pawss1_5 = {"_p_pawss1_5", "pawss1_5 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_pawss2_3 = {"_p_pawss2_3", "pawss2_3 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_procession_order = {"_p_procession_order", "procession_order *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_pseudo_target = {"_p_pseudo_target", "pseudo_target *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_salinity_report = {"_p_salinity_report", "salinity_report *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_seaway1_1 = {"_p_seaway1_1", "seaway1_1 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_seaway1_2 = {"_p_seaway1_2", "seaway1_2 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_seaway1_3 = {"_p_seaway1_3", "seaway1_3 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_seaway1_6 = {"_p_seaway1_6", "seaway1_6 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_seaway2_1 = {"_p_seaway2_1", "seaway2_1 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_seaway2_2 = {"_p_seaway2_2", "seaway2_2 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_seaway32_1 = {"_p_seaway32_1", "seaway32_1 *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_short = {"_p_short", "short *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_sixbit = {"_p_sixbit", "sixbit *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_tidal_window = {"_p_tidal_window", "tidal_window *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_timetag = {"_p_timetag", "timetag *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_water_flow_report = {"_p_water_flow_report", "water_flow_report *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_water_level_report = {"_p_water_level_report", "water_level_report *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_weather_report = {"_p_weather_report", "weather_report *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_wind_report = {"_p_wind_report", "wind_report *", 0, 0, (void*)0, 0}; + +static swig_type_info *swig_type_initial[] = { + &_swigt__p_ais_state, + &_swigt__p_aismsg_1, + &_swigt__p_aismsg_10, + &_swigt__p_aismsg_11, + &_swigt__p_aismsg_12, + &_swigt__p_aismsg_13, + &_swigt__p_aismsg_14, + &_swigt__p_aismsg_15, + &_swigt__p_aismsg_16, + &_swigt__p_aismsg_17, + &_swigt__p_aismsg_18, + &_swigt__p_aismsg_18_itdma, + &_swigt__p_aismsg_18_sotdma, + &_swigt__p_aismsg_19, + &_swigt__p_aismsg_2, + &_swigt__p_aismsg_20, + &_swigt__p_aismsg_21, + &_swigt__p_aismsg_22, + &_swigt__p_aismsg_23, + &_swigt__p_aismsg_24, + &_swigt__p_aismsg_27, + &_swigt__p_aismsg_3, + &_swigt__p_aismsg_4, + &_swigt__p_aismsg_5, + &_swigt__p_aismsg_6, + &_swigt__p_aismsg_7, + &_swigt__p_aismsg_8, + &_swigt__p_aismsg_9, + &_swigt__p_aismsg_9_itdma, + &_swigt__p_aismsg_9_sotdma, + &_swigt__p_binary_state, + &_swigt__p_char, + &_swigt__p_current_report, + &_swigt__p_double, + &_swigt__p_imo1_11, + &_swigt__p_imo1_12, + &_swigt__p_imo1_13, + &_swigt__p_imo1_14, + &_swigt__p_imo1_15, + &_swigt__p_imo1_16, + &_swigt__p_imo1_17, + &_swigt__p_int, + &_swigt__p_lock_schedule, + &_swigt__p_long, + &_swigt__p_nmea_state, + &_swigt__p_p_char, + &_swigt__p_pawss1_4, + &_swigt__p_pawss1_5, + &_swigt__p_pawss2_3, + &_swigt__p_procession_order, + &_swigt__p_pseudo_target, + &_swigt__p_salinity_report, + &_swigt__p_seaway1_1, + &_swigt__p_seaway1_2, + &_swigt__p_seaway1_3, + &_swigt__p_seaway1_6, + &_swigt__p_seaway2_1, + &_swigt__p_seaway2_2, + &_swigt__p_seaway32_1, + &_swigt__p_short, + &_swigt__p_sixbit, + &_swigt__p_tidal_window, + &_swigt__p_timetag, + &_swigt__p_unsigned_char, + &_swigt__p_water_flow_report, + &_swigt__p_water_level_report, + &_swigt__p_weather_report, + &_swigt__p_wind_report, +}; + +static swig_cast_info _swigc__p_ais_state[] = { {&_swigt__p_ais_state, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_1[] = { {&_swigt__p_aismsg_1, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_10[] = { {&_swigt__p_aismsg_10, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_11[] = { {&_swigt__p_aismsg_11, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_12[] = { {&_swigt__p_aismsg_12, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_13[] = { {&_swigt__p_aismsg_13, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_14[] = { {&_swigt__p_aismsg_14, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_15[] = { {&_swigt__p_aismsg_15, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_16[] = { {&_swigt__p_aismsg_16, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_17[] = { {&_swigt__p_aismsg_17, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_18[] = { {&_swigt__p_aismsg_18, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_18_itdma[] = { {&_swigt__p_aismsg_18_itdma, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_18_sotdma[] = { {&_swigt__p_aismsg_18_sotdma, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_19[] = { {&_swigt__p_aismsg_19, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_2[] = { {&_swigt__p_aismsg_2, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_20[] = { {&_swigt__p_aismsg_20, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_21[] = { {&_swigt__p_aismsg_21, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_22[] = { {&_swigt__p_aismsg_22, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_23[] = { {&_swigt__p_aismsg_23, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_24[] = { {&_swigt__p_aismsg_24, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_27[] = { {&_swigt__p_aismsg_27, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_3[] = { {&_swigt__p_aismsg_3, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_4[] = { {&_swigt__p_aismsg_4, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_5[] = { {&_swigt__p_aismsg_5, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_6[] = { {&_swigt__p_aismsg_6, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_7[] = { {&_swigt__p_aismsg_7, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_8[] = { {&_swigt__p_aismsg_8, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_9[] = { {&_swigt__p_aismsg_9, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_9_itdma[] = { {&_swigt__p_aismsg_9_itdma, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_aismsg_9_sotdma[] = { {&_swigt__p_aismsg_9_sotdma, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_binary_state[] = { {&_swigt__p_binary_state, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_current_report[] = { {&_swigt__p_current_report, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_imo1_11[] = { {&_swigt__p_imo1_11, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_imo1_12[] = { {&_swigt__p_imo1_12, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_imo1_13[] = { {&_swigt__p_imo1_13, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_imo1_14[] = { {&_swigt__p_imo1_14, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_imo1_15[] = { {&_swigt__p_imo1_15, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_imo1_16[] = { {&_swigt__p_imo1_16, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_imo1_17[] = { {&_swigt__p_imo1_17, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_lock_schedule[] = { {&_swigt__p_lock_schedule, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_nmea_state[] = { {&_swigt__p_nmea_state, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_p_char[] = { {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_pawss1_4[] = { {&_swigt__p_pawss1_4, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_pawss1_5[] = { {&_swigt__p_pawss1_5, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_pawss2_3[] = { {&_swigt__p_pawss2_3, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_procession_order[] = { {&_swigt__p_procession_order, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_pseudo_target[] = { {&_swigt__p_pseudo_target, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_salinity_report[] = { {&_swigt__p_salinity_report, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_seaway1_1[] = { {&_swigt__p_seaway1_1, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_seaway1_2[] = { {&_swigt__p_seaway1_2, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_seaway1_3[] = { {&_swigt__p_seaway1_3, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_seaway1_6[] = { {&_swigt__p_seaway1_6, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_seaway2_1[] = { {&_swigt__p_seaway2_1, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_seaway2_2[] = { {&_swigt__p_seaway2_2, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_seaway32_1[] = { {&_swigt__p_seaway32_1, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_short[] = { {&_swigt__p_short, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_sixbit[] = { {&_swigt__p_sixbit, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_tidal_window[] = { {&_swigt__p_tidal_window, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_timetag[] = { {&_swigt__p_timetag, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_water_flow_report[] = { {&_swigt__p_water_flow_report, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_water_level_report[] = { {&_swigt__p_water_level_report, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_weather_report[] = { {&_swigt__p_weather_report, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wind_report[] = { {&_swigt__p_wind_report, 0, 0, 0},{0, 0, 0, 0}}; + +static swig_cast_info *swig_cast_initial[] = { + _swigc__p_ais_state, + _swigc__p_aismsg_1, + _swigc__p_aismsg_10, + _swigc__p_aismsg_11, + _swigc__p_aismsg_12, + _swigc__p_aismsg_13, + _swigc__p_aismsg_14, + _swigc__p_aismsg_15, + _swigc__p_aismsg_16, + _swigc__p_aismsg_17, + _swigc__p_aismsg_18, + _swigc__p_aismsg_18_itdma, + _swigc__p_aismsg_18_sotdma, + _swigc__p_aismsg_19, + _swigc__p_aismsg_2, + _swigc__p_aismsg_20, + _swigc__p_aismsg_21, + _swigc__p_aismsg_22, + _swigc__p_aismsg_23, + _swigc__p_aismsg_24, + _swigc__p_aismsg_27, + _swigc__p_aismsg_3, + _swigc__p_aismsg_4, + _swigc__p_aismsg_5, + _swigc__p_aismsg_6, + _swigc__p_aismsg_7, + _swigc__p_aismsg_8, + _swigc__p_aismsg_9, + _swigc__p_aismsg_9_itdma, + _swigc__p_aismsg_9_sotdma, + _swigc__p_binary_state, + _swigc__p_char, + _swigc__p_current_report, + _swigc__p_double, + _swigc__p_imo1_11, + _swigc__p_imo1_12, + _swigc__p_imo1_13, + _swigc__p_imo1_14, + _swigc__p_imo1_15, + _swigc__p_imo1_16, + _swigc__p_imo1_17, + _swigc__p_int, + _swigc__p_lock_schedule, + _swigc__p_long, + _swigc__p_nmea_state, + _swigc__p_p_char, + _swigc__p_pawss1_4, + _swigc__p_pawss1_5, + _swigc__p_pawss2_3, + _swigc__p_procession_order, + _swigc__p_pseudo_target, + _swigc__p_salinity_report, + _swigc__p_seaway1_1, + _swigc__p_seaway1_2, + _swigc__p_seaway1_3, + _swigc__p_seaway1_6, + _swigc__p_seaway2_1, + _swigc__p_seaway2_2, + _swigc__p_seaway32_1, + _swigc__p_short, + _swigc__p_sixbit, + _swigc__p_tidal_window, + _swigc__p_timetag, + _swigc__p_unsigned_char, + _swigc__p_water_flow_report, + _swigc__p_water_level_report, + _swigc__p_weather_report, + _swigc__p_wind_report, +}; + + +/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ + +static swig_const_info swig_const_table[] = { +{0, 0, 0, 0.0, 0, 0}}; + +#ifdef __cplusplus +} +#endif +/* ----------------------------------------------------------------------------- + * Type initialization: + * This problem is tough by the requirement that no dynamic + * memory is used. Also, since swig_type_info structures store pointers to + * swig_cast_info structures and swig_cast_info structures store pointers back + * to swig_type_info structures, we need some lookup code at initialization. + * The idea is that swig generates all the structures that are needed. + * The runtime then collects these partially filled structures. + * The SWIG_InitializeModule function takes these initial arrays out of + * swig_module, and does all the lookup, filling in the swig_module.types + * array with the correct data and linking the correct swig_cast_info + * structures together. + * + * The generated swig_type_info structures are assigned statically to an initial + * array. We just loop through that array, and handle each type individually. + * First we lookup if this type has been already loaded, and if so, use the + * loaded structure instead of the generated one. Then we have to fill in the + * cast linked list. The cast data is initially stored in something like a + * two-dimensional array. Each row corresponds to a type (there are the same + * number of rows as there are in the swig_type_initial array). Each entry in + * a column is one of the swig_cast_info structures for that type. + * The cast_initial array is actually an array of arrays, because each row has + * a variable number of columns. So to actually build the cast linked list, + * we find the array of casts associated with the type, and loop through it + * adding the casts to the list. The one last trick we need to do is making + * sure the type pointer in the swig_cast_info struct is correct. + * + * First off, we lookup the cast->type name to see if it is already loaded. + * There are three cases to handle: + * 1) If the cast->type has already been loaded AND the type we are adding + * casting info to has not been loaded (it is in this module), THEN we + * replace the cast->type pointer with the type pointer that has already + * been loaded. + * 2) If BOTH types (the one we are adding casting info to, and the + * cast->type) are loaded, THEN the cast info has already been loaded by + * the previous module so we just ignore it. + * 3) Finally, if cast->type has not already been loaded, then we add that + * swig_cast_info to the linked list (because the cast->type) pointer will + * be correct. + * ----------------------------------------------------------------------------- */ + +#ifdef __cplusplus +extern "C" { +#if 0 +} /* c-mode */ +#endif +#endif + +#if 0 +#define SWIGRUNTIME_DEBUG +#endif + + +SWIGRUNTIME void +SWIG_InitializeModule(void *clientdata) { + size_t i; + swig_module_info *module_head, *iter; + int init; + + /* check to see if the circular list has been setup, if not, set it up */ + if (swig_module.next==0) { + /* Initialize the swig_module */ + swig_module.type_initial = swig_type_initial; + swig_module.cast_initial = swig_cast_initial; + swig_module.next = &swig_module; + init = 1; + } else { + init = 0; + } + + /* Try and load any already created modules */ + module_head = SWIG_GetModule(clientdata); + if (!module_head) { + /* This is the first module loaded for this interpreter */ + /* so set the swig module into the interpreter */ + SWIG_SetModule(clientdata, &swig_module); + } else { + /* the interpreter has loaded a SWIG module, but has it loaded this one? */ + iter=module_head; + do { + if (iter==&swig_module) { + /* Our module is already in the list, so there's nothing more to do. */ + return; + } + iter=iter->next; + } while (iter!= module_head); + + /* otherwise we must add our module into the list */ + swig_module.next = module_head->next; + module_head->next = &swig_module; + } + + /* When multiple interpreters are used, a module could have already been initialized in + a different interpreter, but not yet have a pointer in this interpreter. + In this case, we do not want to continue adding types... everything should be + set up already */ + if (init == 0) return; + + /* Now work on filling in swig_module.types */ +#ifdef SWIGRUNTIME_DEBUG + printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size); +#endif + for (i = 0; i < swig_module.size; ++i) { + swig_type_info *type = 0; + swig_type_info *ret; + swig_cast_info *cast; + +#ifdef SWIGRUNTIME_DEBUG + printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name); +#endif + + /* if there is another module already loaded */ + if (swig_module.next != &swig_module) { + type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); + } + if (type) { + /* Overwrite clientdata field */ +#ifdef SWIGRUNTIME_DEBUG + printf("SWIG_InitializeModule: found type %s\n", type->name); +#endif + if (swig_module.type_initial[i]->clientdata) { + type->clientdata = swig_module.type_initial[i]->clientdata; +#ifdef SWIGRUNTIME_DEBUG + printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); +#endif + } + } else { + type = swig_module.type_initial[i]; + } + + /* Insert casting types */ + cast = swig_module.cast_initial[i]; + while (cast->type) { + /* Don't need to add information already in the list */ + ret = 0; +#ifdef SWIGRUNTIME_DEBUG + printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); +#endif + if (swig_module.next != &swig_module) { + ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); +#ifdef SWIGRUNTIME_DEBUG + if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); +#endif + } + if (ret) { + if (type == swig_module.type_initial[i]) { +#ifdef SWIGRUNTIME_DEBUG + printf("SWIG_InitializeModule: skip old type %s\n", ret->name); +#endif + cast->type = ret; + ret = 0; + } else { + /* Check for casting already in the list */ + swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); +#ifdef SWIGRUNTIME_DEBUG + if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); +#endif + if (!ocast) ret = 0; + } + } + + if (!ret) { +#ifdef SWIGRUNTIME_DEBUG + printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); +#endif + if (type->cast) { + type->cast->prev = cast; + cast->next = type->cast; + } + type->cast = cast; + } + cast++; + } + /* Set entry in modules->types array equal to the type */ + swig_module.types[i] = type; + } + swig_module.types[i] = 0; + +#ifdef SWIGRUNTIME_DEBUG + printf("**** SWIG_InitializeModule: Cast List ******\n"); + for (i = 0; i < swig_module.size; ++i) { + int j = 0; + swig_cast_info *cast = swig_module.cast_initial[i]; + printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name); + while (cast->type) { + printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); + cast++; + ++j; + } + printf("---- Total casts: %d\n",j); + } + printf("**** SWIG_InitializeModule: Cast List ******\n"); +#endif +} + +/* This function will propagate the clientdata field of type to +* any new swig_type_info structures that have been added into the list +* of equivalent types. It is like calling +* SWIG_TypeClientData(type, clientdata) a second time. +*/ +SWIGRUNTIME void +SWIG_PropagateClientData(void) { + size_t i; + swig_cast_info *equiv; + static int init_run = 0; + + if (init_run) return; + init_run = 1; + + for (i = 0; i < swig_module.size; i++) { + if (swig_module.types[i]->clientdata) { + equiv = swig_module.types[i]->cast; + while (equiv) { + if (!equiv->converter) { + if (equiv->type && !equiv->type->clientdata) + SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); + } + equiv = equiv->next; + } + } + } +} + +#ifdef __cplusplus +#if 0 +{ + /* c-mode */ +#endif +} +#endif + + + +#ifdef __cplusplus +extern "C" { +#endif + + /* Python-specific SWIG API */ +#define SWIG_newvarlink() SWIG_Python_newvarlink() +#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) +#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) + + /* ----------------------------------------------------------------------------- + * global variable support code. + * ----------------------------------------------------------------------------- */ + + typedef struct swig_globalvar { + char *name; /* Name of global variable */ + PyObject *(*get_attr)(void); /* Return the current value */ + int (*set_attr)(PyObject *); /* Set the value */ + struct swig_globalvar *next; + } swig_globalvar; + + typedef struct swig_varlinkobject { + PyObject_HEAD + swig_globalvar *vars; + } swig_varlinkobject; + + SWIGINTERN PyObject * + swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { +#if PY_VERSION_HEX >= 0x03000000 + return PyUnicode_InternFromString(""); +#else + return PyString_FromString(""); +#endif + } + + SWIGINTERN PyObject * + swig_varlink_str(swig_varlinkobject *v) { +#if PY_VERSION_HEX >= 0x03000000 + PyObject *str = PyUnicode_InternFromString("("); + PyObject *tail; + PyObject *joined; + swig_globalvar *var; + for (var = v->vars; var; var=var->next) { + tail = PyUnicode_FromString(var->name); + joined = PyUnicode_Concat(str, tail); + Py_DecRef(str); + Py_DecRef(tail); + str = joined; + if (var->next) { + tail = PyUnicode_InternFromString(", "); + joined = PyUnicode_Concat(str, tail); + Py_DecRef(str); + Py_DecRef(tail); + str = joined; + } + } + tail = PyUnicode_InternFromString(")"); + joined = PyUnicode_Concat(str, tail); + Py_DecRef(str); + Py_DecRef(tail); + str = joined; +#else + PyObject *str = PyString_FromString("("); + swig_globalvar *var; + for (var = v->vars; var; var=var->next) { + PyString_ConcatAndDel(&str,PyString_FromString(var->name)); + if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); + } + PyString_ConcatAndDel(&str,PyString_FromString(")")); +#endif + return str; + } + + SWIGINTERN void + swig_varlink_dealloc(swig_varlinkobject *v) { + swig_globalvar *var = v->vars; + while (var) { + swig_globalvar *n = var->next; + free(var->name); + free(var); + var = n; + } + } + + SWIGINTERN PyObject * + swig_varlink_getattr(swig_varlinkobject *v, char *n) { + PyObject *res = NULL; + swig_globalvar *var = v->vars; + while (var) { + if (strcmp(var->name,n) == 0) { + res = (*var->get_attr)(); + break; + } + var = var->next; + } + if (res == NULL && !PyErr_Occurred()) { + PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n); + } + return res; + } + + SWIGINTERN int + swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { + int res = 1; + swig_globalvar *var = v->vars; + while (var) { + if (strcmp(var->name,n) == 0) { + res = (*var->set_attr)(p); + break; + } + var = var->next; + } + if (res == 1 && !PyErr_Occurred()) { + PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n); + } + return res; + } + + SWIGINTERN PyTypeObject* + swig_varlink_type(void) { + static char varlink__doc__[] = "Swig var link object"; + static PyTypeObject varlink_type; + static int type_init = 0; + if (!type_init) { + const PyTypeObject tmp = { +#if PY_VERSION_HEX >= 0x03000000 + PyVarObject_HEAD_INIT(NULL, 0) +#else + PyObject_HEAD_INIT(NULL) + 0, /* ob_size */ +#endif + "swigvarlink", /* tp_name */ + sizeof(swig_varlinkobject), /* tp_basicsize */ + 0, /* tp_itemsize */ + (destructor) swig_varlink_dealloc, /* tp_dealloc */ + 0, /* tp_print */ + (getattrfunc) swig_varlink_getattr, /* tp_getattr */ + (setattrfunc) swig_varlink_setattr, /* tp_setattr */ + 0, /* tp_compare */ + (reprfunc) swig_varlink_repr, /* tp_repr */ + 0, /* tp_as_number */ + 0, /* tp_as_sequence */ + 0, /* tp_as_mapping */ + 0, /* tp_hash */ + 0, /* tp_call */ + (reprfunc) swig_varlink_str, /* tp_str */ + 0, /* tp_getattro */ + 0, /* tp_setattro */ + 0, /* tp_as_buffer */ + 0, /* tp_flags */ + varlink__doc__, /* tp_doc */ + 0, /* tp_traverse */ + 0, /* tp_clear */ + 0, /* tp_richcompare */ + 0, /* tp_weaklistoffset */ + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ + 0, /* tp_del */ + 0, /* tp_version_tag */ +#if PY_VERSION_HEX >= 0x03040000 + 0, /* tp_finalize */ +#endif +#if PY_VERSION_HEX >= 0x03080000 + 0, /* tp_vectorcall */ +#endif +#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) + 0, /* tp_print */ +#endif +#ifdef COUNT_ALLOCS + 0, /* tp_allocs */ + 0, /* tp_frees */ + 0, /* tp_maxalloc */ + 0, /* tp_prev */ + 0 /* tp_next */ +#endif + }; + varlink_type = tmp; + type_init = 1; + if (PyType_Ready(&varlink_type) < 0) + return NULL; + } + return &varlink_type; + } + + /* Create a variable linking object for use later */ + SWIGINTERN PyObject * + SWIG_Python_newvarlink(void) { + swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); + if (result) { + result->vars = 0; + } + return ((PyObject*) result); + } + + SWIGINTERN void + SWIG_Python_addvarlink(PyObject *p, const char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { + swig_varlinkobject *v = (swig_varlinkobject *) p; + swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); + if (gv) { + size_t size = strlen(name)+1; + gv->name = (char *)malloc(size); + if (gv->name) { + memcpy(gv->name, name, size); + gv->get_attr = get_attr; + gv->set_attr = set_attr; + gv->next = v->vars; + } + } + v->vars = gv; + } + + SWIGINTERN PyObject * + SWIG_globals(void) { + static PyObject *globals = 0; + if (!globals) { + globals = SWIG_newvarlink(); + } + return globals; + } + + /* ----------------------------------------------------------------------------- + * constants/methods manipulation + * ----------------------------------------------------------------------------- */ + + /* Install Constants */ + SWIGINTERN void + SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { + PyObject *obj = 0; + size_t i; + for (i = 0; constants[i].type; ++i) { + switch(constants[i].type) { + case SWIG_PY_POINTER: + obj = SWIG_InternalNewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); + break; + case SWIG_PY_BINARY: + obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); + break; + default: + obj = 0; + break; + } + if (obj) { + PyDict_SetItemString(d, constants[i].name, obj); + Py_DECREF(obj); + } + } + } + + /* -----------------------------------------------------------------------------*/ + /* Fix SwigMethods to carry the callback ptrs when needed */ + /* -----------------------------------------------------------------------------*/ + + SWIGINTERN void + SWIG_Python_FixMethods(PyMethodDef *methods, + swig_const_info *const_table, + swig_type_info **types, + swig_type_info **types_initial) { + size_t i; + for (i = 0; methods[i].ml_name; ++i) { + const char *c = methods[i].ml_doc; + if (!c) continue; + c = strstr(c, "swig_ptr: "); + if (c) { + int j; + swig_const_info *ci = 0; + const char *name = c + 10; + for (j = 0; const_table[j].type; ++j) { + if (strncmp(const_table[j].name, name, + strlen(const_table[j].name)) == 0) { + ci = &(const_table[j]); + break; + } + } + if (ci) { + void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; + if (ptr) { + size_t shift = (ci->ptype) - types; + swig_type_info *ty = types_initial[shift]; + size_t ldoc = (c - methods[i].ml_doc); + size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; + char *ndoc = (char*)malloc(ldoc + lptr + 10); + if (ndoc) { + char *buff = ndoc; + memcpy(buff, methods[i].ml_doc, ldoc); + buff += ldoc; + memcpy(buff, "swig_ptr: ", 10); + buff += 10; + SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); + methods[i].ml_doc = ndoc; + } + } + } + } + } + } + + /* ----------------------------------------------------------------------------- + * Method creation and docstring support functions + * ----------------------------------------------------------------------------- */ + + /* ----------------------------------------------------------------------------- + * Function to find the method definition with the correct docstring for the + * proxy module as opposed to the low-level API + * ----------------------------------------------------------------------------- */ + + SWIGINTERN PyMethodDef *SWIG_PythonGetProxyDoc(const char *name) { + /* Find the function in the modified method table */ + size_t offset = 0; + int found = 0; + while (SwigMethods_proxydocs[offset].ml_meth != NULL) { + if (strcmp(SwigMethods_proxydocs[offset].ml_name, name) == 0) { + found = 1; + break; + } + offset++; + } + /* Use the copy with the modified docstring if available */ + return found ? &SwigMethods_proxydocs[offset] : NULL; + } + + /* ----------------------------------------------------------------------------- + * Wrapper of PyInstanceMethod_New() used in Python 3 + * It is exported to the generated module, used for -fastproxy + * ----------------------------------------------------------------------------- */ + + SWIGINTERN PyObject *SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func) { + if (PyCFunction_Check(func)) { + PyCFunctionObject *funcobj = (PyCFunctionObject *)func; + PyMethodDef *ml = SWIG_PythonGetProxyDoc(funcobj->m_ml->ml_name); + if (ml) + func = PyCFunction_NewEx(ml, funcobj->m_self, funcobj->m_module); + } +#if PY_VERSION_HEX >= 0x03000000 + return PyInstanceMethod_New(func); +#else + return PyMethod_New(func, NULL, NULL); +#endif + } + + /* ----------------------------------------------------------------------------- + * Wrapper of PyStaticMethod_New() + * It is exported to the generated module, used for -fastproxy + * ----------------------------------------------------------------------------- */ + + SWIGINTERN PyObject *SWIG_PyStaticMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func) { + if (PyCFunction_Check(func)) { + PyCFunctionObject *funcobj = (PyCFunctionObject *)func; + PyMethodDef *ml = SWIG_PythonGetProxyDoc(funcobj->m_ml->ml_name); + if (ml) + func = PyCFunction_NewEx(ml, funcobj->m_self, funcobj->m_module); + } + return PyStaticMethod_New(func); + } + +#ifdef __cplusplus +} +#endif + +/* -----------------------------------------------------------------------------* + * Partial Init method + * -----------------------------------------------------------------------------*/ + +#ifdef __cplusplus +extern "C" +#endif + +SWIGEXPORT +#if PY_VERSION_HEX >= 0x03000000 +PyObject* +#else +void +#endif +SWIG_init(void) { + PyObject *m, *d, *md, *globals; + +#if PY_VERSION_HEX >= 0x03000000 + static struct PyModuleDef SWIG_module = { + PyModuleDef_HEAD_INIT, + SWIG_name, + NULL, + -1, + SwigMethods, + NULL, + NULL, + NULL, + NULL + }; +#endif + +#if defined(SWIGPYTHON_BUILTIN) + static SwigPyClientData SwigPyObject_clientdata = { + 0, 0, 0, 0, 0, 0, 0 + }; + static PyGetSetDef this_getset_def = { + (char *)"this", &SwigPyBuiltin_ThisClosure, NULL, NULL, NULL + }; + static SwigPyGetSet thisown_getset_closure = { + SwigPyObject_own, + SwigPyObject_own + }; + static PyGetSetDef thisown_getset_def = { + (char *)"thisown", SwigPyBuiltin_GetterClosure, SwigPyBuiltin_SetterClosure, NULL, &thisown_getset_closure + }; + PyTypeObject *builtin_pytype; + int builtin_base_count; + swig_type_info *builtin_basetype; + PyObject *tuple; + PyGetSetDescrObject *static_getset; + PyTypeObject *metatype; + PyTypeObject *swigpyobject; + SwigPyClientData *cd; + PyObject *public_interface, *public_symbol; + PyObject *this_descr; + PyObject *thisown_descr; + PyObject *self = 0; + int i; + + (void)builtin_pytype; + (void)builtin_base_count; + (void)builtin_basetype; + (void)tuple; + (void)static_getset; + (void)self; + + /* Metaclass is used to implement static member variables */ + metatype = SwigPyObjectType(); + assert(metatype); +#endif + + (void)globals; + + /* Create singletons now to avoid potential deadlocks with multi-threaded usage after module initialization */ + SWIG_This(); + SWIG_Python_TypeCache(); + SwigPyPacked_type(); +#ifndef SWIGPYTHON_BUILTIN + SwigPyObject_type(); +#endif + + /* Fix SwigMethods to carry the callback ptrs when needed */ + SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); + +#if PY_VERSION_HEX >= 0x03000000 + m = PyModule_Create(&SWIG_module); +#else + m = Py_InitModule(SWIG_name, SwigMethods); +#endif + + md = d = PyModule_GetDict(m); + (void)md; + + SWIG_InitializeModule(0); + +#ifdef SWIGPYTHON_BUILTIN + swigpyobject = SwigPyObject_TypeOnce(); + + SwigPyObject_stype = SWIG_MangledTypeQuery("_p_SwigPyObject"); + assert(SwigPyObject_stype); + cd = (SwigPyClientData*) SwigPyObject_stype->clientdata; + if (!cd) { + SwigPyObject_stype->clientdata = &SwigPyObject_clientdata; + SwigPyObject_clientdata.pytype = swigpyobject; + } else if (swigpyobject->tp_basicsize != cd->pytype->tp_basicsize) { + PyErr_SetString(PyExc_RuntimeError, "Import error: attempted to load two incompatible swig-generated modules."); +# if PY_VERSION_HEX >= 0x03000000 + return NULL; +# else + return; +# endif + } + + /* All objects have a 'this' attribute */ + this_descr = PyDescr_NewGetSet(SwigPyObject_type(), &this_getset_def); + (void)this_descr; + + /* All objects have a 'thisown' attribute */ + thisown_descr = PyDescr_NewGetSet(SwigPyObject_type(), &thisown_getset_def); + (void)thisown_descr; + + public_interface = PyList_New(0); + public_symbol = 0; + (void)public_symbol; + + PyDict_SetItemString(md, "__all__", public_interface); + Py_DECREF(public_interface); + for (i = 0; SwigMethods[i].ml_name != NULL; ++i) + SwigPyBuiltin_AddPublicSymbol(public_interface, SwigMethods[i].ml_name); + for (i = 0; swig_const_table[i].name != 0; ++i) + SwigPyBuiltin_AddPublicSymbol(public_interface, swig_const_table[i].name); +#endif + + SWIG_InstallConstants(d,swig_const_table); + + SWIG_Python_SetConstant(d, "MAX_NMEA_LENGTH",SWIG_From_int((int)(255))); + SWIG_Python_SetConstant(d, "MAX_NMEA_FIELDS",SWIG_From_int((int)(50))); + SWIG_Python_SetConstant(d, "START",SWIG_From_int((int)(0))); + SWIG_Python_SetConstant(d, "END",SWIG_From_int((int)(1))); + SWIG_Python_SetConstant(d, "DONE",SWIG_From_int((int)(2))); + SWIG_Python_SetConstant(d, "SIXBIT_LEN",SWIG_From_int((int)(255))); + SWIG_Python_SetConstant(d, "SIXBUF_LEN",SWIG_From_int((int)(255))); +#if PY_VERSION_HEX >= 0x03000000 + return m; +#else + return; +#endif +} + diff --git a/python/freebsd/buildit b/python/freebsd/buildit new file mode 100755 index 0000000..85c4caf --- /dev/null +++ b/python/freebsd/buildit @@ -0,0 +1,10 @@ +#!/bin/sh +PYTHON_INCLUDE=/usr/include/python2.7/ +swig -python aisparser.i +gcc -fpic -I ../../c/src/ -I $PYTHON_INCLUDE \ + -c ../../c/src/nmea.c ../../c/src/sixbit.c ../../c/src/vdm_parse.c \ + ../../c/src/seaway.c ../../c/src/imo.c ../../c/src/access.c \ + aisparser_wrap.c +ld -shared nmea.o sixbit.o vdm_parse.o seaway.o imo.o access.o aisparser_wrap.o -o _aisparser.so + + diff --git a/python/freebsd/nmea.py b/python/freebsd/nmea.py new file mode 100644 index 0000000..4878c73 --- /dev/null +++ b/python/freebsd/nmea.py @@ -0,0 +1,80 @@ +#!/bin/env python +""" + NMEA string parser class + by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane + All Rights Reserved +""" + +def check_checksum(msg): + """ + Check the checksum of a NMEA 0183 sentence. Skips leading ! or $ and stops + at * + It ignores non-standard extensions after the checksum + It ignores anything before the first $ or ! in the string + + Returns tuple with: + good checksum + calculated checksum + checksum from string + + Checksums will be None if no start character is found + Second checksum, from string, will be -1 if none was found. + """ + + # Find the start of the NMEA sentence + startchars = "!$" + for c in startchars: + i = msg.find(c) + if i >= 0: + break + else: + return (False, None, None) + + # Calculate the checksum on the message + sum1 = 0 + for c in msg[i+1:]: + if c == '*': + break + sum1 = sum1 ^ ord(c) + sum1 = sum1 & 0xFF + + # Find the checksum at the end of the string + sum2 = -1 + try: + i = msg.index('*') + sum2 = int(msg[i+1:i+3], 16) + except ValueError: + pass + + return (sum1 == sum2, sum1, sum2) + + +def make_checksum(msg): + """ + Make a NMEA 0183 checksum on a string. Skips leading ! or $ and stops + at * + It ignores anything before the first $ or ! in the string + + Returns None if there was an invalid start character + Otherwise returns the checksum + """ + + # Find the start of the NMEA sentence + startchars = "!$" + for c in startchars: + i = msg.find(c) + if i >= 0: + break + else: + return None + + # Calculate the checksum on the message + sum1 = 0 + for c in msg[i+1:]: + if c == '*': + break + sum1 = sum1 ^ ord(c) + sum1 = sum1 & 0xFF + + return sum1 diff --git a/python/freebsd/nmea_test.py b/python/freebsd/nmea_test.py new file mode 100644 index 0000000..bd014d5 --- /dev/null +++ b/python/freebsd/nmea_test.py @@ -0,0 +1,49 @@ +import nmea + +def test_check_checksum(): + """Test correct check_checksum behavior""" + result = nmea.check_checksum("!AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*0F") + assert result == (True, 0x0F, 0x0F) + + result = nmea.check_checksum("$AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*0F") + assert result == (True, 0x0F, 0x0F) + +def test_check_checksum_wrong(): + result = nmea.check_checksum("!AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*11") + assert result == (False, 0x0F, 0x11) + +def test_check_checksum_errors(): + """Test error conditions in check_checksum""" + + # No start character + result = nmea.check_checksum("AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*0F") + assert result == (False, None, None) + + # Invalid start character + result = nmea.check_checksum("@AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*0F") + assert result == (False, None, None) + + # No checksum at the end + result = nmea.check_checksum("!AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0") + assert result == (False, 0x0F, -1) + + # Missing checksum character + result = nmea.check_checksum("!AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*0") + assert result == (False, 0x0F, 0) + +def test_make_checksum(): + """Test correct make_checksum behavior""" + result = nmea.make_checksum("!AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*00") + assert result == 0x0F + + result = nmea.make_checksum("!AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*") + assert result == 0x0F + + # No * at the end + result = nmea.make_checksum("!AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0") + assert result == 0x0F + +def test_make_checksum_errors(): + # Invalid start character + result = nmea.make_checksum("@AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*") + assert result == None diff --git a/python/freebsd/runme.py b/python/freebsd/runme.py new file mode 100755 index 0000000..f559320 --- /dev/null +++ b/python/freebsd/runme.py @@ -0,0 +1,121 @@ +#!/usr/bin/python3 + +import aisparser + + +s = ["!AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*0F", + "!AIVDM,1,1,,B,11auciwP?w4?wv0dBP,0*02", + "!AIVDM,1,1,,B,403OwpiuJo>A@o=sbvK=CG700H9n,0*33", + "!AIVDM,1,1,,B,35Mk33gOkRG?FLDK?6tUODNR0000,0*56", + "!AIVDM,2,1,2,B,8030ojA?0@=DE3@?BDPA3onQiUFttP1Wh01DE3<1EJ?>0onlkUG0e01I,0*3D", + "!AIVDM,2,2,2,B,h00,2*7D", + "!AIVDM,2,1,9,B,8030ojA?0@=DE3C?B5<00o`O1UA@V01vh01DE63>DB3?5oW@PU?d4P1i,0*55", + "!AIVDM,2,2,9,B,h00,2*76", + "!AIVDM,2,1,3,B,8030ojA?0@=DE9CD:?B9Fot`9UKQW03Gh01DE9CD6B19?oqHd5H=WP11,0*51", + "!AIVDM,2,2,3,B,h00,2*7C", + r"\s:ASM//Port=63//MMSI=2573225,c:1301961602*7A\!BSVDM,1,1,,A,13P> 6 + fi = msg.app_id & 0x3F + + print("dac : %d" % (dac)) + print("fi : %d" % (fi)) + + sixbit = msg.data + spare = aisparser.get_6bit(sixbit, 2) + msgid = aisparser.get_6bit(sixbit, 6) + print("msgid : %d" % (msgid)) + + if fi == 1 and msgid == 3: + msg1_3 = aisparser.seaway1_3() + aisparser.parse_seaway1_3(sixbit, msg1_3) + + for i in range(0, 6): + report = aisparser.get_water_level_report(msg1_3, i) + utc_time = report.utc_time + print("month : %d" % (ord(utc_time.month))) + print("day : %d" % (ord(utc_time.day))) + print("hours : %d" % (ord(utc_time.hours))) + print("minutes : %d" % (ord(utc_time.minutes))) + print("station : %s" % (report.station_id)) + print("longitude : %ld" % (report.longitude)) + print("latitude : %ld" % (report.latitude)) + print("type : %d" % (ord(report.type))) + print("level : %d" % (report.level)) + print("datum : %d" % (ord(report.datum))) + print("spare : %d" % (report.spare)) + print("\n") diff --git a/python/linux/nmea.py b/python/linux/nmea.py index 34f600b..4878c73 100644 --- a/python/linux/nmea.py +++ b/python/linux/nmea.py @@ -2,23 +2,32 @@ """ NMEA string parser class by Brian C. Lane - Copyright 2006 by Brian C. Lane + Copyright 2006-2025 by Brian C. Lane All Rights Reserved """ -def check_checksum( msg ): +def check_checksum(msg): """ Check the checksum of a NMEA 0183 sentence. Skips leading ! or $ and stops at * It ignores non-standard extensions after the checksum It ignores anything before the first $ or ! in the string + + Returns tuple with: + good checksum + calculated checksum + checksum from string + + Checksums will be None if no start character is found + Second checksum, from string, will be -1 if none was found. """ # Find the start of the NMEA sentence startchars = "!$" for c in startchars: i = msg.find(c) - if i >= 0: break + if i >= 0: + break else: return (False, None, None) @@ -26,44 +35,45 @@ def check_checksum( msg ): sum1 = 0 for c in msg[i+1:]: if c == '*': - break; + break sum1 = sum1 ^ ord(c) sum1 = sum1 & 0xFF # Find the checksum at the end of the string sum2 = -1 try: - i = msg.index( '*' ) - sum2 = int(msg[i+1:i+3], 16) - - if sum1 == sum2: - return (True, sum1, sum2) - except: + i = msg.index('*') + sum2 = int(msg[i+1:i+3], 16) + except ValueError: pass - return (False, sum1, sum2) + return (sum1 == sum2, sum1, sum2) -def make_checksum( msg ): +def make_checksum(msg): """ Make a NMEA 0183 checksum on a string. Skips leading ! or $ and stops at * It ignores anything before the first $ or ! in the string + + Returns None if there was an invalid start character + Otherwise returns the checksum """ # Find the start of the NMEA sentence startchars = "!$" for c in startchars: i = msg.find(c) - if i >= 0: break + if i >= 0: + break else: - return (False, None, None) + return None # Calculate the checksum on the message sum1 = 0 for c in msg[i+1:]: if c == '*': - break; + break sum1 = sum1 ^ ord(c) sum1 = sum1 & 0xFF diff --git a/python/linux/nmea_test.py b/python/linux/nmea_test.py new file mode 100644 index 0000000..bd014d5 --- /dev/null +++ b/python/linux/nmea_test.py @@ -0,0 +1,49 @@ +import nmea + +def test_check_checksum(): + """Test correct check_checksum behavior""" + result = nmea.check_checksum("!AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*0F") + assert result == (True, 0x0F, 0x0F) + + result = nmea.check_checksum("$AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*0F") + assert result == (True, 0x0F, 0x0F) + +def test_check_checksum_wrong(): + result = nmea.check_checksum("!AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*11") + assert result == (False, 0x0F, 0x11) + +def test_check_checksum_errors(): + """Test error conditions in check_checksum""" + + # No start character + result = nmea.check_checksum("AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*0F") + assert result == (False, None, None) + + # Invalid start character + result = nmea.check_checksum("@AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*0F") + assert result == (False, None, None) + + # No checksum at the end + result = nmea.check_checksum("!AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0") + assert result == (False, 0x0F, -1) + + # Missing checksum character + result = nmea.check_checksum("!AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*0") + assert result == (False, 0x0F, 0) + +def test_make_checksum(): + """Test correct make_checksum behavior""" + result = nmea.make_checksum("!AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*00") + assert result == 0x0F + + result = nmea.make_checksum("!AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*") + assert result == 0x0F + + # No * at the end + result = nmea.make_checksum("!AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0") + assert result == 0x0F + +def test_make_checksum_errors(): + # Invalid start character + result = nmea.make_checksum("@AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*") + assert result == None diff --git a/python/linux/runme.py b/python/linux/runme.py index 89bad37..f559320 100755 --- a/python/linux/runme.py +++ b/python/linux/runme.py @@ -1,119 +1,121 @@ -#!/usr/bin/python +#!/usr/bin/python3 import aisparser -s = [ "!AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*0F", - "!AIVDM,1,1,,B,11auciwP?w4?wv0dBP,0*02", - "!AIVDM,1,1,,B,403OwpiuJo>A@o=sbvK=CG700H9n,0*33", - "!AIVDM,1,1,,B,35Mk33gOkRG?FLDK?6tUODNR0000,0*56", - "!AIVDM,2,1,2,B,8030ojA?0@=DE3@?BDPA3onQiUFttP1Wh01DE3<1EJ?>0onlkUG0e01I,0*3D", - "!AIVDM,2,2,2,B,h00,2*7D", - "!AIVDM,2,1,9,B,8030ojA?0@=DE3C?B5<00o`O1UA@V01vh01DE63>DB3?5oW@PU?d4P1i,0*55", - "!AIVDM,2,2,9,B,h00,2*76", - "!AIVDM,2,1,3,B,8030ojA?0@=DE9CD:?B9Fot`9UKQW03Gh01DE9CD6B19?oqHd5H=WP11,0*51", - "!AIVDM,2,2,3,B,h00,2*7C", - "\s:ASM//Port=63//MMSI=2573225,c:1301961602*7A\!BSVDM,1,1,,A,13P4?wv0dBP,0*02", + "!AIVDM,1,1,,B,403OwpiuJo>A@o=sbvK=CG700H9n,0*33", + "!AIVDM,1,1,,B,35Mk33gOkRG?FLDK?6tUODNR0000,0*56", + "!AIVDM,2,1,2,B,8030ojA?0@=DE3@?BDPA3onQiUFttP1Wh01DE3<1EJ?>0onlkUG0e01I,0*3D", + "!AIVDM,2,2,2,B,h00,2*7D", + "!AIVDM,2,1,9,B,8030ojA?0@=DE3C?B5<00o`O1UA@V01vh01DE63>DB3?5oW@PU?d4P1i,0*55", + "!AIVDM,2,2,9,B,h00,2*76", + "!AIVDM,2,1,3,B,8030ojA?0@=DE9CD:?B9Fot`9UKQW03Gh01DE9CD6B19?oqHd5H=WP11,0*51", + "!AIVDM,2,2,3,B,h00,2*7C", + r"\s:ASM//Port=63//MMSI=2573225,c:1301961602*7A\!BSVDM,1,1,,A,13P> 6; - fi = msg.app_id & 0x3F; - - print "dac : %d" % (dac) - print "fi : %d" % (fi) - - sixbit = msg.data - spare = aisparser.get_6bit( sixbit, 2 ) - msgid = aisparser.get_6bit( sixbit, 6 ) - print "msgid : %d" % (msgid) - - if fi==1 and msgid==3: - msg1_3 = aisparser.seaway1_3() - aisparser.parse_seaway1_3( sixbit, msg1_3 ) - - for i in xrange(0,6): - report = aisparser.get_water_level_report( msg1_3, i) - utc_time = report.utc_time - print "month : %d" % (ord(utc_time.month)) - print "day : %d" % (ord(utc_time.day)) - print "hours : %d" % (ord(utc_time.hours)) - print "minutes : %d" % (ord(utc_time.minutes)) - print "station : %s" % (report.station_id) - print "longitude : %ld" % (report.longitude) - print "latitude : %ld" % (report.latitude) - print "type : %d" % (ord(report.type)) - print "level : %d" % (report.level) - print "datum : %d" % (ord(report.datum)) - print "spare : %d" % (report.spare) - print "\n" - + msg = aisparser.aismsg_8() + aisparser.parse_ais_8(ais_state, msg) + + dac = msg.app_id >> 6 + fi = msg.app_id & 0x3F + + print("dac : %d" % (dac)) + print("fi : %d" % (fi)) + + sixbit = msg.data + spare = aisparser.get_6bit(sixbit, 2) + msgid = aisparser.get_6bit(sixbit, 6) + print("msgid : %d" % (msgid)) + + if fi == 1 and msgid == 3: + msg1_3 = aisparser.seaway1_3() + aisparser.parse_seaway1_3(sixbit, msg1_3) + + for i in range(0, 6): + report = aisparser.get_water_level_report(msg1_3, i) + utc_time = report.utc_time + print("month : %d" % (ord(utc_time.month))) + print("day : %d" % (ord(utc_time.day))) + print("hours : %d" % (ord(utc_time.hours))) + print("minutes : %d" % (ord(utc_time.minutes))) + print("station : %s" % (report.station_id)) + print("longitude : %ld" % (report.longitude)) + print("latitude : %ld" % (report.latitude)) + print("type : %d" % (ord(report.type))) + print("level : %d" % (report.level)) + print("datum : %d" % (ord(report.datum))) + print("spare : %d" % (report.spare)) + print("\n") diff --git a/python/osx/runme.py b/python/osx/runme.py deleted file mode 100755 index 9f081a2..0000000 --- a/python/osx/runme.py +++ /dev/null @@ -1,108 +0,0 @@ -#!/usr/bin/python - -import aisparser - - -s = [ "!AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*0F", - "!AIVDM,1,1,,B,11auciwP?w4?wv0dBP,0*02", - "!AIVDM,1,1,,B,403OwpiuJo>A@o=sbvK=CG700H9n,0*33", - "!AIVDM,1,1,,B,35Mk33gOkRG?FLDK?6tUODNR0000,0*56" - "!AIVDM,2,1,2,B,8030ojA?0@=DE3@?BDPA3onQiUFttP1Wh01DE3<1EJ?>0onlkUG0e01I,0*3D", - "!AIVDM,2,2,2,B,h00,2*7D", - "!AIVDM,2,1,9,B,8030ojA?0@=DE3C?B5<00o`O1UA@V01vh01DE63>DB3?5oW@PU?d4P1i,0*55", - "!AIVDM,2,2,9,B,h00,2*76", - "!AIVDM,2,1,3,B,8030ojA?0@=DE9CD:?B9Fot`9UKQW03Gh01DE9CD6B19?oqHd5H=WP11,0*51", - "!AIVDM,2,2,3,B,h00,2*7C", - - ] - - -ais_state = aisparser.ais_state() - -for p in s: - result = aisparser.assemble_vdm( ais_state, p ) - if( result == 0): - ais_state.msgid = aisparser.get_6bit( ais_state.six_state, 6 ) - print "msgid = %d" % (ais_state.msgid) - - if ais_state.msgid == 1: - msg = aisparser.aismsg_1() - aisparser.parse_ais_1( ais_state, msg ) - - print "mmsi : %d" % (msg.userid) - print "latitude : %d" % (msg.latitude) - print "longitude: %d" % (msg.longitude) - print "pos_acc : %d" % (ord(msg.pos_acc)) - - elif ais_state.msgid == 2: - msg = aisparser.aismsg_2() - aisparser.parse_ais_2( ais_state, msg ) - - print "mmsi : %d" % (msg.userid) - print "latitude : %d" % (msg.latitude) - print "longitude: %d" % (msg.longitude) - print "pos_acc : %d" % (ord(msg.pos_acc)) - - elif ais_state.msgid == 3: - msg = aisparser.aismsg_3() - aisparser.parse_ais_3( ais_state, msg ) - - print "mmsi : %d" % (msg.userid) - print "latitude : %d" % (msg.latitude) - print "longitude: %d" % (msg.longitude) - print "pos_acc : %d" % (ord(msg.pos_acc)) - - elif ais_state.msgid == 4: - msg = aisparser.aismsg_4() - aisparser.parse_ais_4( ais_state, msg ) - - print "mmsi : %d" % (msg.userid) - print "latitude : %d" % (msg.latitude) - print "longitude: %d" % (msg.longitude) - print "pos_acc : %d" % (ord(msg.pos_acc)) - - elif ais_state.msgid == 5: - msg = aisparser.aismsg_5() - aisparser.parse_ais_5( ais_state, msg ) - - print "mmsi : %d" % (msg.userid) - print "callsign : %s" % (msg.callsign) - print "name : %s" % (msg.name) - print "destination: %s" % (msg.dest) - - elif ais_state.msgid == 8: - msg = aisparser.aismsg_8() - aisparser.parse_ais_8( ais_state, msg ) - - dac = msg.app_id >> 6; - fi = msg.app_id & 0x3F; - - print "dac : %d" % (dac) - print "fi : %d" % (fi) - - sixbit = msg.data - spare = aisparser.get_6bit( sixbit, 2 ) - msgid = aisparser.get_6bit( sixbit, 6 ) - print "msgid : %d" % (msgid) - - if fi==1 and msgid==3: - msg1_3 = aisparser.seaway1_3() - aisparser.parse_seaway1_3( sixbit, msg1_3 ) - - for i in xrange(0,6): - report = aisparser.get_water_level_report( msg1_3, i) - utc_time = report.utc_time - print "month : %d" % (ord(utc_time.month)) - print "day : %d" % (ord(utc_time.day)) - print "hours : %d" % (ord(utc_time.hours)) - print "minutes : %d" % (ord(utc_time.minutes)) - print "station : %s" % (report.station_id) - print "longitude : %ld" % (report.longitude) - print "latitude : %ld" % (report.latitude) - print "type : %d" % (ord(report.type)) - print "level : %d" % (report.level) - print "datum : %d" % (ord(report.datum)) - print "spare : %d" % (report.spare) - print "\n" - - \ No newline at end of file diff --git a/python/win32/runme.py b/python/win32/runme.py deleted file mode 100644 index 1ef539c..0000000 --- a/python/win32/runme.py +++ /dev/null @@ -1,108 +0,0 @@ -# file: runme.py - -import aisparser - - -s = [ "!AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*0F", - "!AIVDM,1,1,,B,11auciwP?w4?wv0dBP,0*02", - "!AIVDM,1,1,,B,403OwpiuJo>A@o=sbvK=CG700H9n,0*33", - "!AIVDM,1,1,,B,35Mk33gOkRG?FLDK?6tUODNR0000,0*56", - "!AIVDM,2,1,2,B,8030ojA?0@=DE3@?BDPA3onQiUFttP1Wh01DE3<1EJ?>0onlkUG0e01I,0*3D", - "!AIVDM,2,2,2,B,h00,2*7D", - "!AIVDM,2,1,9,B,8030ojA?0@=DE3C?B5<00o`O1UA@V01vh01DE63>DB3?5oW@PU?d4P1i,0*55", - "!AIVDM,2,2,9,B,h00,2*76", - "!AIVDM,2,1,3,B,8030ojA?0@=DE9CD:?B9Fot`9UKQW03Gh01DE9CD6B19?oqHd5H=WP11,0*51", - "!AIVDM,2,2,3,B,h00,2*7C" - - ] - - -ais_state = aisparser.ais_state() - - -for p in s: - result = aisparser.assemble_vdm( ais_state, p ) - if( result == 0): - ais_state.msgid = aisparser.get_6bit( ais_state.six_state, 6 ) - print "msgid = %d" % (ais_state.msgid) - - if ais_state.msgid == 1: - msg = aisparser.aismsg_1() - aisparser.parse_ais_1( ais_state, msg ) - - print "mmsi : %d" % (msg.userid) - print "latitude : %d" % (msg.latitude) - print "longitude: %d" % (msg.longitude) - print "pos_acc : %d" % (ord(msg.pos_acc)) - - elif ais_state.msgid == 2: - msg = aisparser.aismsg_2() - aisparser.parse_ais_2( ais_state, msg ) - - print "mmsi : %d" % (msg.userid) - print "latitude : %d" % (msg.latitude) - print "longitude: %d" % (msg.longitude) - print "pos_acc : %d" % (ord(msg.pos_acc)) - - elif ais_state.msgid == 3: - msg = aisparser.aismsg_3() - aisparser.parse_ais_3( ais_state, msg ) - - print "mmsi : %d" % (msg.userid) - print "latitude : %d" % (msg.latitude) - print "longitude: %d" % (msg.longitude) - print "pos_acc : %d" % (ord(msg.pos_acc)) - - elif ais_state.msgid == 4: - msg = aisparser.aismsg_4() - aisparser.parse_ais_4( ais_state, msg ) - - print "mmsi : %d" % (msg.userid) - print "latitude : %d" % (msg.latitude) - print "longitude: %d" % (msg.longitude) - print "pos_acc : %d" % (ord(msg.pos_acc)) - - elif ais_state.msgid == 5: - msg = aisparser.aismsg_5() - aisparser.parse_ais_5( ais_state, msg ) - - print "mmsi : %d" % (msg.userid) - print "callsign : %s" % (msg.callsign) - print "name : %s" % (msg.name) - print "destination: %s" % (msg.dest) - - elif ais_state.msgid == 8: - msg = aisparser.aismsg_8() - aisparser.parse_ais_8( ais_state, msg ) - - dac = msg.app_id >> 6; - fi = msg.app_id & 0x3F; - - print "dac : %d" % (dac) - print "fi : %d" % (fi) - - sixbit = msg.data - spare = aisparser.get_6bit( sixbit, 2 ) - msgid = aisparser.get_6bit( sixbit, 6 ) - print "msgid : %d" % (msgid) - - if fi==1 and msgid==3: - msg1_3 = aisparser.seaway1_3() - aisparser.parse_seaway1_3( sixbit, msg1_3 ) - - for i in xrange(0,6): - report = aisparser.get_water_level_report( msg1_3, i) - utc_time = report.utc_time - print "month : %d" % (ord(utc_time.month)) - print "day : %d" % (ord(utc_time.day)) - print "hours : %d" % (ord(utc_time.hours)) - print "minutes : %d" % (ord(utc_time.minutes)) - print "station : %s" % (report.station_id) - print "longitude : %ld" % (report.longitude) - print "latitude : %ld" % (report.latitude) - print "type : %d" % (ord(report.type)) - print "level : %d" % (report.level) - print "datum : %d" % (ord(report.datum)) - print "spare : %d" % (report.spare) - print "\n" - diff --git a/python/win32/Makefile b/python/windows/Makefile similarity index 100% rename from python/win32/Makefile rename to python/windows/Makefile diff --git a/python/win32/README b/python/windows/README similarity index 100% rename from python/win32/README rename to python/windows/README diff --git a/python/win32/aisparser.dsp b/python/windows/aisparser.dsp similarity index 100% rename from python/win32/aisparser.dsp rename to python/windows/aisparser.dsp diff --git a/python/win32/aisparser.dsw b/python/windows/aisparser.dsw similarity index 100% rename from python/win32/aisparser.dsw rename to python/windows/aisparser.dsw diff --git a/python/win32/aisparser.i b/python/windows/aisparser.i similarity index 100% rename from python/win32/aisparser.i rename to python/windows/aisparser.i diff --git a/python/win32/aisparser.py b/python/windows/aisparser.py similarity index 100% rename from python/win32/aisparser.py rename to python/windows/aisparser.py diff --git a/python/win32/aisparser_wrap.c b/python/windows/aisparser_wrap.c similarity index 100% rename from python/win32/aisparser_wrap.c rename to python/windows/aisparser_wrap.c diff --git a/python/windows/runme.py b/python/windows/runme.py new file mode 100644 index 0000000..2c1055a --- /dev/null +++ b/python/windows/runme.py @@ -0,0 +1,121 @@ +# file: runme.py + +import aisparser + + +s = ["!AIVDM,1,1,,B,35Mj3MPOj@o?FVFK<5w3r3@L00di,0*0F", + "!AIVDM,1,1,,B,11auciwP?w4?wv0dBP,0*02", + "!AIVDM,1,1,,B,403OwpiuJo>A@o=sbvK=CG700H9n,0*33", + "!AIVDM,1,1,,B,35Mk33gOkRG?FLDK?6tUODNR0000,0*56", + "!AIVDM,2,1,2,B,8030ojA?0@=DE3@?BDPA3onQiUFttP1Wh01DE3<1EJ?>0onlkUG0e01I,0*3D", + "!AIVDM,2,2,2,B,h00,2*7D", + "!AIVDM,2,1,9,B,8030ojA?0@=DE3C?B5<00o`O1UA@V01vh01DE63>DB3?5oW@PU?d4P1i,0*55", + "!AIVDM,2,2,9,B,h00,2*76", + "!AIVDM,2,1,3,B,8030ojA?0@=DE9CD:?B9Fot`9UKQW03Gh01DE9CD6B19?oqHd5H=WP11,0*51", + "!AIVDM,2,2,3,B,h00,2*7C", + r"\s:ASM//Port=63//MMSI=2573225,c:1301961602*7A\!BSVDM,1,1,,A,13P> 6 + fi = msg.app_id & 0x3F + + print("dac : %d" % (dac)) + print("fi : %d" % (fi)) + + sixbit = msg.data + spare = aisparser.get_6bit(sixbit, 2) + msgid = aisparser.get_6bit(sixbit, 6) + print("msgid : %d" % (msgid)) + + if fi == 1 and msgid == 3: + msg1_3 = aisparser.seaway1_3() + aisparser.parse_seaway1_3(sixbit, msg1_3) + + for i in range(0, 6): + report = aisparser.get_water_level_report(msg1_3, i) + utc_time = report.utc_time + print("month : %d" % (ord(utc_time.month))) + print("day : %d" % (ord(utc_time.day))) + print("hours : %d" % (ord(utc_time.hours))) + print("minutes : %d" % (ord(utc_time.minutes))) + print("station : %s" % (report.station_id)) + print("longitude : %ld" % (report.longitude)) + print("latitude : %ld" % (report.latitude)) + print("type : %d" % (ord(report.type))) + print("level : %d" % (report.level)) + print("datum : %d" % (ord(report.datum))) + print("spare : %d" % (report.spare)) + print("\n") diff --git a/setup.py b/setup.py index 4bfdb29..1c5afe4 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,10 @@ from setuptools import setup, Extension +import platform + +SYSTEM = platform.system().lower() MAJOR_VERSION = 1 -MINOR_VERSION = 0 +MINOR_VERSION = 11 PATCH_VERSION = 0 aisparser_module = Extension( @@ -21,7 +24,7 @@ 'c/src/seaway.c', 'c/src/sixbit.c', 'c/src/vdm_parse.c', - 'python/linux/aisparser.i', + 'python/{}/aisparser.i'.format(SYSTEM), ] ) @@ -30,8 +33,11 @@ name = 'python-aisparser', description = 'AIS Parsing library', url = 'https://github.com/bcl/aisparser', + author = "Brian C. Lane", + author_email = "bcl@brianlane.com", + license = "BSD-3-Clause", version = '{}.{}.{}'.format(MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION), py_modules=['aisparser'], - package_dir = {'': 'python/linux'}, + package_dir = {'': 'python/{}'.format(SYSTEM)}, ext_modules = [aisparser_module], )