-// 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
#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); }