//printf("vrepdb, desination (%d.%d, %s) does exist\n", doid.vid, doid.oix, m_ohead.name());
//printf(" p (%d.%d), b (%d.%d), a (%d.%d), f (%d.%d), l (%d.%d)\n", m_ohead.poid().vid, m_ohead.poid().oix, m_ohead.boid().vid, m_ohead.boid().oix, m_ohead.aoid().vid, m_ohead.aoid().oix, m_ohead.foid().vid, m_ohead.foid().oix, m_ohead.loid().vid, m_ohead.loid().oix);
//return m_ohead.name();
}
catch(DbException&e){
//*sts = LDH__NOSUCHOBJ;
printf("vrepdb, desination (%d.%d) does not exist: %s\n",doid.vid,doid.oix,e.what());
throwwb_error(LDH__PASTEINCON);
}
}
switch(destcode){
caseldh_eDest_After:
//printf("After\n");
m_destination.poid=m_ohead.poid();
m_destination.foid=m_ohead.oid();
m_destination.loid=m_ohead.aoid();
break;
caseldh_eDest_IntoFirst:
//printf("Into first\n");
m_destination.poid=m_ohead.oid();
m_destination.loid=m_ohead.foid();
break;
default:
printf("Into other\n");
throwwb_error(LDH__NYI);
}
//printf("dest o (%d.%d), p (%d.%d), f (%d.%d), l (%d.%d)\n", m_destination.oid.vid, m_destination.oid.oix, m_destination.poid.vid, m_destination.poid.oix, m_destination.foid.vid, m_destination.foid.oix, m_destination.loid.vid, m_destination.loid.oix);