![]() |
ENSDF++ 1.1
An easy, fast and simple way to run querys towards the ENSDF database, written in C++.
|
00001 #include "IdentificationRecord.h" 00002 00003 IdentificationRecord::IdentificationRecord(list<string> cardArg) 00004 :Record(cardArg) 00005 { 00006 processCard(); 00007 } 00008 00009 void IdentificationRecord::processCard() 00010 { 00011 string card = getCardStrings().front(); 00012 DSID = card.substr(9, 30); 00013 references = card.substr(39, 26); 00014 publicationInformation = card.substr(65, 9); 00015 date = card.substr(74, 6); 00016 } 00017 00018 string IdentificationRecord::getDate() const 00019 { 00020 return date; 00021 } 00022 00023 string IdentificationRecord::getDSID() const 00024 { 00025 return DSID; 00026 } 00027 00028 string IdentificationRecord::getPublicationInformation() const 00029 { 00030 return publicationInformation; 00031 } 00032 00033 string IdentificationRecord::getReferences() const 00034 { 00035 return references; 00036 }