NCBI C++ ToolKit
Id_pat.hpp
Go to the documentation of this file.

Go to the SVN repository for this file.

00001 /* $Id: Id_pat.hpp 49240 2011-04-08 18:57:08Z ucko $
00002  * ===========================================================================
00003  *
00004  *                            PUBLIC DOMAIN NOTICE
00005  *               National Center for Biotechnology Information
00006  *
00007  *  This software/database is a "United States Government Work" under the
00008  *  terms of the United States Copyright Act.  It was written as part of
00009  *  the author's official duties as a United States Government employee and
00010  *  thus cannot be copyrighted.  This software/database is freely available
00011  *  to the public for use. The National Library of Medicine and the U.S.
00012  *  Government have not placed any restriction on its use or reproduction.
00013  *
00014  *  Although all reasonable efforts have been taken to ensure the accuracy
00015  *  and reliability of the software and data, the NLM and the U.S.
00016  *  Government do not and cannot warrant the performance or results that
00017  *  may be obtained by using this software or data. The NLM and the U.S.
00018  *  Government disclaim all warranties, express or implied, including
00019  *  warranties of performance, merchantability or fitness for any particular
00020  *  purpose.
00021  *
00022  *  Please cite the author in any work or product based on this material.
00023  *
00024  * ===========================================================================
00025  *
00026  * Author:  .......
00027  *
00028  * File Description:
00029  *   .......
00030  *
00031  * Remark:
00032  *   This code was originally generated by application DATATOOL
00033  *   using specifications from the ASN data definition file
00034  *   'biblio.asn'.
00035  */
00036 
00037 #ifndef OBJECTS_BIBLIO_ID_PAT_HPP
00038 #define OBJECTS_BIBLIO_ID_PAT_HPP
00039 
00040 
00041 // generated includes
00042 #include <objects/biblio/Id_pat_.hpp>
00043 
00044 #include <objects/biblio/citation_base.hpp>
00045 
00046 // generated classes
00047 
00048 BEGIN_NCBI_SCOPE
00049 
00050 BEGIN_objects_SCOPE // namespace ncbi::objects::
00051 
00052 class NCBI_BIBLIO_EXPORT CId_pat : public CId_pat_Base, public ICitationBase
00053 {
00054     typedef CId_pat_Base Tparent;
00055 public:
00056     // constructor
00057     CId_pat(void);
00058     // destructor
00059     ~CId_pat(void);
00060 
00061     // comparison function
00062     bool Match(const CId_pat& idp2) const;
00063     static bool Id_Match(const C_Id& id1, const C_Id& id2);
00064 
00065     // may return either actual number or application number
00066     const string& GetSomeNumber(void) const;
00067 
00068 protected:
00069     // Appends a label onto "label" based on content
00070     bool GetLabelV1(string* label, TLabelFlags flags) const;
00071     bool GetLabelV2(string* label, TLabelFlags flags) const;
00072 
00073 private:
00074     // Prohibit copy constructor & assignment operator
00075     CId_pat(const CId_pat&);
00076     CId_pat& operator= (const CId_pat&);
00077 };
00078 
00079 
00080 
00081 /////////////////// CId_pat inline methods
00082 
00083 // constructor
00084 inline
00085 CId_pat::CId_pat(void)
00086 {
00087 }
00088 
00089 
00090 /////////////////// end of CId_pat inline methods
00091 
00092 
00093 END_objects_SCOPE // namespace ncbi::objects::
00094 
00095 END_NCBI_SCOPE
00096 
00097 
00098 #endif // OBJECTS_BIBLIO_ID_PAT_HPP
00099 /* Original file checksum: lines: 85, chars: 2206, CRC32: 9ef520cb */
Modified on Sat Dec 20 10:36:45 2014 by modify_doxy.py rev. 426318