1 /* $Id: PCRPrimerSeq.hpp 446399 2014-09-15 18:19:05Z asztalos $ 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 PCRPrimerSeq.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 /// 'seqfeat.asn'. 34 /// 35 /// New methods or data members can be added to it if needed. 36 /// See also: PCRPrimerSeq_.hpp 37 38 39 #ifndef OBJECTS_SEQFEAT_PCRPRIMERSEQ_HPP 40 #define OBJECTS_SEQFEAT_PCRPRIMERSEQ_HPP 41 42 43 // generated includes 44 #include <objects/seqfeat/PCRPrimerSeq_.hpp> 45 46 // generated classes 47 48 BEGIN_NCBI_SCOPE 49 50 BEGIN_objects_SCOPE // namespace ncbi::objects:: 51 52 ///////////////////////////////////////////////////////////////////////////// 53 class NCBI_SEQFEAT_EXPORT CPCRPrimerSeq : public CPCRPrimerSeq_Base 54 { 55 typedef CPCRPrimerSeq_Base Tparent; 56 public: CPCRPrimerSeq(void)57 CPCRPrimerSeq(void) {} 58 59 /// Explicit constructor from the primitive type. CPCRPrimerSeq(const std::string & data)60 explicit CPCRPrimerSeq(const std::string& data) 61 : Tparent(data) {} 62 63 static void Clean(string& seq); 64 static bool IsValid(const string& seq, char& bad_ch); 65 static bool TrimJunk(string& seq); 66 static bool Fixi(string& seq); 67 }; 68 69 END_objects_SCOPE // namespace ncbi::objects:: 70 71 END_NCBI_SCOPE 72 73 74 #endif // OBJECTS_SEQFEAT_PCRPRIMERSEQ_HPP 75 /* Original file checksum: lines: 70, chars: 2219, CRC32: f43d016f */ 76