Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated copyright message
[modules/shaper.git]
/
src
/
XAO
/
XAO_DoubleField.cxx
diff --git
a/src/XAO/XAO_DoubleField.cxx
b/src/XAO/XAO_DoubleField.cxx
index e0a66493544994ca8ae473d5e24e7990d004b98c..c2f4b84cc1fef5c259b50a1225f3f1bac53ec456 100644
(file)
--- a/
src/XAO/XAO_DoubleField.cxx
+++ b/
src/XAO/XAO_DoubleField.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2013-20
19 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2013-20
23 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-24,25
+24,25
@@
using namespace XAO;
using namespace XAO;
-DoubleField::DoubleField(
const XAO::Dimension& dimension, const int& nbElements, const int&
nbComponents, const std::string& name)
+DoubleField::DoubleField(
XAO::Dimension dimension, int nbElements, int
nbComponents, const std::string& name)
: Field(dimension, nbElements, nbComponents, name)
{
}
: Field(dimension, nbElements, nbComponents, name)
{
}
-Step* DoubleField::addNewStep(
const int&
step)
-throw (XAO_Exception)
+Step* DoubleField::addNewStep(
int
step)
+
{
return addStep(step, 0);
}
{
return addStep(step, 0);
}
-DoubleStep* DoubleField::addStep(
const int&
step)
-throw (XAO_Exception)
+DoubleStep* DoubleField::addStep(
int
step)
+
{
return addStep(step, 0);
}
{
return addStep(step, 0);
}
-DoubleStep* DoubleField::addStep(
const int& step, const int&
stamp)
-throw (XAO_Exception)
+DoubleStep* DoubleField::addStep(
int step, int
stamp)
+
{
if (hasStep(step))
throw XAO_Exception(MsgBuilder() << "Step with number " << step << " already exists.");
{
if (hasStep(step))
throw XAO_Exception(MsgBuilder() << "Step with number " << step << " already exists.");
@@
-52,8
+52,8
@@
throw (XAO_Exception)
return bstep;
}
return bstep;
}
-DoubleStep* DoubleField::getStep(
const int&
index)
-throw (XAO_Exception)
+DoubleStep* DoubleField::getStep(
int
index)
+
{
checkStepIndex(index);
return (DoubleStep*)m_steps[index];
{
checkStepIndex(index);
return (DoubleStep*)m_steps[index];