29 #ifndef SALOME_NAMINGSERVICE_H 
   30 #define SALOME_NAMINGSERVICE_H 
   32 #include <SALOMEconfig.h> 
   33 #include CORBA_CLIENT_HEADER(SALOME_ContainerManager) 
   34 #include CORBA_CLIENT_HEADER(SALOME_Component) 
   38 #include "Utils_Mutex.hxx" 
   39 #include "ServiceUnreachable.hxx" 
   41 #include "SALOME_NamingService_defs.hxx" 
   44 #pragma warning(disable:4290) // Warning Exception ... 
   55   void init_orb(CORBA::ORB_ptr orb=0);
 
   59   CORBA::Object_ptr ResolveComponent(
const char* hostname,
 
   60                                      const char* containerName,
 
   61                                      const char* componentName,
 
   63   std::string ContainerName(
const char *ContainerName);
 
   65   std::string BuildContainerNameForNS(
const char *ContainerName, 
const char *hostname);
 
   85   CosNaming::NamingContext_var _root_context, _current_context;
 
   87   void _initialize_root_context();
 
   88   int _createContextNameDir(std::string path,
 
   89                             CosNaming::Name& context_name,
 
   90                             std::vector<std::string>& splitPath,
 
   92   void _Find(
const char* name, CORBA::Long& occurence_number);
 
   93   void _current_directory(std::vector<std::string>& splitPath,
 
   95                           CosNaming::NamingContext_var contextToFind,
 
   97   void _list_directory_recurs(std::vector<std::string>& myList,
 
   98                               std::string relativeSubDir,
 
   99                               std::string absCurDirectory);
 
  103 #endif // SALOME_NAMINGSERVICE_H