/*************************************************************************** pdbseqresline.cpp - description ------------------- begin : Tue Nov 18 01:45:35 2003 copyright : (C) 1999-2006 by Cavalli Andrea author : : cavalli $ date : : 2003/12/09 11:10:33 $ id : : coor.h,v 1.1.2.2 2003/12/09 11:10:33 cavalli Exp $ email : cavalli@bioc.unizh.ch amc82@cam.ac.uk **************************************************************************/ /*************************************************************************** * * * 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 PDBSeqResLine::PDBSeqResLine(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()); chain = line[11]; length = atoi(string(line.begin()+12,line.begin()+20).c_str()); text = simplifyWS(string(line.begin()+19,line.begin()+70)); } PDBSeqResLine::~PDBSeqResLine(){} // Local Variables: // mode:C++ // End: