CMapStringToOb::GetCount

Syntax

int GetCount() const;

Return Value

The number of elements in this map.

Example

CMapStringToOb map;

map.SetAt( "Bart", new CAge( 13 ) );

map.SetAt( "Homer", new CAge( 36 ) );

ASSERT( map.GetCount() == 2 );

See Also

CMapStringToOb::IsEmpty