Parent Topic: PCLCONTA

IsEmpty()

This method function returns TRUE if the PCLContainer contains no PCLObjects, otherwise it returns FALSE.

TBool   IsEmpty() const;
This function is equivelent to testing if GetCount() == 0 on the same object. The following example is used to report an error if no items are passed to a processing function.

    if( poBag->IsEmpty() )
        IMPError( 11, ERRTYP_PFATAL,
                  "No objects passed to function PCLDoIt()\n");

Parent Topic: PCLCONTA
About PCI Help Gateway