C4 Engine
C4 Engine API Documentation

Graph::GetGraphElementCount

Defined in:  TSGraph.h
Returns the number of elements in a graph.
Prototype

int32 GetGraphElementCount(voidconst;

Description
The GetGraphElementCount function returns the number of elements in a graph.

If the only information needed is whether a graph contains a nonzero number of elements, then it is more efficient to call the Graph::Empty function.
See Also

Graph::Empty

Graph::PurgeGraph