}
//=============================================================================
-int HOMARD_Gen_i::GetCurrentStudyID()
+CORBA::Long HOMARD_Gen_i::GetCurrentStudyID()
//=============================================================================
{
return myCurrentStudy->_is_nil() ? -1 : myCurrentStudy->StudyId();
}
//=====================================================================================
-void HOMARD_Gen_i::SetEtatIter(const char* nomIter, const bool EtatCalcul)
+void HOMARD_Gen_i::SetEtatIter(const char* nomIter, const CORBA::Boolean EtatCalcul)
//=====================================================================================
{
MESSAGE( "SetEtatIter : nomIter = " << nomIter << " etat " << EtatCalcul );
}
//=============================================================================
HOMARD::HOMARD_Boundary_ptr HOMARD_Gen_i::CreateBoundaryCylinder(const char* BoundaryName,
- double Xcentre, double Ycentre, double Zcentre,
- double Xaxis, double Yaxis, double Zaxis,
- double Rayon)
+ CORBA::Double Xcentre, CORBA::Double Ycentre, CORBA::Double Zcentre,
+ CORBA::Double Xaxis, CORBA::Double Yaxis, CORBA::Double Zaxis,
+ CORBA::Double Rayon)
{
MESSAGE ("CreateBoundaryCylinder : BoundaryName = " << BoundaryName ) ;
HOMARD::HOMARD_Boundary_var myBoundary = CreateBoundary(BoundaryName, 1) ;
}
//=============================================================================
HOMARD::HOMARD_Boundary_ptr HOMARD_Gen_i::CreateBoundarySphere(const char* BoundaryName,
- double Xcentre, double Ycentre, double Zcentre,
- double Rayon)
+ CORBA::Double Xcentre, CORBA::Double Ycentre, CORBA::Double Zcentre,
+ CORBA::Double Rayon)
{
MESSAGE ("CreateBoundarySphere : BoundaryName = " << BoundaryName ) ;
HOMARD::HOMARD_Boundary_var myBoundary = CreateBoundary(BoundaryName, 2) ;
}
//=============================================================================
HOMARD::HOMARD_Zone_ptr HOMARD_Gen_i::CreateZoneBox(const char* ZoneName,
- double Xmini, double Xmaxi,
- double Ymini, double Ymaxi,
- double Zmini, double Zmaxi)
+ CORBA::Double Xmini, CORBA::Double Xmaxi,
+ CORBA::Double Ymini, CORBA::Double Ymaxi,
+ CORBA::Double Zmini, CORBA::Double Zmaxi)
{
MESSAGE ("CreateZoneBox : ZoneName = " << ZoneName ) ;
HOMARD::HOMARD_Zone_var myZone = CreateZone(ZoneName, 2) ;
}
//=============================================================================
HOMARD::HOMARD_Zone_ptr HOMARD_Gen_i::CreateZoneSphere(const char* ZoneName,
- double Xcentre, double Ycentre, double Zcentre, double Rayon)
+ CORBA::Double Xcentre, CORBA::Double Ycentre, CORBA::Double Zcentre, CORBA::Double Rayon)
{
MESSAGE ("CreateZoneSphere : ZoneName = " << ZoneName ) ;
HOMARD::HOMARD_Zone_var myZone = CreateZone(ZoneName, 4) ;
}
//=============================================================================
HOMARD::HOMARD_Zone_ptr HOMARD_Gen_i::CreateZoneCylinder(const char* ZoneName,
- double Xcentre, double Ycentre, double Zcentre,
- double Xaxe, double Yaxe, double Zaxe,
- double Rayon, double Haut)
+ CORBA::Double Xcentre, CORBA::Double Ycentre, CORBA::Double Zcentre,
+ CORBA::Double Xaxe, CORBA::Double Yaxe, CORBA::Double Zaxe,
+ CORBA::Double Rayon, CORBA::Double Haut)
{
MESSAGE ("CreateZoneCylinder : ZoneName = " << ZoneName ) ;
HOMARD::HOMARD_Zone_var myZone = CreateZone(ZoneName, 5) ;
}
//=============================================================================
HOMARD::HOMARD_Zone_ptr HOMARD_Gen_i::CreateZonePipe(const char* ZoneName,
- double Xcentre, double Ycentre, double Zcentre,
- double Xaxe, double Yaxe, double Zaxe,
- double Rayon, double Haut, double Rayonint)
+ CORBA::Double Xcentre, CORBA::Double Ycentre, CORBA::Double Zcentre,
+ CORBA::Double Xaxe, CORBA::Double Yaxe, CORBA::Double Zaxe,
+ CORBA::Double Rayon, CORBA::Double Haut, CORBA::Double Rayonint)
{
MESSAGE ("CreateZonePipe : ZoneName = " << ZoneName ) ;
HOMARD::HOMARD_Zone_var myZone = CreateZone(ZoneName, 7) ;
}
//=============================================================================
HOMARD::HOMARD_Zone_ptr HOMARD_Gen_i::CreateZoneBox2D(const char* ZoneName,
- double Umini, double Umaxi,
- double Vmini, double Vmaxi,
+ CORBA::Double Umini, CORBA::Double Umaxi,
+ CORBA::Double Vmini, CORBA::Double Vmaxi,
CORBA::Long Orient)
{
MESSAGE ("CreateZoneBox2D : ZoneName = " << ZoneName ) ;
}
//=============================================================================
HOMARD::HOMARD_Zone_ptr HOMARD_Gen_i::CreateZoneDisk(const char* ZoneName,
- double Ucentre, double Vcentre,
- double Rayon,
+ CORBA::Double Ucentre, CORBA::Double Vcentre,
+ CORBA::Double Rayon,
CORBA::Long Orient)
{
MESSAGE ("CreateZoneDisk : ZoneName = " << ZoneName ) ;
}
//=============================================================================
HOMARD::HOMARD_Zone_ptr HOMARD_Gen_i::CreateZoneDiskWithHole(const char* ZoneName,
- double Ucentre, double Vcentre,
- double Rayon, double Rayonint,
+ CORBA::Double Ucentre, CORBA::Double Vcentre,
+ CORBA::Double Rayon, CORBA::Double Rayonint,
CORBA::Long Orient)
{
MESSAGE ("CreateZoneDiskWithHole : ZoneName = " << ZoneName ) ;
//===========================================================================
SALOMEDS::TMPFile* HOMARD_Gen_i::Save(SALOMEDS::SComponent_ptr theComponent,
const char* theURL,
- bool isMultiFile)
+ CORBA::Boolean isMultiFile)
{
MESSAGE (" Save pour theURL = "<< theURL);
SALOMEDS::TMPFile_var aStreamFile;
//===========================================================================
SALOMEDS::TMPFile* HOMARD_Gen_i::SaveASCII(SALOMEDS::SComponent_ptr theComponent,
const char* theURL,
- bool isMultiFile)
+ CORBA::Boolean isMultiFile)
{
// No specific ASCII persistence
SALOMEDS::TMPFile_var aStreamFile = Save(theComponent, theURL, isMultiFile);
CORBA::Boolean HOMARD_Gen_i::Load(SALOMEDS::SComponent_ptr theComponent,
const SALOMEDS::TMPFile& theStream,
const char* theURL,
- bool isMultiFile)
+ CORBA::Boolean isMultiFile)
{
MESSAGE (" Load pour theURL = "<< theURL);
SALOMEDS::Study_var aStudy = theComponent->GetStudy();
CORBA::Boolean HOMARD_Gen_i::LoadASCII(SALOMEDS::SComponent_ptr theComponent,
const SALOMEDS::TMPFile& theStream,
const char* theURL,
- bool isMultiFile)
+ CORBA::Boolean isMultiFile)
{
// No specific ASCII persistence
return Load(theComponent, theStream, theURL, isMultiFile);
};
//===========================================================================
-bool HOMARD_Gen_i::CanPublishInStudy(CORBA::Object_ptr theIOR)
+CORBA::Boolean HOMARD_Gen_i::CanPublishInStudy(CORBA::Object_ptr theIOR)
{
if(CORBA::is_nil(myCurrentStudy))
return false;
SALOMEDS::Study_ptr GetCurrentStudy();
void SetCurrentStudy(SALOMEDS::Study_ptr theStudy);
- int GetCurrentStudyID();
+ CORBA::Long GetCurrentStudyID();
HOMARD::HOMARD_Cas_ptr CreateCase (const char* nomCas,
const char* MeshName, const char* FileName);
HOMARD::HOMARD_Zone_ptr CreateZone (const char* nomZone, CORBA::Long typeZone);
HOMARD::HOMARD_Zone_ptr CreateZoneBox (const char* nomZone,
- double Xmini, double Xmaxi,
- double Ymini, double Ymaxi,
- double Zmini, double Zmaxi);
+ CORBA::Double Xmini, CORBA::Double Xmaxi,
+ CORBA::Double Ymini, CORBA::Double Ymaxi,
+ CORBA::Double Zmini, CORBA::Double Zmaxi);
HOMARD::HOMARD_Zone_ptr CreateZoneSphere (const char* nomZone,
- double Xcentre, double Ycentre, double Zcentre, double Rayon);
+ CORBA::Double Xcentre, CORBA::Double Ycentre, CORBA::Double Zcentre, CORBA::Double Rayon);
HOMARD::HOMARD_Zone_ptr CreateZoneCylinder (const char* nomZone,
- double Xcentre, double Ycentre, double Zcentre,
- double Xaxe, double Yaxe, double Zaxe,
- double Rayon, double Haut);
+ CORBA::Double Xcentre, CORBA::Double Ycentre, CORBA::Double Zcentre,
+ CORBA::Double Xaxe, CORBA::Double Yaxe, CORBA::Double Zaxe,
+ CORBA::Double Rayon, CORBA::Double Haut);
HOMARD::HOMARD_Zone_ptr CreateZonePipe (const char* nomZone,
- double Xcentre, double Ycentre, double Zcentre,
- double Xaxe, double Yaxe, double Zaxe,
- double Rayon, double Haut, double Rayonint);
+ CORBA::Double Xcentre, CORBA::Double Ycentre, CORBA::Double Zcentre,
+ CORBA::Double Xaxe, CORBA::Double Yaxe, CORBA::Double Zaxe,
+ CORBA::Double Rayon, CORBA::Double Haut, CORBA::Double Rayonint);
HOMARD::HOMARD_Zone_ptr CreateZoneBox2D (const char* nomZone,
- double Umini, double Umaxi,
- double Vmini, double Vmaxi,
+ CORBA::Double Umini, CORBA::Double Umaxi,
+ CORBA::Double Vmini, CORBA::Double Vmaxi,
CORBA::Long Orient);
HOMARD::HOMARD_Zone_ptr CreateZoneDisk (const char* nomZone,
- double Ucentre, double Vcentre,
- double Rayon,
+ CORBA::Double Ucentre, CORBA::Double Vcentre,
+ CORBA::Double Rayon,
CORBA::Long Orient);
HOMARD::HOMARD_Zone_ptr CreateZoneDiskWithHole (const char* nomZone,
- double Ucentre, double Vcentre,
- double Rayon, double Rayonint,
+ CORBA::Double Ucentre, CORBA::Double Vcentre,
+ CORBA::Double Rayon, CORBA::Double Rayonint,
CORBA::Long Orient);
HOMARD::HOMARD_Boundary_ptr CreateBoundary (const char* nomBoundary, CORBA::Long typeBoundary);
HOMARD::HOMARD_Boundary_ptr CreateBoundaryDi (const char* nomBoundary,
const char* MeshName, const char* FileName);
HOMARD::HOMARD_Boundary_ptr CreateBoundaryCylinder (const char* nomBoundary,
- double Xcentre, double Ycentre, double Zcentre,
- double Xaxis, double Yaxis, double Zaxis,
- double Rayon);
+ CORBA::Double Xcentre, CORBA::Double Ycentre, CORBA::Double Zcentre,
+ CORBA::Double Xaxis, CORBA::Double Yaxis, CORBA::Double Zaxis,
+ CORBA::Double Rayon);
HOMARD::HOMARD_Boundary_ptr CreateBoundarySphere (const char* nomBoundary,
- double Xcentre, double Ycentre, double Zcentre,
- double Rayon);
+ CORBA::Double Xcentre, CORBA::Double Ycentre, CORBA::Double Zcentre,
+ CORBA::Double Rayon);
HOMARD::HOMARD_Cas_ptr GetCas (const char* nomCas);
HOMARD::HOMARD_Zone_ptr GetZone (const char* nomZone);
void InvalideHypo(const char* nomHypo);
void InvalideIter(const char* nomIter);
- void SetEtatIter(const char* nomIter,const bool EtatCalcul);
+ void SetEtatIter(const char* nomIter,const CORBA::Boolean EtatCalcul);
HOMARD::listeCases* GetAllCases();
HOMARD::listeHypotheses* GetAllHypotheses();
// --> Persistence
virtual SALOMEDS::TMPFile* Save(SALOMEDS::SComponent_ptr theComponent,
const char* theURL,
- bool isMultiFile);
+ CORBA::Boolean isMultiFile);
virtual SALOMEDS::TMPFile* SaveASCII(SALOMEDS::SComponent_ptr theComponent,
const char* theURL,
- bool isMultiFile);
+ CORBA::Boolean isMultiFile);
- virtual bool Load(SALOMEDS::SComponent_ptr theComponent,
+ virtual CORBA::Boolean Load(SALOMEDS::SComponent_ptr theComponent,
const SALOMEDS::TMPFile& theStream,
const char* theURL,
- bool isMultiFile);
+ CORBA::Boolean isMultiFile);
- virtual bool LoadASCII(SALOMEDS::SComponent_ptr theComponent,
+ virtual CORBA::Boolean LoadASCII(SALOMEDS::SComponent_ptr theComponent,
const SALOMEDS::TMPFile& theStream,
const char* theURL,
- bool isMultiFile);
+ CORBA::Boolean isMultiFile);
virtual void Close(SALOMEDS::SComponent_ptr IORSComponent);
CORBA::Boolean isASCII);
// --> Data publishing
- virtual bool CanPublishInStudy(CORBA::Object_ptr theIOR);
+ virtual CORBA::Boolean CanPublishInStudy(CORBA::Object_ptr theIOR);
virtual SALOMEDS::SObject_ptr PublishInStudy(SALOMEDS::Study_ptr theStudy,
SALOMEDS::SObject_ptr theSObject,