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

生物技术

开发平台:

C/C++

  1. /*
  2.  * ===========================================================================
  3.  * PRODUCTION $Log: components.inl,v $
  4.  * PRODUCTION Revision 1000.1  2003/11/05 15:25:56  gouriano
  5.  * PRODUCTION PRODUCTION: UPGRADED [ORIGINAL] Dev-tree R1.3
  6.  * PRODUCTION
  7.  * ===========================================================================
  8.  */
  9. #if defined(HTML___COMPONENTS__HPP)  &&  !defined(HTML___COMPONENTS__INL)
  10. #define HTML___COMPONENTS__INL
  11. /*  $Id: components.inl,v 1000.1 2003/11/05 15:25:56 gouriano Exp $
  12.  * ===========================================================================
  13.  *
  14.  *                            PUBLIC DOMAIN NOTICE
  15.  *               National Center for Biotechnology Information
  16.  *
  17.  *  This software/database is a "United States Government Work" under the
  18.  *  terms of the United States Copyright Act.  It was written as part of
  19.  *  the author's official duties as a United States Government employee and
  20.  *  thus cannot be copyrighted.  This software/database is freely available
  21.  *  to the public for use. The National Library of Medicine and the U.S.
  22.  *  Government have not placed any restriction on its use or reproduction.
  23.  *
  24.  *  Although all reasonable efforts have been taken to ensure the accuracy
  25.  *  and reliability of the software and data, the NLM and the U.S.
  26.  *  Government do not and cannot warrant the performance or results that
  27.  *  may be obtained by using this software or data. The NLM and the U.S.
  28.  *  Government disclaim all warranties, express or implied, including
  29.  *  warranties of performance, merchantability or fitness for any particular
  30.  *  purpose.
  31.  *
  32.  *  Please cite the author in any work or product based on this material.
  33.  *
  34.  * ===========================================================================
  35.  *
  36.  * Author: Eugene Vasilchenko
  37.  *
  38.  */
  39. inline COptionDescription::COptionDescription(const string& value)
  40.     : m_Value(value)
  41. {
  42.     return;
  43. }
  44. inline COptionDescription::COptionDescription(const string& value,
  45.                                               const string& label)
  46.     : m_Value(value), m_Label(label)
  47. {
  48.     return;
  49. }
  50. inline void CSelectDescription::Add(int value)
  51. {
  52.     Add(NStr::IntToString(value));
  53. }
  54. /*
  55.  * ===========================================================================
  56.  *
  57.  * $Log: components.inl,v $
  58.  * Revision 1000.1  2003/11/05 15:25:56  gouriano
  59.  * PRODUCTION: UPGRADED [ORIGINAL] Dev-tree R1.3
  60.  *
  61.  * Revision 1.3  2003/11/03 17:02:53  ivanov
  62.  * Some formal code rearrangement. Move log to end.
  63.  *
  64.  * Revision 1.2  2003/11/03 15:08:19  ucko
  65.  * Prepended HTML___ to include guards, per change to components.hpp.
  66.  * Moved CVS log to end.
  67.  *
  68.  * Revision 1.1  1999/01/21 21:12:53  vasilche
  69.  * Added/used descriptions for HTML submit/select/text.
  70.  * Fixed some bugs in paging.
  71.  *
  72.  * ===========================================================================
  73.  */
  74. #endif /* def HTML___COMPONENTS__HPP  &&  ndef HTML___COMPONENTS__INL */