2-48
SOMobjects Base Toolkit: Programmer’s Reference Manual
remove_class_from_impldef Method
Purpose
Removes the association of a particular class with a server.
IDL Syntax
void remove_class_from_impldef (
in ImplId implid,
in string classname );
Description
Removes the specified class name from the set of class names associated with the server
implementation identified by implid.
Parameters
receiver A pointer to the ImplRepository object.
env A pointer to the Environment structure for the method caller.
implid A pointer to an ImplRepository object.
classname A string whose value is the class name of interest.
Return Value
An exception is returned if there was an error updating the Implementation Repository.
Example
#include <somd.h>
Environment ev;
SOMDServer server;
ImplementationDef impldef;
ImplId implid;
...
server = _find_server_by_name(SOMD_ObjectMgr,&ev,”stackServer”);
impldef = _get_implementation(server,&ev);
implid = __get_impl_id(impldef,&ev);
_remove_class_from_impldef(SOMD_ImplRepObject,
&ev,implid,”Queue”);
Original Class
ImplRepository
Comentários a estes Manuais