1 /* $Id: Score.hpp 199287 2010-08-02 16:36:25Z vasilche $ 2 * =========================================================================== 3 * 4 * PUBLIC DOMAIN NOTICE 5 * National Center for Biotechnology Information 6 * 7 * This software/database is a "United States Government Work" under the 8 * terms of the United States Copyright Act. It was written as part of 9 * the author's official duties as a United States Government employee and 10 * thus cannot be copyrighted. This software/database is freely available 11 * to the public for use. The National Library of Medicine and the U.S. 12 * Government have not placed any restriction on its use or reproduction. 13 * 14 * Although all reasonable efforts have been taken to ensure the accuracy 15 * and reliability of the software and data, the NLM and the U.S. 16 * Government do not and cannot warrant the performance or results that 17 * may be obtained by using this software or data. The NLM and the U.S. 18 * Government disclaim all warranties, express or implied, including 19 * warranties of performance, merchantability or fitness for any particular 20 * purpose. 21 * 22 * Please cite the author in any work or product based on this material. 23 * 24 * =========================================================================== 25 * 26 */ 27 28 /// @file Score.hpp 29 /// User-defined methods of the data storage class. 30 /// 31 /// This file was originally generated by application DATATOOL 32 /// using the following specifications: 33 /// 'seqalign.asn'. 34 /// 35 /// New methods or data members can be added to it if needed. 36 /// See also: Score_.hpp 37 38 39 #ifndef OBJECTS_SEQALIGN_SCORE_HPP 40 #define OBJECTS_SEQALIGN_SCORE_HPP 41 42 43 // generated includes 44 #include <objects/seqalign/Score_.hpp> 45 46 // generated classes 47 48 49 #include <objects/general/Object_id.hpp> 50 51 BEGIN_NCBI_SCOPE 52 53 BEGIN_objects_SCOPE // namespace ncbi::objects:: 54 55 ///////////////////////////////////////////////////////////////////////////// 56 class NCBI_SEQALIGN_EXPORT CScore : public CScore_Base 57 { 58 typedef CScore_Base Tparent; 59 public: 60 // constructor 61 CScore(void); 62 // destructor 63 ~CScore(void); 64 65 private: 66 // Prohibit copy constructor and assignment operator 67 CScore(const CScore& value); 68 CScore& operator=(const CScore& value); 69 70 }; 71 72 /////////////////// CScore inline methods 73 74 // constructor 75 inline CScore(void)76CScore::CScore(void) 77 { 78 } 79 80 81 /////////////////// end of CScore inline methods 82 83 84 ///////////////////////////////////////////////////////////////////////////// 85 // CReadSharedScoreIdHook 86 // read hooks for shared score.id objects. 87 ///////////////////////////////////////////////////////////////////////////// 88 89 90 class NCBI_SEQALIGN_EXPORT CReadSharedScoreIdHook : 91 public CReadSharedObjectIdHookBase 92 { 93 public: 94 void ReadClassMember(CObjectIStream& in, const CObjectInfoMI& member); 95 96 static void SetHook(CObjectIStream& in); 97 static void SetGlobalHook(void); 98 99 private: 100 static CObjectTypeInfoMI x_GetMember(void); 101 }; 102 103 104 ///////////////////////////////////////////////////////////////////////////// 105 106 107 END_objects_SCOPE // namespace ncbi::objects:: 108 109 END_NCBI_SCOPE 110 111 112 #endif // OBJECTS_SEQALIGN_SCORE_HPP 113 /* Original file checksum: lines: 86, chars: 2346, CRC32: adbeb09a */ 114