OmniEvents
naming.h File Reference
#include <iostream.h>
Include dependency graph for naming.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

ostream & operator<< (ostream &os, const CosNaming::Name &n)
 
CosNaming::Name str2name (const char *namestr)
 Converts stringified name to naming service name. More...
 
int bindName2Object (CosNaming::NamingContext_ptr namingContext, const CosNaming::Name &name, CORBA::Object_ptr obj)
 Binds CosNaming::Name to object in the naming service. More...
 

Function Documentation

◆ bindName2Object()

int bindName2Object ( CosNaming::NamingContext_ptr  namingContext,
const CosNaming::Name &  name,
CORBA::Object_ptr  obj 
)

Binds CosNaming::Name to object in the naming service.

Definition at line 149 of file naming.cc.

◆ operator<<()

ostream& operator<< ( ostream &  os,
const CosNaming::Name &  n 
)

Definition at line 104 of file naming.cc.

◆ str2name()

CosNaming::Name str2name ( const char *  namestr)

Converts stringified name to naming service name.

Format for name: [<context_id>[.<context_kind>]/]*<object_id>[.<object_kind>]

E.g. foo, foo.bar, foo.bar/baz/qux, foo/bar/baz.qux

Definition at line 117 of file naming.cc.

Referenced by main().