CObList::GetCount
intGetCount()const;
Return Value
An integer value containing the element count.
Remarks
Gets the number of elements in this list.
Example
See CObList::CObList for a listing of the CAge
class.
CObList list;
list.AddHead( new CAge( 21 ) );
list.AddHead( new CAge( 40 ) ); // List now contains (40, 21).
ASSERT( list.GetCount() == 2 );
CObList Overview | Class Members | Hierarchy Chart
See Also CObList::IsEmpty