Salome HOME
[bos #37406][CEA] Fixed segfault in YACS_YacsRuntimeTest on UB22,FD36 and FD37 by...
[modules/yacs.git] / src / runtime / SALOME_NamingService_Wrapper.hxx
index af613d5cc08fc9a673eb190d085927e85a10d7c7..896e270f1dd8688d96cc75cca5bf655f84cd134f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2021  CEA/DEN, EDF R&D
+// Copyright (C) 2021-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -20,6 +20,7 @@
 #pragma once
 
 #include "SALOME_NamingService_Abstract.hxx"
+#include "YACSRuntimeSALOMEExport.hxx"
 
 #include <memory>
 
  * - NamingService CORBA server (SALOME_NamingService)
  * - NamingService embedded (SALOME_Fake_NamingService)
  */
-class SALOME_NamingService_Wrapper : public SALOME_NamingService_Abstract
+class YACSRUNTIMESALOME_EXPORT SALOME_NamingService_Wrapper : public SALOME_NamingService_Abstract
 {
 public:
   SALOME_NamingService_Wrapper();
   SALOME_NamingService_Wrapper(CORBA::ORB_ptr orb);
-  std::string repr() override { return _effective_ns->repr(); }
+  std::vector< std::string > repr() override { return _effective_ns->repr(); }
   void init_orb(CORBA::ORB_ptr orb=0) override { _effective_ns->init_orb(orb); }
+  bool IsTrueNS() const override { return _effective_ns->IsTrueNS(); }
   void Register(CORBA::Object_ptr ObjRef, const char* Path) override { _effective_ns->Register(ObjRef,Path); }
   CORBA::Object_ptr Resolve(const char* Path) override { return _effective_ns->Resolve(Path); }
   CORBA::Object_ptr ResolveFirst(const char* Path) override { return _effective_ns->ResolveFirst(Path); }