19 #ifndef INCLUDED_protocols_topology_broker_DofClaim_hh
20 #define INCLUDED_protocols_topology_broker_DofClaim_hh
43 #include <utility/exit.hh>
44 #include <utility/pointer/ReferenceCount.hh>
52 #include <utility/vector1.hh>
59 namespace topology_broker {
111 virtual void show( std::ostream& os )
const;
149 runtime_assert( i <= 2 );
150 if ( i == 1 )
return pos_;
180 virtual void show( std::ostream& os )
const {
181 os <<
" with label: " <<
label();
245 runtime_assert( i <= 2 && i > 0);
246 if ( i==1 )
return pos1_;
247 if ( i==2 )
return pos2_;
259 virtual bool remove()
const {
268 runtime_assert( i <= 2 && i > 0 );
269 if ( i == 1 )
return atom1_;
270 if ( i == 2 )
return atom2_;
275 runtime_assert( i <= 2 && i > 0 );
302 runtime_assert( i <= 1 && i > 0);
303 if ( i==1 )
return pos1_;
311 virtual bool remove()
const {
337 runtime_assert( i <= 1 && i > 0);
338 if ( i==1 )
return pos1_;
346 virtual bool remove()
const {