#include <ShoreApp.h> shrc REF(T)::get_type(rType *&type) const; shrc REF(T)::get_type(LOID &type_loid) const;
The first form of get_type returns a pointer to the given object's C++ type object. The second form returns the logical oid of the object's type object. If the ref is nil, then the first form will return 0, and the second will return the nil LOID (LOID::null). If the ref is invalid, then an error will result.
Get_type obtains a SH-mode (share-mode) lock on the object.
In the current Shore release, objects whose type is not compiled into the application by the language binding (see sdlcxx(sdl) ) have no C++ type object. If the first form of this method is invoked on a ref pointing to such an object, then an error will result.