ObjectStore C++ API Reference

::os_fetch()

Retrieves the value of a specified data member for a specified object.

void *os_fetch
void *os_fetch (
      const void* obj, 
      const os_member_variable& mem, 
      void *&val
);
Retrieves the value of the member represented by mem for the object obj by setting val to a reference to the value. err_mop is signaled if the value type of the specified member is not compatible with val.

unsigned long os_fetch
unsigned long os_fetch (
      const void* obj, 
      const os_member_variable& mem, 
      unsigned long &val
);
Retrieves the value of the member represented by mem for the object obj by setting val to a reference to the value. err_mop is signaled if the value type of the specified member is not compatible with val.

long os_fetch
long os_fetch (
      const void* obj, 
      const os_member_variable& mem, 
      long &val
);
Retrieves the value of the member represented by mem for the object obj by setting val to a reference to the value. err_mop is signaled if the value type of the specified member is not compatible with val.

unsigned int os_fetch
unsigned int os_fetch (
      const void* obj, 
      const os_member_variable& mem, 
      unsigned int &val
);
Retrieves the value of the member represented by mem for the object obj by setting val to a reference to the value. err_mop is signaled if the value type of the specified member is not compatible with val.

int os_fetch
int os_fetch (
      const void* obj, 
      const os_member_variable& mem, 
      int &val
);
Retrieves the value of the member represented by mem for the object obj by setting val to a reference to the value. err_mop is signaled if the value type of the specified member is not compatible with val.

unsigned short os_fetch
unsigned short os_fetch (
      const void* obj, 
      const os_member_variable& mem, 
      unsigned short &val
);
Retrieves the value of the member represented by mem for the object obj by setting val to a reference to the value. err_mop is signaled if the value type of the specified member is not compatible with val.

short os_fetch
short os_fetch (
      const void* obj, 
      const os_member_variable& mem, 
      short &val
);
Retrieves the value of the member represented by mem for the object obj by setting val to a reference to the value. err_mop is signaled if the value type of the specified member is not compatible with val.

unsigned char os_fetch
unsigned char os_fetch (
      const void* obj, 
      const os_member_variable& mem, 
      unsigned char &val
);
Retrieves the value of the member represented by mem for the object obj by setting val to a reference to the value. err_mop is signaled if the value type of the specified member is not compatible with val.

char os_fetch
char os_fetch (
      const void* obj, 
      const os_member_variable& mem, 
      char &val
);
Retrieves the value of the member represented by mem for the object obj by setting val to a reference to the value. err_mop is signaled if the value type of the specified member is not compatible with val.

float os_fetch
float os_fetch (
      const void* obj, 
      const os_member_variable& mem, 
      float &val
);
Retrieves the value of the member represented by mem for the object obj by setting val to a reference to the value. err_mop is signaled if the value type of the specified member is not compatible with val.

double os_fetch
double os_fetch (
      const void* obj, 
      const os_member_variable& mem, 
      double &val
);
Retrieves the value of the member represented by mem for the object obj by setting val to a reference to the value. err_mop is signaled if the value type of the specified member is not compatible with val.

long double os_fetch
long double os_fetch (
      const void* obj, 
      const os_member_variable& mem, 
      long double &val
);
Retrieves the value of the member represented by mem for the object obj by setting val to a reference to the value. err_mop is signaled if the value type of the specified member is not compatible with val.



[previous] [next]

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

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