ObjectStore C++ API Reference

::os_fetch_address()

Retrieves the address of a specified data member for a given object, or the address of the subobject corresponding to a specified base class for a given object.

void *os_fetch_address
void *os_fetch_address (
      void *obj, 
      const os_member_variable& mem
);
Retrieves the address of the data member mem for the object pointed to by obj. err_mop is signaled if mem is an os_field_member_variable.

void *os_fetch_address
void *os_fetch_address (
      void *obj, 
      const os_base_class &b
);
Retrieves the address of the subobject corresponding to base class b for the object pointed to by obj.



[previous] [next]

Copyright © 1997 Object Design, Inc. All rights reserved.

Updated: 03/31/98 17:30:04