mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
Refactoring
This commit is contained in:
parent
f5bfce992f
commit
5309c82daf
@ -138,6 +138,36 @@ bool SMESH_Hypothesis_i::IsPublished(){
|
||||
return res;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* SMESH_Hypothesis_i::GetEntry()
|
||||
*/
|
||||
//=============================================================================
|
||||
char* SMESH_Hypothesis_i::GetEntry()
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* SMESH_Hypothesis_i::GetComponent()
|
||||
*/
|
||||
//=============================================================================
|
||||
char* SMESH_Hypothesis_i::GetComponent()
|
||||
{
|
||||
return CORBA::string_dup( "SMESH" );
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* SMESH_Hypothesis_i::IsValid()
|
||||
*/
|
||||
//=============================================================================
|
||||
char* SMESH_Hypothesis_i::IsValid()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* SMESH_Hypothesis_i::SetParameters()
|
||||
@ -186,6 +216,16 @@ SALOME::StringArray* SMESH_Hypothesis_i::GetParameters()
|
||||
return NULL;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* SMESH_Hypothesis_i::Update()
|
||||
*
|
||||
*/
|
||||
//=============================================================================
|
||||
void SMESH_Hypothesis_i::Update( SALOME::Notebook_ptr theNotebook )
|
||||
{
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* SMESH_Hypothesis_i::GetImpl
|
||||
|
@ -65,12 +65,24 @@ public:
|
||||
// Get unique id of hypothesis
|
||||
CORBA::Long GetId();
|
||||
|
||||
// ...
|
||||
virtual char* GetEntry();
|
||||
|
||||
// ...
|
||||
virtual char* GetComponent();
|
||||
|
||||
// ...
|
||||
virtual CORBA::Boolean IsValid();
|
||||
|
||||
// Set list of parameters, used for Hypothesis creation
|
||||
virtual void SetParameters( SALOME::Notebook_ptr theNotebook, const SALOME::StringArray& theParameters );
|
||||
|
||||
// Return list of notebook variables used for Hypothesis creation
|
||||
virtual SALOME::StringArray* GetParameters();
|
||||
|
||||
// ...
|
||||
virtual void Update( SALOME::Notebook_ptr theNotebook );
|
||||
|
||||
//Return true if hypothesis was published in study
|
||||
bool IsPublished();
|
||||
|
||||
|
@ -3378,6 +3378,36 @@ void SMESH_Mesh_i::checkGroupNames()
|
||||
}
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* \brief ...
|
||||
*/
|
||||
//=============================================================================
|
||||
char* SMESH_Mesh_i::GetEntry()
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* \brief ...
|
||||
*/
|
||||
//=============================================================================
|
||||
char* SMESH_Mesh_i::GetComponent()
|
||||
{
|
||||
return CORBA::string_dup( "SMESH" );
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* \brief ...
|
||||
*/
|
||||
//=============================================================================
|
||||
char* SMESH_Mesh_i::IsValid()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* \brief Sets list of notebook variables used for Mesh operations separated by ":" symbol
|
||||
@ -3397,6 +3427,15 @@ SALOME::StringArray* SMESH_Mesh_i::GetParameters()
|
||||
return NULL;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* \brief ...
|
||||
*/
|
||||
//=============================================================================
|
||||
void SMESH_Mesh_i::Update( SALOME::Notebook_ptr theNotebook )
|
||||
{
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* \brief Returns statistic of mesh elements
|
||||
|
Loading…
Reference in New Issue
Block a user