ORBit Object repository ID



On Fri, 26 Jan 2001, Jason Tackaberry wrote:

> > >    if (glue || !strcmp(tc->repo_id, ""))
> > 
> > What exactly are repo_id and repo_object? Can't seem to follow this bit of
> > the code.
> 
> repo_id is the repository id of the interface (or struct, or union, or
> enum, etc.) of the type.  For example, IDL:Module/Interface:1.0.
> 
> The snippet of code above checks to see if we know about the interface
> described by the repo_id (it looks it up in the hash table), or if the
> repo_id is an empty string, which means that the type is an generic
> object reference.  I'm really not sure why ORBit uses an empty repo id
> and not IDL:CORBA/Object.

Eliott, anyone..? cares to comment as to why we're using "" for repository
id for CORBA/Object types? Or is something getting lost along the way?

Take care,
--
/\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil
~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]