dboo::odb::updated_objects
template<class OutputIterator>
void updated_objects(OutputIterator iterator); 1)
void updated_objects(std::set<obj_ref>& refs); 2)
void updated_objects(std::set<obj_id>& ids); 3)
updated_objects() : Array of objects [NYI] 1)
Returns all objects marked as updated.
- 1
Outputs all objects of the output iterator’s value type marked as updated and any new objects referenced in the object graph starting at each found object
- 2
Outputs all objects marked as updated and any new objects referenced in the object graph starting at each marked object. All objects regardless of type will be updated.
- 3
Outputs ids of all objects marked as updated and any new objects referenced in the object graph starting at each marked object. All objects regardless of type will be updated.
Template Parameters
(none)
Parameters
- iterator
An output iterator which will receive pointers to objects
- refs
A set which will receive all obj_ref to objects
- ids
A set which will receive all object ids
Return value
Uses output parameters, see above.
Exceptions
(none)
Example