3-34
SOMobjects Base Toolkit Programmer’s Reference Manual
Example
Here is a code fragment written in C that uses the lookup_modifier method:
#include <repostry.h>
...
Repository repo;
Environment *ev;
RepositoryId objectId;
string filestem;i
...
repo = RepositoryNew ();
filestem = Repository_lookup_modifier (repo, ev, objectId,
”filestem”);
if (filestem) {
printf
(”The %s object’s filestem modifier has the value
\”%s\”\n”,
objectId, filestem);
SOMFree (filestem);
} else
printf (”No filestem modifier could be found for %s\n”,
objectId);
Original Class
Repository
Related Information
Methods: lookup_id, lookup_name
Kommentare zu diesen Handbüchern