/*************************************************************************** pdbkeywordsline.cpp - description ------------------- begin : Tue Apr 16 11:44:55 2002 copyright : (C) 2002 by Cavalli Andrea email : cavalli@bioc.unizh.ch **************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #include PDBKeywordsLine::PDBKeywordsLine(string line){ //lNumber string tmp = simplify(string(line.begin()+8,line.begin()+10)); if(tmp.size()==0) lNumber =1; else lNumber = atoi(tmp.c_str()); text = simplifyWS(string(line.begin()+10,line.begin()+70)); } PDBKeywordsLine::~PDBKeywordsLine(){}