Counting Objects
- Starting at the Transmittal Root, the following code counts the total number of objects in a transmittal and the number of LSR Transformation objects:
void recurse( const seObject &root )
if ( !(_count % 25000) ) printf("%d objects...\n", _count);
while ( iter.next(&comp, &link) ) {
if ( comp.isA(SE_DRM_CLS_LSR_TRANSFORMATION) )
if ( link.isValid() ) _count++;
Count = 357745 LSR XForm = 41