label_util.hpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:3k
- /*
- * ===========================================================================
- * PRODUCTION $Log: label_util.hpp,v $
- * PRODUCTION Revision 1000.0 2004/04/12 17:27:29 gouriano
- * PRODUCTION PRODUCTION: IMPORTED [CATCHUP_003] Dev-tree R1.2
- * PRODUCTION
- * ===========================================================================
- */
- #ifndef OBJECTS_BIBLIO___LABEL_UTIL__HPP
- #define OBJECTS_BIBLIO___LABEL_UTIL__HPP
- /* $Id: label_util.hpp,v 1000.0 2004/04/12 17:27:29 gouriano Exp $
- * ===========================================================================
- *
- * PUBLIC DOMAIN NOTICE
- * National Center for Biotechnology Information
- *
- * This software/database is a "United States Government Work" under the
- * terms of the United States Copyright Act. It was written as part of
- * the author's official duties as a United States Government employee and
- * thus cannot be copyrighted. This software/database is freely available
- * to the public for use. The National Library of Medicine and the U.S.
- * Government have not placed any restriction on its use or reproduction.
- *
- * Although all reasonable efforts have been taken to ensure the accuracy
- * and reliability of the software and data, the NLM and the U.S.
- * Government do not and cannot warrant the performance or results that
- * may be obtained by using this software or data. The NLM and the U.S.
- * Government disclaim all warranties, express or implied, including
- * warranties of performance, merchantability or fitness for any particular
- * purpose.
- *
- * Please cite the author in any work or product based on this material.
- *
- * ===========================================================================
- *
- * Author: Clifford Clausen, Aleksey Grichenko
- * (moved from CPub class)
- *
- * File Description:
- * utility functions for GetLabel()
- *
- */
- #include <corelib/ncbistd.hpp>
- BEGIN_NCBI_SCOPE
- #ifndef BEGIN_objects_SCOPE
- # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
- # define END_objects_SCOPE END_SCOPE(objects)
- #endif
- BEGIN_objects_SCOPE // namespace ncbi::objects::
- class CAuth_list;
- class CImprint;
- class CTitle;
- class CCit_book;
- class CCit_jour;
- NCBI_BIBLIO_EXPORT
- void GetLabelContent(string* label,
- bool unique,
- const CAuth_list* authors,
- const CImprint* imprint,
- const CTitle* title,
- const CCit_book* book,
- const CCit_jour* journal,
- const string* title1 = 0,
- const string* title2 = 0,
- const string* titleunique = 0,
- const string* date = 0,
- const string* volume = 0,
- const string* issue = 0,
- const string* pages = 0,
- bool unpublished = false);
- END_objects_SCOPE
- END_NCBI_SCOPE
- #endif /* OBJECTS_BIBLIO___LABEL_UTIL__HPP */
- /*
- * ---------------------------------------------------------------------------
- * $Log: label_util.hpp,v $
- * Revision 1000.0 2004/04/12 17:27:29 gouriano
- * PRODUCTION: IMPORTED [CATCHUP_003] Dev-tree R1.2
- *
- * Revision 1.2 2004/02/25 14:35:36 dicuccio
- * Added export specifier
- *
- * Revision 1.1 2004/02/24 15:52:23 grichenk
- * Initial revision
- *
- *
- * ===========================================================================
- */