-// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2019 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
SALOMEDS_Study_i(CORBA::ORB_ptr);
//! standard destructor
+
virtual ~SALOMEDS_Study_i();
-
+
+ virtual PortableServer::POA_ptr _default_POA();
+
virtual void Init();
virtual void Clear();
- //! method to Open a Study
+ //! method to open a Study
/*!
\param char* arguments, the study URL
- \return Study_ptr arguments
+ \return bool arguments
*/
- virtual bool Open(const char* aStudyUrl) throw (SALOME::SALOME_Exception);
+ virtual bool Open(const wchar_t* aStudyUrl) throw (SALOME::SALOME_Exception);
+
+ //! method to check that a Study can be opened
+ /*!
+ \param char* arguments, the study URL
+ \return bool arguments
+ */
+ virtual bool CanOpen(const wchar_t* aStudyUrl);
//! method to save a Study
virtual CORBA::Boolean Save(CORBA::Boolean theMultiFile, CORBA::Boolean theASCII);
/*!
\param char* arguments, the new URL of the study
*/
- virtual CORBA::Boolean SaveAs(const char* aUrl, CORBA::Boolean theMultiFile, CORBA::Boolean theASCII);
+ virtual CORBA::Boolean SaveAs(const wchar_t* aUrl, CORBA::Boolean theMultiFile, CORBA::Boolean theASCII);
//! method to copy the object
/*!
/*!
\return char* arguments, the study name
*/
- virtual char* Name();
+ virtual wchar_t* Name();
+
+ //! method to set study name
+ /*!
+ \param name char* arguments, the study name
+ */
+ virtual void Name(const wchar_t* name);
//! method to get if study has been saved
/*!
/*!
\return char* arguments, the study URL
*/
- virtual char* URL();
+ virtual wchar_t* URL();
//! method to set URL of the study
/*!
\param url char* arguments, the study URL
*/
- virtual void URL(const char* url);
+ virtual void URL(const wchar_t* url);
static void IORUpdated(SALOMEDSImpl_AttributeIOR* theAttribute);
CORBA::Boolean isPublished,
CORBA::Boolean isMultiFile);
+ virtual char* GetDumpPath();
+
virtual SALOMEDSImpl_Study* GetImpl() { return _impl; }
virtual CORBA::LongLong GetLocalImpl(const char* theHostname, CORBA::Long thePID, CORBA::Boolean& isLocal);
+ static void SetThePOA(PortableServer::POA_ptr);
+ static PortableServer::POA_ptr GetThePOA();
+
void ping(){};
CORBA::Long getPID();
void ShutdownWithExit();