📄 spectrumset.hpp
字号:
/* * =========================================================================== * PRODUCTION $Log: SpectrumSet.hpp,v $ * PRODUCTION Revision 1000.2 2004/06/01 18:08:55 gouriano * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.4 * PRODUCTION * =========================================================================== *//* $Id: SpectrumSet.hpp,v 1000.2 2004/06/01 18:08:55 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. * * and reliability of the software and data, the NLM * Although all reasonable efforts have been taken to ensure the accuracyand 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: Lewis Y. Geer * * File Description: * Code for loading in spectrum datasets * * Remark: * This code was originally generated by application DATATOOL * using specifications from the data definition file * 'omssa.asn'. */#ifndef SPECTRUMSET_HPP#define SPECTRUMSET_HPP// generated includes#include <objects/omssa/MSSpectrumset.hpp>#include <iostream>// generated classesBEGIN_NCBI_SCOPEBEGIN_objects_SCOPE // namespace ncbi::objects::class NCBI_XOMSSA_EXPORT CSpectrumSet : public CMSSpectrumset { // typedef CMSSpectrumset_Base Tparent; typedef CMSSpectrumset Tparent;public: // constructor CSpectrumSet(void); // destructor ~CSpectrumSet(void); /// /// load in a single dta file /// int LoadDTA( std::istream& DTA // stream containing dta ); /// /// load in multiple dta files with <dta> tag separators /// int LoadMultDTA( std::istream& DTA // stream containing tag delimited dtas ); /// /// load multiple dta's separated by a blank line /// int LoadMultBlankLineDTA( std::istream& DTA // stream containing blank delimited dtas );protected: /// /// Read in the header of a DTA file /// void GetDTAHeader( std::istream& DTA, // input stream CRef <CMSSpectrum>& MySpectrum // asn.1 container for spectra ); /// /// Read in the body of a dta file /// bool CSpectrumSet::GetDTABody( std::istream& DTA, // input stream CRef <CMSSpectrum>& MySpectrum // asn.1 container for spectra );private: // Prohibit copy constructor and assignment operator CSpectrumSet(const CSpectrumSet& value); CSpectrumSet& operator=(const CSpectrumSet& value);};/////////////////// CSpectrumSet inline methods// constructorinlineCSpectrumSet::CSpectrumSet(void){}// destructorinlineCSpectrumSet::~CSpectrumSet(void){}/////////////////// end of CSpectrumSet inline methods/* * =========================================================================== * * $Log: SpectrumSet.hpp,v $ * Revision 1000.2 2004/06/01 18:08:55 gouriano * PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.4 * * Revision 1.4 2004/05/27 20:52:15 lewisg * better exception checking, use of AutoPtr, command line parsing * * Revision 1.3 2004/03/16 20:18:54 gorelenk * Changed includes of private headers. * * Revision 1.2 2003/10/24 21:28:41 lewisg * add omssa, xomssa, omssacl to win32 build, including dll * * Revision 1.1 2003/10/20 21:32:13 lewisg * ommsa toolkit version * * * * =========================================================================== */END_objects_SCOPE // namespace ncbi::objects::END_NCBI_SCOPE#endif // SPECTRUMSET_HPP/* Original file checksum: lines: 85, chars: 2278, CRC32: c22a6458 */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -