Beispiel #1
0
wb_adef wb_volume::adef(pwr_tCid cid, const char *bname, const char *aname)
{
  pwr_tStatus sts;

  wb_cdrep *cdrep = m_vrep->merep()->cdrep(&sts, cid);
  if (EVEN(sts)) return wb_adef();

  wb_cdef cdef = wb_cdef(cdrep);
  wb_bdef bdef = cdef.bdef(bname);
  if (!bdef)
    return wb_adef();
  return bdef.adef(aname);
}
Beispiel #2
0
wb_adef wb_bdef::adef(const char* aname)
{
  pwr_tStatus sts;

  wb_adrep* adrep = m_bdrep->adrep(&sts, aname);
  wb_adef a = wb_adef(adrep);
  return a;
}
Beispiel #3
0
wb_adef wb_bdef::adef()
{
  pwr_tStatus sts;

  wb_adrep* adrep = m_bdrep->adrep(&sts);
  wb_adef a = wb_adef(adrep);
  return a;
}