// $Header$
+#ifndef WNT
#include <SALOMEDS.hxx>
+#else
+#include "SALOMEDS.hxx"
+#endif
using namespace SALOMEDS;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeComment_i.hxx"
#include <TCollection_ExtendedString.hxx>
#include "SALOMEDS_SObject_i.hxx"
#include "SALOMEDS.hxx"
+using namespace std;
+
char* SALOMEDS_AttributeComment_i::Value()
{
SALOMEDS::Locker lock;
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeDrawable_i.hxx"
#include "SALOMEDS.hxx"
+using namespace std;
+
CORBA::Boolean SALOMEDS_AttributeDrawable_i::IsDrawable()
{
SALOMEDS::Locker lock;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeExpandable_i.hxx"
#include "SALOMEDS.hxx"
+using namespace std;
+
CORBA::Boolean SALOMEDS_AttributeExpandable_i::IsExpandable()
{
SALOMEDS::Locker lock;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeExternalFileDef_i.hxx"
#include "SALOMEDS.hxx"
#include <TCollection_ExtendedString.hxx>
+using namespace std;
+
char* SALOMEDS_AttributeExternalFileDef_i::Value()
{
SALOMEDS::Locker lock;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeFileType_i.hxx"
#include "SALOMEDS.hxx"
#include <TCollection_ExtendedString.hxx>
+using namespace std;
+
char* SALOMEDS_AttributeFileType_i::Value()
{
SALOMEDS::Locker lock;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeFlags_i.hxx"
#include "SALOMEDS.hxx"
+using namespace std;
+
/*
Class : SALOMEDS_AttributeFlags_i
Description : This class is intended for storing different object attributes that
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeGraphic_i.hxx"
#include "SALOMEDS.hxx"
+using namespace std;
+
/*
Class : SALOMEDS_AttributeGraphic_i
Description : This class is intended for storing information about
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeIOR_i.hxx"
#include "SALOMEDS.hxx"
#include <TCollection_ExtendedString.hxx>
+using namespace std;
+
char* SALOMEDS_AttributeIOR_i::Value()
{
SALOMEDS::Locker lock;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeInteger_i.hxx"
#include "SALOMEDS.hxx"
+using namespace std;
+
CORBA::Long SALOMEDS_AttributeInteger_i::Value()
{
SALOMEDS::Locker lock;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeLocalID_i.hxx"
#include "SALOMEDS.hxx"
+using namespace std;
+
CORBA::Long SALOMEDS_AttributeLocalID_i::Value()
{
SALOMEDS::Locker lock;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeName_i.hxx"
#include "SALOMEDS.hxx"
#include <TCollection_ExtendedString.hxx>
+using namespace std;
+
char* SALOMEDS_AttributeName_i::Value()
{
SALOMEDS::Locker lock;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeOpened_i.hxx"
#include "SALOMEDS.hxx"
+using namespace std;
+
CORBA::Boolean SALOMEDS_AttributeOpened_i::IsOpened()
{
SALOMEDS::Locker lock;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributePersistentRef_i.hxx"
#include "SALOMEDS.hxx"
#include <TCollection_ExtendedString.hxx>
+using namespace std;
+
char* SALOMEDS_AttributePersistentRef_i::Value()
{
SALOMEDS::Locker lock;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributePixMap_i.hxx"
#include "SALOMEDS.hxx"
#include <TCollection_AsciiString.hxx>
+using namespace std;
+
CORBA::Boolean SALOMEDS_AttributePixMap_i::HasPixMap()
{
return Handle(SALOMEDSImpl_AttributePixMap)::DownCast(_impl)->HasPixMap();
#include CORBA_SERVER_HEADER(SALOMEDS)
#include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
+
+#ifdef GetObject
+#undef GetObject
+#endif
+
class SALOMEDS_AttributePythonObject: public SALOMEDS_GenericAttribute, public SALOMEDSClient_AttributePythonObject
{
public:
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributePythonObject_i.hxx"
#include "SALOMEDS.hxx"
#include <TCollection_ExtendedString.hxx>
#include <TColStd_HArray1OfCharacter.hxx>
+using namespace std;
+
void SALOMEDS_AttributePythonObject_i::SetObject(const char* theSequence, CORBA::Boolean IsScript)
{
SALOMEDS::Locker lock;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeSelectable_i.hxx"
#include "SALOMEDS.hxx"
+using namespace std;
+
CORBA::Boolean SALOMEDS_AttributeSelectable_i::IsSelectable()
{
SALOMEDS::Locker lock;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeSequenceOfInteger_i.hxx"
#include "SALOMEDS.hxx"
#include <TColStd_HSequenceOfInteger.hxx>
+using namespace std;
+
void SALOMEDS_AttributeSequenceOfInteger_i::Assign(const SALOMEDS::LongSeq& other)
{
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeSequenceOfReal_i.hxx"
#include "SALOMEDS.hxx"
#include <TColStd_HSequenceOfReal.hxx>
+using namespace std;
+
void SALOMEDS_AttributeSequenceOfReal_i::Assign(const SALOMEDS::DoubleSeq& other)
{
SALOMEDS::Locker lock;
TCollection_AsciiString N = Handle(SALOMEDSImpl_AttributeStudyProperties)::DownCast(_local_impl)->GetCreatorName();
aName = N.ToCString();
}
+#ifndef WNT
else aName = SALOMEDS::AttributeStudyProperties::_narrow(_corba_impl)->GetUserName();
+#else
+ else aName = SALOMEDS::AttributeStudyProperties::_narrow(_corba_impl)->GetUserNameA();
+#endif
return aName;
}
#include CORBA_SERVER_HEADER(SALOMEDS)
#include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
+#ifdef GetUserName
+#undef GetUserName
+#endif
+
class SALOMEDS_AttributeStudyProperties: public SALOMEDS_GenericAttribute, public SALOMEDSClient_AttributeStudyProperties
{
public:
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeStudyProperties_i.hxx"
#include "SALOMEDS.hxx"
#include <TColStd_HSequenceOfExtendedString.hxx>
#include <TColStd_HSequenceOfInteger.hxx>
#include <TCollection_ExtendedString.hxx>
+using namespace std;
+
#define CREATION_MODE_NOTDEFINED 0
#define CREATION_MODE_SCRATCH 1
#define CREATION_MODE_COPY 2
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeTableOfInteger_i.hxx"
#include "SALOMEDS.hxx"
#include <strstream>
#include <string>
+using namespace std;
+
UNEXPECT_CATCH(ATI_IncorrectIndex, SALOMEDS::AttributeTableOfInteger::IncorrectIndex);
UNEXPECT_CATCH(ATI_IncorrectArgumentLength, SALOMEDS::AttributeTableOfInteger::IncorrectArgumentLength);
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeTableOfReal_i.hxx"
#include "SALOMEDS.hxx"
#include <strstream>
#include <string>
+using namespace std;
+
#include "Utils_ExceptHandlers.hxx"
UNEXPECT_CATCH(ATR_IncorrectIndex, SALOMEDS::AttributeTableOfReal::IncorrectIndex);
UNEXPECT_CATCH(ATR_IncorrectArgumentLength, SALOMEDS::AttributeTableOfReal::IncorrectArgumentLength);
SALOMEDS::StringSeq_var aUnits = new SALOMEDS::StringSeq;
aUnits->length(aTable->GetNbRows());
for(int i = 0; i < aUnits->length(); i++)
- aUnits[i] = CORBA::string_dup(TCollection_AsciiString(aTable->GetRowUnit(i + 1)).ToCString());
+ aUnits[i] = CORBA::string_dup(TCollection_AsciiString(aTable->GetRowTitle(i + 1)).ToCString());
return aUnits._retn();
}
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include <TCollection_ExtendedString.hxx>
#include <TCollection_AsciiString.hxx>
#include <string>
#include "Utils_ExceptHandlers.hxx"
+
+using namespace std;
+
UNEXPECT_CATCH(ATS_IncorrectIndex, SALOMEDS::AttributeTableOfString::IncorrectIndex);
UNEXPECT_CATCH(ATS_IncorrectArgumentLength, SALOMEDS::AttributeTableOfString::IncorrectArgumentLength);
SALOMEDS::StringSeq_var aUnits = new SALOMEDS::StringSeq;
aUnits->length(aTable->GetNbRows());
for(int i = 0; i < aUnits->length(); i++)
- aUnits[i] = CORBA::string_dup(TCollection_AsciiString(aTable->GetRowUnit(i + 1)).ToCString());
+ aUnits[i] = CORBA::string_dup(TCollection_AsciiString(aTable->GetRowTitle(i + 1)).ToCString());
return aUnits._retn();
}
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeTarget_i.hxx"
#include "SALOMEDSImpl_SObject.hxx"
#include "SALOMEDSImpl_Study.hxx"
#include <TColStd_HSequenceOfTransient.hxx>
+using namespace std;
+
void SALOMEDS_AttributeTarget_i::Add(SALOMEDS::SObject_ptr anObject)
{
SALOMEDS::Locker lock;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeTextColor_i.hxx"
#include "SALOMEDS.hxx"
#include <TColStd_HArray1OfReal.hxx>
+using namespace std;
+
SALOMEDS::Color SALOMEDS_AttributeTextColor_i::TextColor()
{
SALOMEDS::Locker lock;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeTextHighlightColor_i.hxx"
#include "SALOMEDS.hxx"
#include <TColStd_HArray1OfReal.hxx>
+using namespace std;
+
SALOMEDS::Color SALOMEDS_AttributeTextHighlightColor_i::TextHighlightColor()
{
SALOMEDS::Locker lock;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeTreeNode_i.hxx"
#include "utilities.h"
#include "SALOMEDS.hxx"
#include <TDF_Tool.hxx>
#include <TDF_Data.hxx>
+using namespace std;
+
static Handle(SALOMEDSImpl_AttributeTreeNode) GetNode(SALOMEDS::AttributeTreeNode_ptr value,
const Handle(SALOMEDSImpl_AttributeTreeNode)& aNode)
{
SALOMEDS::Locker lock;
SALOMEDS_AttributeTreeNode_i* aFather;
aFather = new SALOMEDS_AttributeTreeNode_i(Handle(SALOMEDSImpl_AttributeTreeNode)::DownCast(_impl)->GetFather(), _orb);
+#ifndef WNT
return aFather->POA_SALOMEDS::AttributeTreeNode::_this();
+#else
+ return aFather->AttributeTreeNode::_this();
+#endif
}
void SALOMEDS_AttributeTreeNode_i::SetPrevious(SALOMEDS::AttributeTreeNode_ptr value)
SALOMEDS::Locker lock;
SALOMEDS_AttributeTreeNode_i* aPrevious;
aPrevious=new SALOMEDS_AttributeTreeNode_i(Handle(SALOMEDSImpl_AttributeTreeNode)::DownCast(_impl)->GetPrevious(), _orb);
+#ifndef WNT
return aPrevious->POA_SALOMEDS::AttributeTreeNode::_this();
+#else
+ return aPrevious->AttributeTreeNode::_this();
+#endif
}
void SALOMEDS_AttributeTreeNode_i::SetNext(SALOMEDS::AttributeTreeNode_ptr value)
SALOMEDS::Locker lock;
SALOMEDS_AttributeTreeNode_i* aNext;
aNext = new SALOMEDS_AttributeTreeNode_i(Handle(SALOMEDSImpl_AttributeTreeNode)::DownCast(_impl)->GetNext(), _orb);
+#ifndef WNT
return aNext->POA_SALOMEDS::AttributeTreeNode::_this();
+#else
+ return aNext->AttributeTreeNode::_this();
+#endif
}
void SALOMEDS_AttributeTreeNode_i::SetFirst(SALOMEDS::AttributeTreeNode_ptr value)
SALOMEDS::Locker lock;
SALOMEDS_AttributeTreeNode_i* aFirst;
aFirst = new SALOMEDS_AttributeTreeNode_i(Handle(SALOMEDSImpl_AttributeTreeNode)::DownCast(_impl)->GetFirst(), _orb);
+#ifndef WNT
return aFirst->POA_SALOMEDS::AttributeTreeNode::_this();
+#else
+ return aFirst->AttributeTreeNode::_this();
+#endif
}
void SALOMEDS_AttributeTreeNode_i::SetTreeID(const char* value)
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_AttributeUserID_i.hxx"
#include "SALOMEDS.hxx"
#include <TCollection_ExtendedString.hxx>
+using namespace std;
+
char* SALOMEDS_AttributeUserID_i::Value()
{
SALOMEDS::Locker lock;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_ChildIterator.hxx"
#include "SALOMEDS_SObject.hxx"
+using namespace std;
+
SALOMEDS_ChildIterator::SALOMEDS_ChildIterator(const Handle(SALOMEDSImpl_ChildIterator)& theIterator)
{
_isLocal = true;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_ChildIterator_i.hxx"
#include "SALOMEDS_SObject_i.hxx"
#include "SALOMEDS.hxx"
#include "SALOMEDSImpl_Study.hxx"
#include "utilities.h"
+using namespace std;
+
//============================================================================
/*! Function : constructor
* Purpose :
#define __SALOMEDS_CHILDITERATOR_I_H__
// std C++ headers
-#include <iostream.h>
+#include <iostream>
// IDL headers
#include <SALOMEconfig.h>
-using namespace std;
+
#include "SALOMEDS_Driver_i.hxx"
#include "utilities.h"
#include "SALOMEDS.hxx"
#include <stdlib.h>
+using namespace std;
+
SALOMEDS_Driver_i::~SALOMEDS_Driver_i()
{
}
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include <string>
#include <TCollection_AsciiString.hxx>
#include "OpUtil.hxx"
+using namespace std;
+
SALOMEDS_GenericAttribute::SALOMEDS_GenericAttribute(const Handle(SALOMEDSImpl_GenericAttribute)& theGA)
{
_isLocal = true;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "utilities.h"
#include "SALOMEDS_GenericAttribute_i.hxx"
#include "SALOMEDS_Attributes.hxx"
#include "OpUtil.hxx"
+using namespace std;
+
UNEXPECT_CATCH(GALockProtection, SALOMEDS::GenericAttribute::LockProtection);
SALOMEDS_GenericAttribute_i::SALOMEDS_GenericAttribute_i(const Handle(TDF_Attribute)& theImpl, CORBA::ORB_ptr theOrb)
#define __SALOMEDS_SATTRIBUTE_I_H__
// std C++ headers
-#include <iostream.h>
+#include <iostream>
// IDL headers
#include <SALOMEconfig.h>
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_SComponent.hxx"
#include "SALOMEDS_SComponent_i.hxx"
#include <string>
#include <TCollection_AsciiString.hxx>
+using namespace std;
+
SALOMEDS_SComponent::SALOMEDS_SComponent(SALOMEDS::SComponent_ptr theSComponent)
:SALOMEDS_SObject(theSComponent)
{}
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_SComponentIterator_i.hxx"
#include "SALOMEDS.hxx"
#include "SALOMEDSImpl_SComponent.hxx"
+using namespace std;
+
//============================================================================
/*! Function : constructor
*
#define __SALOMEDS_SCOMPONENTITERATOR_I_H__
// std C++ headers
-#include <iostream.h>
+#include <iostream>
// IDL headers
#include <SALOMEconfig.h>
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_SComponent_i.hxx"
#include "SALOMEDS.hxx"
#include "utilities.h"
#include <map>
+using namespace std;
+
SALOMEDS::SComponent_ptr SALOMEDS_SComponent_i::New(const Handle(SALOMEDSImpl_SComponent)& theImpl, CORBA::ORB_ptr theORB)
{
/*
#define __SALOMEDS_SCOMPONENT_I_H__
// std C++ headers
-#include <iostream.h>
+#include <iostream>
// IDL headers
#include <SALOMEconfig.h>
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include <string>
#include <TCollection_AsciiString.hxx>
#include "OpUtil.hxx"
+using namespace std;
+
SALOMEDS_SObject::SALOMEDS_SObject(SALOMEDS::SObject_ptr theSObject)
{
#ifdef WIN32
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "utilities.h"
#include "SALOMEDS_SObject_i.hxx"
#include "OpUtil.hxx"
+using namespace std;
+
SALOMEDS::SObject_ptr SALOMEDS_SObject_i::New(const Handle(SALOMEDSImpl_SObject)& theImpl, CORBA::ORB_ptr theORB)
{
SALOMEDS_SObject_i* so_servant = new SALOMEDS_SObject_i(theImpl, theORB);
#define __SALOMEDS_SOBJECT_I_H__
// std C++ headers
-#include <iostream.h>
+#include <iostream>
// IDL headers
#include <SALOMEconfig.h>
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "utilities.h"
#include "OpUtil.hxx"
+using namespace std;
+
SALOMEDS_Study::SALOMEDS_Study(const Handle(SALOMEDSImpl_Study)& theStudy)
{
_isLocal = true;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "utilities.h"
#include "Utils_ORB_INIT.hxx"
#include "Utils_SINGLETON.hxx"
+using namespace std;
+
SALOMEDS_StudyBuilder::SALOMEDS_StudyBuilder(const Handle(SALOMEDSImpl_StudyBuilder)& theBuilder)
{
_isLocal = true;
// Author : Seregy RUIN
// Module : SALOME
-using namespace std;
+
#include "utilities.h"
#include "SALOMEDS_StudyBuilder_i.hxx"
#include "SALOMEDS_Study_i.hxx"
#include <TDF_Attribute.hxx>
#include <stdlib.h>
+using namespace std;
+
UNEXPECT_CATCH(SBSalomeException, SALOME::SALOME_Exception);
UNEXPECT_CATCH(SBLockProtection, SALOMEDS::StudyBuilder::LockProtection);
#define __SALOMEDS_STUDYBUILDER_I_H__
// std C++ headers
-#include <iostream.h>
+#include <iostream>
// IDL headers
#include <SALOMEconfig.h>
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_StudyManager.hxx"
#include "SALOMEDSImpl_Study.hxx"
#include "OpUtil.hxx"
+using namespace std;
+
SALOMEDS_Driver_i* GetDriver(const Handle(SALOMEDSImpl_SObject)& theObject, CORBA::ORB_ptr orb);
SALOMEDS_StudyManager::SALOMEDS_StudyManager(SALOMEDS::StudyManager_ptr theManager)
#define __SALOMEDS_STUDYMANAGER_I_H__
// std C++ headers
-#include <iostream.h>
+#include <iostream>
// IDL headers
#include <SALOMEconfig.h>
// Naming Service header
#include "SALOME_NamingService.hxx"
-#include <iostream.h>
#include <stdlib.h>
//Standard not implemented
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "utilities.h"
#include "SALOMEDS_Study_i.hxx"
#include "SALOMEDS_UseCaseIterator_i.hxx"
#include "OpUtil.hxx"
+using namespace std;
+
//============================================================================
/*! Function : SALOMEDS_Study_i
* Purpose : SALOMEDS_Study_i constructor
* Purpose :
*/
//============================================================================
+#ifndef WNT
void SALOMEDS_Study_i::RemovePostponed(const CORBA::Long theUndoLimit)
+#else
+void SALOMEDS_Study_i::RemovePostponed(CORBA::Long theUndoLimit)
+#endif
{
SALOMEDS::Locker lock;
int aLegth = aSeq->Length();
for(int i = 1; i <= aLegth; i++) {
TCollection_AsciiString anIOR = aSeq->Value(i);
- //mkr : fix for bug IPAL9408 : check the length of anIOR
- // before take value from it
- if ( !anIOR.IsEmpty() && anIOR.Value(1) == 'c') {
+ if (anIOR.Value(1) == 'c') {
CORBA::Object_var obj = _orb->string_to_object(anIOR.Split(1).ToCString());
SALOME::GenericObj_var aGeneric = SALOME::GenericObj::_narrow(obj);
if (!CORBA::is_nil(aGeneric)) aGeneric->Destroy();
}
- else if ( !anIOR.IsEmpty() && anIOR.Value(1) == 'd') {
+ else if (anIOR.Value(1) == 'd') {
CORBA::Object_var obj = _orb->string_to_object(anIOR.Split(1).ToCString());
SALOME::GenericObj_var aGeneric = SALOME::GenericObj::_narrow(obj);
if (!CORBA::is_nil(aGeneric)) aGeneric->Destroy();
* Purpose :
*/
//============================================================================
+#ifndef WNT
void SALOMEDS_Study_i::UndoPostponed(const CORBA::Long theWay)
+#else
+void SALOMEDS_Study_i::UndoPostponed(CORBA::Long theWay)
+#endif
{
SALOMEDS::Locker lock;
#define __SALOMEDS_STUDY_I_H__
// std C++ headers
-#include <iostream.h>
+#include <iostream>
// IDL headers
#include <SALOMEconfig.h>
virtual void AddCreatedPostponed(const char* theIOR);
+#ifndef WNT
virtual void RemovePostponed(const CORBA::Long theUndoLimit); // removes postponed IORs of old transaction
// if theUndoLimit==0, removes all
virtual void UndoPostponed(const CORBA::Long theWay); // theWay = 1: resurrect objects,
// theWay = -1: get back to the list of postponed
+#else
+ virtual void RemovePostponed(CORBA::Long theUndoLimit); // removes postponed IORs of old transaction
+ // if theUndoLimit==0, removes all
+ virtual void UndoPostponed(CORBA::Long theWay); // theWay = 1: resurrect objects,
+ // theWay = -1: get back to the list of postponed
+#endif
virtual CORBA::Boolean DumpStudy(const char* thePath, const char* theBaseName, CORBA::Boolean isPublished);
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_UseCaseBuilder.hxx"
#include <TCollection_AsciiString.hxx>
#include <string>
+using namespace std;
+
SALOMEDS_UseCaseBuilder::SALOMEDS_UseCaseBuilder(const Handle(SALOMEDSImpl_UseCaseBuilder)& theBuilder)
{
_isLocal = true;
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_UseCaseBuilder_i.hxx"
#include "SALOMEDS_UseCaseIterator_i.hxx"
#include "SALOMEDS_SObject_i.hxx"
#include "utilities.h"
+using namespace std;
+
//============================================================================
/*! Function : constructor
* Purpose :
#define __SALOMEDS_USECaseBuilder_I_H__
// std C++ headers
-#include <iostream.h>
+#include <iostream>
// IDL headers
#include <SALOMEconfig.h>
// Author : Sergey RUIN
// Module : SALOME
-using namespace std;
+
#include "SALOMEDS_UseCaseIterator.hxx"
#include "SALOMEDS_SObject.hxx"
+using namespace std;
+
SALOMEDS_UseCaseIterator::SALOMEDS_UseCaseIterator(const Handle(SALOMEDSImpl_UseCaseIterator)& theIterator)
{
_isLocal = true;
// Author : Sergey RUIN
// Module : SALOME
+
#include "SALOMEDS_UseCaseIterator_i.hxx"
#include "SALOMEDS_SObject_i.hxx"
#include "SALOMEDS.hxx"
#include "SALOMEDSImpl_SObject.hxx"
#include "utilities.h"
+
using namespace std;
//============================================================================
#define __SALOMEDS_USECASEITERATOR_I_H__
// std C++ headers
-#include <iostream.h>
+#include <iostream>
// IDL headers
#include <SALOMEconfig.h>