dboo::odb::object_id
template<class T>
obj_id object_id (T* object);
obj_id object_id (const obj_ref& object);
object( object ) : String;
Returns the object id for the specified object, or empty value if not found.
Parameters
- object
The object which id is requested.
Return value
The object id of the object, or a null object id if the object is not known to the dboo API.
Exceptions
Example