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_IntegerField.cxx
diff --git
a/src/XAO/XAO_IntegerField.cxx
b/src/XAO/XAO_IntegerField.cxx
index e5b42baa04b94441ed3a48b667d17e93e235a21c..dc28ab6018c45c7f033ab7a9656aca07e555a055 100644
(file)
--- a/
src/XAO/XAO_IntegerField.cxx
+++ b/
src/XAO/XAO_IntegerField.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2013-20
16 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2013-20
23 CEA/DEN, EDF R&D
//
// 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;
-IntegerField::IntegerField(
const XAO::Dimension& dimension, const int& nbElements, const int&
nbComponents, const std::string& name)
+IntegerField::IntegerField(
XAO::Dimension dimension, int nbElements, int
nbComponents, const std::string& name)
: Field(dimension, nbElements, nbComponents, name)
{
}
: Field(dimension, nbElements, nbComponents, name)
{
}
-Step* IntegerField::addNewStep(
const int&
step)
-throw (XAO_Exception)
+Step* IntegerField::addNewStep(
int
step)
+
{
return addStep(step, 0);
}
{
return addStep(step, 0);
}
-IntegerStep* IntegerField::addStep(
const int&
step)
-throw (XAO_Exception)
+IntegerStep* IntegerField::addStep(
int
step)
+
{
return addStep(step, 0);
}
{
return addStep(step, 0);
}
-IntegerStep* IntegerField::addStep(
const int& step, const int&
stamp)
-throw (XAO_Exception)
+IntegerStep* IntegerField::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;
}
-IntegerStep* IntegerField::getStep(
const int&
index)
-throw (XAO_Exception)
+IntegerStep* IntegerField::getStep(
int
index)
+
{
checkStepIndex(index);
return (IntegerStep*)m_steps[index];
{
checkStepIndex(index);
return (IntegerStep*)m_steps[index];