/*************************************************************************** pdbsourceline.cpp - description ------------------- begin : Sun Mar 24 16:42:16 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 PDBSourceLine::PDBSourceLine(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)); } PDBSourceLine::~PDBSourceLine(){}