高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】decompose oddbblockreference
decompose oddbblockreference?
decompose oddbblockreference?
hello!
is there any way to decompose a oddbblockreference to get all the entities in it as single?
i use dd 1.13.02
thanks!
jörg
oddbblockreference::explode()
sincerely yours,
george udov
thanks, now it works!
here is my code:
code:
voidfff"> dump(oddbentity* pent, std(ostream) & os) const
{
oddbblockreferenceptr pblkref = pent;
odrxobjectptrarray entityset;
pblkref->explode(entityset);
oddbentityptr psubent;
forfff">(intfff"> i = 0; i < entityset.length(); i++)
{
psubent = entityset.at(i);
// retrieve the registered protocol extension object
// registered for this object type
odsmartptr<oddbentity_dumper> pentdumper = psubent;
pentdumper->dump(psubent, os);
}
}
|