Trees | Indices | Help |
---|
|
Create a basic field for an ais message
Here is one of the simplest possible examples of an integer that goes from 0 to 255:
FIX: how do I do epydoc indented text?
./aisfield.py -n MyName -t uint -d "My unsigned integer field"
<field name="MyName" numberofbits="8" type="uint"> <description>My unsigned integer field</description> </field>Author: Kurt Schwehr
Version: 5231
Copyright: 2006
Since: 2006-Sep-21
Status: under development
Organization: CCOM
License: GPL
Date: 2006-12-20
|
|||
|
|||
|
|||
|
|||
|
|
|||
typeBitsGuess =
Best initial guess for each type size. |
|||
typeChoices =
List of all the available types that may be used to fill an AIS message. |
|||
numberTypes =
Subset of typeChoices that only has the numeric types |
|
|
|
Write out one field of xml. Here is a sample options dict {'maxRange': None, 'outputFile': None, 'lut': None, 'description': None, 'notes': None, 'required': None, 'minRange': None, 'numberOfBits': 1, 'units': None, 'scale': None, 'arrayLength': None, 'completeXml': False, 'decimalPlaces': None, 'unavailable': None, 'type': 'bool', 'name': None}
|
|
|
typeBitsGuessBest initial guess for each type size. The floating point and string values must be these sizes.
|
typeChoicesList of all the available types that may be used to fill an AIS message.
|
numberTypesSubset of typeChoices that only has the numeric types
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0beta1 on Sat Mar 31 08:52:52 2007 | http://epydoc.sourceforge.net |