19 #include <ObjexxFCL/format.hh>
21 #include <utility/vector1.hh>
29 using namespace ObjexxFCL::fmt;
37 : utility::pointer::ReferenceCount()
51 runtime_assert( (*
this)[ index ].top() == index );
55 for ( DnaPositions::const_iterator pos(
positions_.begin() );
57 if ( index == pos->second.bottom() )
return true;
68 os <<
"There are " <<
positions_.size() <<
" dna positions:" <<
'\n';
69 for ( DnaPositions::const_iterator iter(
positions_.begin() );
72 Size const top_i( iter->first );
74 runtime_assert( top_i == pos.
top() );
77 os <<
" (pdb " << pose.
pdb_info()->chain( top_i ) <<
" "
78 << I( 4, pose.
pdb_info()->number( top_i ) ) <<
")";
85 os <<
" (pdb " << pose.
pdb_info()->chain( bot_i ) <<
" "
86 << I( 4, pose.
pdb_info()->number( bot_i ) ) <<
")";
89 else os <<
" (unpaired)";