|
CppGraph Application Framework©
Copyright © 2004-202x Geoff Goldberg
|
CppGraph© provides powerful mechanisms to locate objects in a node graph based on arbitrarily complex criteria.
A significant portion of conventional development time is dedicated to providing ways for objects to access other objects. The conventional approach is to hardwire access. A class has a data member pointer that the instantiator is required to pass to its constructor. This approach is limited, inflexible, disruptive, and time consuming.
By contrast, the graph selection approach provides access, at runtime, to any objects in the system. Furthermore, no classes, interfaces, function signatures, or function calls require modification. A single function call dynamically to locate items is all that needs to be added.
A selection operation provides either a collection of handles, or a single handle, to one of the following types of objects:
A select operation is a query provided by:
The types of select operation are:
nullptr is returned.nullptr is returned if there are no matching items.The following sets of member functions include functions that perform select operations:
1.8.14