-// Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2010 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
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
+
// File : SALOMEDS_Study.hxx
// Author : Sergey RUIN
// Module : SALOME
virtual bool DumpStudy(const std::string& thePath,const std::string& theBaseName,bool isPublished);
virtual _PTR(AttributeParameter) GetCommonParameters(const std::string& theID, int theSavePoint);
virtual _PTR(AttributeParameter) GetModuleParameters(const std::string& theID,
- const std::string& theModuleName, int theSavePoint);
+ const std::string& theModuleName, int theSavePoint);
virtual void SetStudyLock(const std::string& theLockerID);
virtual bool IsStudyLocked();
virtual void UnLockStudy(const std::string& theLockerID);
virtual void SetReal(const std::string& theVarName, const double theValue);
virtual void SetInteger(const std::string& theVarName, const int theValue);
virtual void SetBoolean(const std::string& theVarName, const bool theValue);
+ virtual void SetString(const std::string& theVarName, const std::string& theValue);
+ virtual void SetStringAsDouble(const std::string& theVarName, const double theValue);
virtual double GetReal(const std::string& theVarName);
virtual int GetInteger(const std::string& theVarName);
virtual bool GetBoolean(const std::string& theVarName);
+ virtual std::string GetString(const std::string& theVarName);
virtual bool IsReal(const std::string& theVarName);
virtual bool IsInteger(const std::string& theVarName);
virtual bool IsBoolean(const std::string& theVarName);
+ virtual bool IsString(const std::string& theVarName);
virtual bool IsVariable(const std::string& theVarName);
virtual std::vector<std::string> GetVariableNames();
virtual bool RenameVariable(const std::string& theVarName, const std::string& theNewVarName);
virtual bool IsVariableUsed(const std::string& theVarName);
virtual std::vector< std::vector<std::string> > ParseVariables(const std::string& theVars);
+ virtual void attach(SALOMEDS::Observer_ptr theObserver,bool modify);
std::string ConvertObjectToIOR(CORBA::Object_ptr theObject);
CORBA::Object_ptr ConvertIORToObject(const std::string& theIOR);