const char *instanceName,
const char *interfaceName)
: Engines_Component_i(orb, poa, contId, instanceName, interfaceName, true),
- _errorCode(CALCULATOR_ORB::NO_ERROR)
+ _errorCode(CALCULATOR_ORB::RES_OK)
{
_thisObj = this;
_id = _poa->activate_object(_thisObj);
CORBA::Double CALCULATOR::norm2(SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr field1)
{
beginService( "CALCULATOR::norm2");
- _errorCode = CALCULATOR_ORB::NO_ERROR;
+ _errorCode = CALCULATOR_ORB::RES_OK;
//const char* LOC = "CALCULATOR::Norm2(SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr field1)";
if(CORBA::is_nil(field1))
CORBA::Double CALCULATOR::normL2(SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr field1)
{
beginService( "CALCULATOR::normL2");
- _errorCode = CALCULATOR_ORB::NO_ERROR;
+ _errorCode = CALCULATOR_ORB::RES_OK;
//const char* LOC = "CALCULATOR::NormL2(SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr field1)";
//BEGIN_OF(LOC);
CORBA::Double CALCULATOR::normMax(SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr field1)
{
beginService( "CALCULATOR::normMax");
- _errorCode = CALCULATOR_ORB::NO_ERROR;
+ _errorCode = CALCULATOR_ORB::RES_OK;
if(CORBA::is_nil(field1))
{
CORBA::Double CALCULATOR::normL1(SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr field1)
{
beginService( "CALCULATOR::normL1");
- _errorCode = CALCULATOR_ORB::NO_ERROR;
+ _errorCode = CALCULATOR_ORB::RES_OK;
if(CORBA::is_nil(field1)) {
_errorCode = CALCULATOR_ORB::INVALID_FIELD;
SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr CALCULATOR::applyLin(SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr field1,CORBA::Double a,CORBA::Double b)
{
beginService( "CALCULATOR::applyLin");
- _errorCode = CALCULATOR_ORB::NO_ERROR;
+ _errorCode = CALCULATOR_ORB::RES_OK;
if(CORBA::is_nil(field1))
{
SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr CALCULATOR::add(SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr field1, SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr field2)
{
beginService( "CALCULATOR::add");
- _errorCode = CALCULATOR_ORB::NO_ERROR;
+ _errorCode = CALCULATOR_ORB::RES_OK;
//const char* LOC = "CALCULATOR::add(SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr field1, SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr field2)";
if(CORBA::is_nil(field1) || CORBA::is_nil(field2))
SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_out clone3, SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_out clone4)
{
beginService( "CALCULATOR::cloneField");
- _errorCode = CALCULATOR_ORB::NO_ERROR;
+ _errorCode = CALCULATOR_ORB::RES_OK;
if(CORBA::is_nil(field))
{
void CALCULATOR::printField(SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr field)
{
beginService( "CALCULATOR::printField");
- _errorCode = CALCULATOR_ORB::NO_ERROR;
+ _errorCode = CALCULATOR_ORB::RES_OK;
if(CORBA::is_nil(field))
{
CORBA::Double CALCULATOR::convergenceCriteria(SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr field)
{
beginService( "CALCULATOR::convergenceCriteria");
- _errorCode = CALCULATOR_ORB::NO_ERROR;
+ _errorCode = CALCULATOR_ORB::RES_OK;
if(CORBA::is_nil(field))
{
CORBA::Boolean CALCULATOR::isDone()
{
- return (_errorCode == CALCULATOR_ORB::NO_ERROR);
+ return (_errorCode == CALCULATOR_ORB::RES_OK);
}
CALCULATOR_ORB::ErrorCode CALCULATOR::getErrorCode()