/*
** Author: Samuel R. Blackburn
** Internet: wfc@pobox.com
**
** Copyright, 1997-2005, Samuel R. Blackburn
**
** "You can get credit for something or get it done, but not both."
** Dr. Richard Garwin
**
** BSD License follows.
**
** Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions
** are met:
**
** Redistributions of source code must retain the above copyright notice,
** this list of conditions and the following disclaimer. Redistributions
** in binary form must reproduce the above copyright notice, this list
** of conditions and the following disclaimer in the documentation and/or
** other materials provided with the distribution. Neither the name of
** the WFC nor the names of its contributors may be used to endorse or
** promote products derived from this software without specific prior
** written permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
**
** $Workfile: mlist.cpp $
** $Revision: 6 $
** $Modtime: 10/10/98 4:27p $
*/
#include "nmea0183.h"
#pragma hdrstop
#if defined( _DEBUG ) && defined( _INC_CRTDBG )
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#define new DEBUG_NEW
#endif // _DEBUG
MANUFACTURER_LIST::MANUFACTURER_LIST()
{
ManufacturerTable.RemoveAll();
}
MANUFACTURER_LIST::~MANUFACTURER_LIST()
{
Empty();
}
void MANUFACTURER_LIST::Add( MANUFACTURER *manufacturer_p )
{
ManufacturerTable.Add( manufacturer_p );
}
void MANUFACTURER_LIST::Empty( void )
{
int loop_index = 0;
int number_of_entries = ManufacturerTable.GetSize();
while( loop_index < number_of_entries )
{
delete (MANUFACTURER *) ManufacturerTable[ loop_index ];
ManufacturerTable[ loop_index ] = NULL;
loop_index++;
}
ManufacturerTable.RemoveAll();
}
void MANUFACTURER_LIST::Fill( void )
{
Add( new MANUFACTURER( "AAR", "Asian American Resources" ) );
Add( new MANUFACTURER( "ACE", "Auto-Comm Engineering Corporation" ) );
Add( new MANUFACTURER( "ACR", "ACR Electronics, Inc." ) );
Add( new MANUFACTURER( "ACS", "Arco Solar, Inc." ) );
Add( new MANUFACTURER( "ACT", "Advanced Control Technology" ) );
Add( new MANUFACTURER( "AGI", "Airguide Instrument Company" ) );
Add( new MANUFACTURER( "AHA", "Autohelm of America" ) );
Add( new MANUFACTURER( "AIP", "Aiphone Corporation" ) );
Add( new MANUFACTURER( "ALD", "Alden Electronics, Inc." ) );
Add( new MANUFACTURER( "AMR", "AMR Systems" ) );
Add( new MANUFACTURER( "AMT", "Airmar Technology" ) );
Add( new MANUFACTURER( "ANS", "Antenna Specialists" ) );
Add( new MANUFACTURER( "ANX", "Analytyx Electronic Systems" ) );
Add( new MANUFACTURER( "ANZ", "Anschutz of America" ) );
Add( new MANUFACTURER( "APC", "Apelco" ) );
Add( new MANUFACTURER( "APN", "American Pioneer, Inc." ) );
Add( new MANUFACTURER( "APX", "Amperex, Inc." ) );
Add( new MANUFACTURER( "AQC", "Aqua-Chem, Inc." ) );
Add( new MANUFACTURER( "AQD", "Aquadynamics, Inc." ) );
Add( new MANUFACTURER( "AQM", "Aqua Meter Instrument Company" ) );
Add( new MANUFACTURER( "ASP", "American Solar Power" ) );
Add( new MANUFACTURER( "ATE", "Aetna Engineering" ) );
Add( new MANUFACTURER( "ATM", "Atlantic Marketing Company, Inc." ) );
Add( new MANUFACTURER( "ATR", "Airtron" ) );
Add( new MANUFACTURER( "ATV", "Activation, Inc." ) );
Add( new MANUFACTURER( "AVN", "Advanced Navigation, Inc." ) );
Add( new MANUFACTURER( "AWA", "Awa New Zealand, Limited" ) );
Add( new MANUFACTURER( "BBL", "BBL Industries, Inc." ) );
Add( new MANUFACTURER( "BBR", "BBR and Associates" ) );
Add( new MANUFACTURER( "BDV", "Brisson Development, Inc." ) );
Add( new MANUFACTURER( "BEC", "Boat Electric Company" ) );
Add( new MANUFACTURER( "BGS", "Barringer Geoservice" ) );
Add( new MANUFACTURER( "BGT", "Brookes and Gatehouse, Inc." ) );
Add( new MANUFACTURER( "BHE", "BH Electronics" ) );
Add( new MANUFACTURER( "BHR", "Bahr Technologies, Inc." ) );
Add( new MANUFACTURER( "BLB", "Bay Laboratories" ) );
Add( new MANUFACTURER( "BMC", "BMC" ) );
Add( new MANUFACTURER( "BME", "Bartel Marine Electronics" ) );
Add( new MANUFACTURER( "BNI", "Neil Brown Instrument Systems" ) );
Add( new MANUFACTURER( "BNS", "Bowditch Navigation Systems" ) );
Add( new MANUFACTURER( "BRM", "Mel Barr Company" ) );
Add( new MANUFACTURER( "BRY", "Byrd Industries" ) );
Add( new MANUFACTURER( "BTH", "Benthos, Inc." ) );
Add( new MANUFACTURER( "BTK", "Baltek Corporation" ) );
Add( new MANUFACTURER( "BTS", "Boat Sentry, Inc." ) );
Add( new MANUFACTURER( "BXA", "Bendix-Avalex, Inc." ) );
Add( new MANUFACTURER( "CAT", "Catel" ) );
Add( new MANUFACTURER( "CBN", "Cybernet Marine Products" ) );
Add( new MANUFACTURER( "CCA", "Copal Corporation of America" ) );
Add( new MANUFACTURER( "CCC", "Coastal Communications Company" ) );
Add( new MANUFACTURER( "CCL", "Coastal Climate Company" ) );
Add( new MANUFACTURER( "CCM", "Coastal Communications" ) );
Add( new MANUFACTURER( "CDC", "Cordic Company" ) );
Add( new MANUFACTURER( "CEC", "Ceco Communications, Inc." ) );
Add( new MANUFACTURER( "CHI", "Charles Industries, Limited" ) );
Add( new MANUFACTURER( "CKM", "Cinkel Marine Electronics Industries" ) );
Add( new MANUFACTURER( "CMA", "Societe Nouvelle D'Equiment du Calvados" ) );
Add( new MANUFACTURER( "CMC", "Coe Manufacturing Company" ) );
Add( new MANUFACTURER( "CME", "Cushman Electronics, Inc." ) );
Add( new MANUFACTURER( "CMP", "C-Map, s.r.l." ) );
Add( new MANUFACTURER( "CMS", "Coastal Marine Sales Company" ) );
Add( new MANUFACTURER( "CMV", "CourseMaster USA, Inc." ) );
Add( new MANUFACTURER( "CNV", "Coastal Navigator" ) );
Add( new MANUFACTURER( "CNX", "Cynex Manufactoring Company" ) );
Add( new MANUFACTURER( "CPL", "Computrol, Inc." ) );
Add( new MANUFACTURER( "CPN", "Compunav" ) );
Add( new MANUFACTURER( "CPS", "Columbus Positioning, Inc." ) );
Add( new MANUFACTURER( "CPT", "CPT, Inc." ) );
Add( new MANUFACTURER( "CRE", "Crystal Electronics, Limited" ) );
Add( new MANUFACTURER( "CRO", "The Caro Group" ) );
Add( new MANUFACTURER( "CRY", "Crystek Crystals Corporation" ) );
Add( new MANUFACTURER( "CSM", "Comsat Maritime Services" ) );
Add( new MANUFACTURER( "CST", "Cast, Inc." ) );
Add( new MANUFACTURER( "CSV", "Combined Services" ) );
Add( new MANUFACTURER( "CTA", "Current Alternatives" ) );
Add( new MANUFACTURER( "CTB", "Cetec Benmar" ) );
Add( new MANUFACTURER( "CTC", "Cell-tech Communications" ) );
Add( new MANUFACTURER( "CTE", "Castle Electronics" ) );
Add( new MANUFACTURER( "CTL", "C-Tech, Limited" ) );
Add( new MANUFACTURER( "CNI", "Continental Instruments" ) ); // Possible error in NMEA0183 docs
Add( new MANUFACTURER( "CWD", "Cubic Western Data" ) );
Add( new MANUFACTURER( "CWV", "Celwave R.F., Inc." ) );
Add( new MANUFACTURER( "CYZ", "cYz, Incorporated" ) );
Add( new MANUFACTURER( "DCC", "Dolphin Components Corporation" ) );
Add( new MANUFACTURER( "DEB", "Debeg Gmbh" ) );