📄 textseq_id.hpp
字号:
/* * =========================================================================== * PRODUCTION $Log: Textseq_id.hpp,v $ * PRODUCTION Revision 1000.0 2003/10/29 21:05:05 gouriano * PRODUCTION PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R1.8 * PRODUCTION * =========================================================================== *//* $Id: Textseq_id.hpp,v 1000.0 2003/10/29 21:05:05 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: ....... * * File Description: * ....... * * Remark: * This code was originally generated by application DATATOOL * using specifications from the ASN data definition file * 'seqloc.asn'. * * --------------------------------------------------------------------------- * $Log: Textseq_id.hpp,v $ * Revision 1000.0 2003/10/29 21:05:05 gouriano * PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R1.8 * * Revision 1.8 2003/02/06 22:23:29 vasilche * Added CSeq_id::Assign(), CSeq_loc::Assign(). * Added int CSeq_id::Compare() (not safe). * Added caching of CSeq_loc::GetTotalRange(). * * Revision 1.7 2002/12/26 12:43:42 dicuccio * Added Win32 export specifiers * * Revision 1.6 2001/08/31 16:00:36 clausen * Added new constructors for FastA construction. * * Revision 1.5 2001/06/25 18:52:02 grichenk * Prohibited copy constructor and assignment operator * * Revision 1.4 2000/12/08 22:18:41 ostell * changed MakeFastString to AsFastaString and to use ostream instead of string * * Revision 1.3 2000/12/08 20:45:56 ostell * added MakeFastaString() * * Revision 1.2 2000/11/30 21:53:39 ostell * typo fixed * * Revision 1.1 2000/11/30 18:40:23 ostell * added Textseq_id.Match * * * =========================================================================== */#ifndef OBJECTS_SEQLOC_TEXTSEQ_ID_HPP#define OBJECTS_SEQLOC_TEXTSEQ_ID_HPP// generated includes#include <objects/seqloc/Textseq_id_.hpp>// generated classesBEGIN_NCBI_SCOPEBEGIN_objects_SCOPE // namespace ncbi::objects::class NCBI_SEQLOC_EXPORT CTextseq_id : public CTextseq_id_Base{ typedef CTextseq_id_Base Tparent;public: // 'ctors CTextseq_id(void); CTextseq_id(const string& acc, const string& name, const string& version, const string& release = kEmptyStr, bool allow_dot_version = true); CTextseq_id(const string& acc, const string& name, int version = 0, const string& release = kEmptyStr, bool allow_dot_version = true); virtual ~CTextseq_id(void); // Comparison function bool Match(const CTextseq_id& tsip2) const; int Compare(const CTextseq_id& tsip2) const; bool operator<(const CTextseq_id& tsip2) const; // Format the contents FASTA string style ostream& AsFastaString(ostream& s) const;private: void x_Init(const string& acc, const string& name, int version, const string& release, bool is_nucore3); // Prohibit copy constructor & assignment operator CTextseq_id(const CTextseq_id&); CTextseq_id& operator= (const CTextseq_id&);};/////////////////// CTextseq_id inline methods// constructorinlineCTextseq_id::CTextseq_id(void){}inlinebool CTextseq_id::operator<(const CTextseq_id& tsip2) const{ return Compare(tsip2) < 0;}/////////////////// end of CTextseq_id inline methodsEND_objects_SCOPE // namespace ncbi::objects::END_NCBI_SCOPE#endif // OBJECTS_SEQLOC_TEXTSEQ_ID_HPP/* Original file checksum: lines: 85, chars: 2258, CRC32: fc9c35de */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -