dll_register.cpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:6k
源码类别:

生物技术

开发平台:

C/C++

  1. /*
  2.  * ===========================================================================
  3.  * PRODUCTION $Log: dll_register.cpp,v $
  4.  * PRODUCTION Revision 1000.1  2004/06/01 20:56:46  gouriano
  5.  * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.2
  6.  * PRODUCTION
  7.  * ===========================================================================
  8.  */
  9. /*  $Id: dll_register.cpp,v 1000.1 2004/06/01 20:56:46 gouriano Exp $
  10.  * ===========================================================================
  11.  *
  12.  *                            PUBLIC DOMAIN NOTICE
  13.  *               National Center for Biotechnology Information
  14.  *
  15.  *  This software/database is a "United States Government Work" under the
  16.  *  terms of the United States Copyright Act.  It was written as part of
  17.  *  the author's official duties as a United States Government employee and
  18.  *  thus cannot be copyrighted.  This software/database is freely available
  19.  *  to the public for use. The National Library of Medicine and the U.S.
  20.  *  Government have not placed any restriction on its use or reproduction.
  21.  *
  22.  *  Although all reasonable efforts have been taken to ensure the accuracy
  23.  *  and reliability of the software and data, the NLM and the U.S.
  24.  *  Government do not and cannot warrant the performance or results that
  25.  *  may be obtained by using this software or data. The NLM and the U.S.
  26.  *  Government disclaim all warranties, express or implied, including
  27.  *  warranties of performance, merchantability or fitness for any particular
  28.  *  purpose.
  29.  *
  30.  *  Please cite the author in any work or product based on this material.
  31.  *
  32.  * ===========================================================================
  33.  *
  34.  * Authors:  Mike DiCuccio
  35.  *
  36.  * File Description:
  37.  *    Plug-in definition file for intrinsic algorithms
  38.  */
  39. #include <ncbi_pch.hpp>
  40. #include <gui/core/algo_factory.hpp>
  41. #include "linkout.hpp"
  42. #include "locus_link.hpp"
  43. #include "viewer.hpp"
  44. #include "query_id.hpp"
  45. #include "query_feat.hpp"
  46. USING_SCOPE(ncbi);
  47. USING_SCOPE(objects);
  48.  
  49. DECLARE_ALGO_FACTORY(CAlgoLinkOut);
  50. DECLARE_ALGO_FACTORY(CAlgoLinkOut_LocusLink);
  51. DECLARE_ALGO_FACTORY(CAlgoLinkOut_Viewer);
  52. DECLARE_ALGO_FACTORY(CAlgoLinkOut_QueryId);
  53. DECLARE_ALGO_FACTORY(CAlgoLinkOut_QueryFeat);
  54. BEGIN_PLUGIN_REGISTRATION
  55.     REGISTER_ALGO_PLUGIN(CAlgoLinkOut);
  56.     REGISTER_ALGO_PLUGIN(CAlgoLinkOut_LocusLink);
  57.     REGISTER_ALGO_PLUGIN(CAlgoLinkOut_Viewer);
  58.     REGISTER_ALGO_PLUGIN(CAlgoLinkOut_QueryId);
  59.     REGISTER_ALGO_PLUGIN(CAlgoLinkOut_QueryFeat);
  60. END_PLUGIN_REGISTRATION
  61. /*
  62.  * ===========================================================================
  63.  * $Log: dll_register.cpp,v $
  64.  * Revision 1000.1  2004/06/01 20:56:46  gouriano
  65.  * PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.2
  66.  *
  67.  * Revision 1.2  2004/05/21 22:27:47  gorelenk
  68.  * Added PCH ncbi_pch.hpp
  69.  *
  70.  * Revision 1.1  2003/09/23 19:45:45  dicuccio
  71.  * Initial revision
  72.  *
  73.  * Revision 1.25  2003/08/14 18:00:04  jcherry
  74.  * Added ORF finding
  75.  *
  76.  * Revision 1.24  2003/08/12 18:53:39  jcherry
  77.  * Added restriction site searching
  78.  *
  79.  * Revision 1.23  2003/08/04 20:07:48  jcherry
  80.  * Added prosite search
  81.  *
  82.  * Revision 1.22  2003/07/28 17:27:38  jcherry
  83.  * Removed 'external' to a different project
  84.  *
  85.  * Revision 1.21  2003/07/16 17:20:23  johnson
  86.  * added cpg island plugin
  87.  *
  88.  * Revision 1.20  2003/07/03 19:15:17  jcherry
  89.  * Replaced 'subseq' (fixed string finding) with
  90.  * 'pattern' (regular expression finding).
  91.  *
  92.  * Revision 1.19  2003/06/25 20:16:11  jcherry
  93.  * Added stuff for pI and aa composition
  94.  *
  95.  * Revision 1.18  2003/06/20 14:52:36  dicuccio
  96.  * Revised plugin registration - moved GetInfo() into the plugin handler
  97.  *
  98.  * Revision 1.17  2003/06/19 19:13:41  jcherry
  99.  * Added stuff for running exteral executables ('extern')
  100.  *
  101.  * Revision 1.15  2003/06/09 17:32:15  jcherry
  102.  * Added stuff for CDinuc and CNmer
  103.  * Moved CGcContent into submenu "Composition", along with the above
  104.  *
  105.  * Revision 1.14  2003/05/19 13:39:07  dicuccio
  106.  * Moved gui/core/plugin/ --> gui/plugin/.  Merged core libraries into libgui_core
  107.  *
  108.  * Revision 1.13  2003/05/09 17:03:43  dicuccio
  109.  * Undo spurious commit
  110.  *
  111.  * Revision 1.12  2003/05/09 16:54:32  dicuccio
  112.  * Reorganized registration.  Removed empty document creator - unnecessary
  113.  *
  114.  * Revision 1.11  2003/04/24 16:38:00  dicuccio
  115.  * Updated to reflect changes in plugin API
  116.  *
  117.  * Revision 1.10  2003/03/25 13:47:42  dicuccio
  118.  * Reimplemented to take one required argument instead of three optional ones -
  119.  * makes standard processing easier
  120.  *
  121.  * Revision 1.9  2003/02/25 14:45:16  dicuccio
  122.  * Changed accessors to match changes in plugin arguments accessors
  123.  *
  124.  * Revision 1.8  2003/02/24 13:03:15  dicuccio
  125.  * Renamed classes in plugin spec:
  126.  *     CArgSeg --> CPluginArgSet
  127.  *     CArgument --> CPluginArg
  128.  *     CPluginArgs --> CPluginCommand
  129.  *     CPluginCommands --> CPluginCommandSet
  130.  *
  131.  * Revision 1.7  2003/02/21 17:16:52  dicuccio
  132.  * Fixed compilation errors related to changes in plugin architecture
  133.  *
  134.  * Revision 1.6  2003/02/20 19:49:53  dicuccio
  135.  * Created new plugin architecture, based on ASN.1 spec.  Moved GBENCH frameowrk
  136.  * over to use new plugin architecture.
  137.  *
  138.  * Revision 1.5  2003/01/13 13:10:05  dicuccio
  139.  * Namespace clean-up.  Retired namespace gui -> converted all to namespace
  140.  * ncbi.  Moved all FLUID-generated code into namespace ncbi.
  141.  *
  142.  * Revision 1.4  2003/01/08 14:48:28  dicuccio
  143.  * Updated to match new type specification API
  144.  *
  145.  * Revision 1.3  2002/12/19 18:16:32  dicuccio
  146.  * Twiddled includes to make MSVC happy.
  147.  *
  148.  * Revision 1.2  2002/11/07 18:27:55  dicuccio
  149.  * Cleaned up plug-in registration: converted to use macros from
  150.  * 'algo_plugin.hpp'
  151.  *
  152.  * Revision 1.1  2002/11/05 20:59:20  dicuccio
  153.  * Initial revision
  154.  *
  155.  * ===========================================================================
  156.  */