/*************************************************************************** pdbcompndline.cpp - description ------------------- begin : Sun Mar 24 16:35:13 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 PDBCompndLine::PDBCompndLine(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)); } PDBCompndLine::~PDBCompndLine(){}