File indexing completed on 2026-04-09 07:49:21
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include "sseq_record.h"
0012 #include "ssys.h"
0013
0014 struct sseq_record_test
0015 {
0016 static int LoadRecordSeqSelection();
0017 static int Main();
0018 };
0019
0020
0021 int sseq_record_test::LoadRecordSeqSelection()
0022 {
0023 std::cout << "[LoadRecordSeqSelection\n";
0024 const char* _fold = "$AFOLD" ;
0025 const char* _seqhis = "${AFOLD_RECORD_SLICE:-TO BT BT BT BT BR BT BT BT BT BT BT SC BT BT BT BT SD}" ;
0026
0027 NP* a = sseq_record::LoadRecordSeqSelection(_fold, _seqhis);
0028
0029 std::cout << " a " << ( a ? a->sstr() : "-" ) << "\n" ;
0030 std::cout << "]LoadRecordSeqSelection\n";
0031 return 0;
0032 }
0033
0034 int sseq_record_test::Main()
0035 {
0036 const char* TEST = ssys::getenvvar("TEST", "LoadRecordSeqSelection" );
0037 bool ALL = strcmp(TEST, "ALL") == 0 ;
0038
0039 int rc = 0 ;
0040 if(ALL||0==strcmp(TEST,"LoadRecordSeqSelection")) rc += LoadRecordSeqSelection();
0041
0042 return rc ;
0043 }
0044
0045
0046 int main()
0047 {
0048 return sseq_record_test::Main() ;
0049 }
0050
0051