Exemple #1
0
void Chain::Output (ostream& os) const 
{
	os << "\n5'	---- ";

	int numP = listOfParts.size ();
	for (int cnt =0; cnt < numP; cnt++)
	{
		Part* p = listOfParts[cnt];
		os << "\n			" <<  p->getPartRef ();

	    if (p->isBinded) os << "*";

		os << "(" << p->getPartType () 
		   << "," << p->getPartLabel () 
		   << ")  " ;
	}
	os << "\n----	3'";
}