mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-28 07:10:34 +05:00
remove unused constructor
This commit is contained in:
parent
42a005d086
commit
8c68aaf7bc
@ -25,12 +25,6 @@
|
||||
|
||||
using namespace XAO;
|
||||
|
||||
BooleanField::BooleanField(const XAO::Dimension& dimension,
|
||||
const int& nbElements, const int& nbComponents)
|
||||
: Field("", dimension, nbElements, nbComponents)
|
||||
{
|
||||
}
|
||||
|
||||
BooleanField::BooleanField(const std::string& name, const XAO::Dimension& dimension,
|
||||
const int& nbElements, const int& nbComponents)
|
||||
: Field(name, dimension, nbElements, nbComponents)
|
||||
|
@ -34,7 +34,6 @@ namespace XAO
|
||||
class BooleanField : public Field
|
||||
{
|
||||
public:
|
||||
BooleanField(const XAO::Dimension& dimension, const int& nbElements, const int& nbComponents);
|
||||
BooleanField(const std::string& name, const XAO::Dimension& dimension, const int& nbElements, const int& nbComponents);
|
||||
|
||||
virtual const XAO::Type getType() { return XAO::BOOLEAN; }
|
||||
|
@ -24,22 +24,7 @@
|
||||
|
||||
using namespace XAO;
|
||||
|
||||
BooleanStep::BooleanStep(const int& nbElements, const int& nbComponents)
|
||||
{
|
||||
init(0, 0, nbElements, nbComponents);
|
||||
}
|
||||
|
||||
BooleanStep::BooleanStep(const int& step, const int& nbElements, const int& nbComponents)
|
||||
{
|
||||
init(step, 0, nbElements, nbComponents);
|
||||
}
|
||||
|
||||
BooleanStep::BooleanStep(const int& step, const int& stamp, const int& nbElements, const int& nbComponents)
|
||||
{
|
||||
init(step, stamp, nbElements, nbComponents);
|
||||
}
|
||||
|
||||
void BooleanStep::init(const int& step, const int& stamp, const int& nbElements, const int& nbComponents)
|
||||
{
|
||||
m_nbElements = nbElements;
|
||||
m_nbComponents = nbComponents;
|
||||
|
@ -33,8 +33,6 @@ namespace XAO
|
||||
class BooleanStep : public Step
|
||||
{
|
||||
public:
|
||||
BooleanStep(const int& nbElements, const int& nbComponents);
|
||||
BooleanStep(const int& step, const int& nbElements, const int& nbComponents);
|
||||
BooleanStep(const int& step, const int& stamp, const int& nbElements, const int& nbComponents);
|
||||
|
||||
virtual const XAO::Type getType() { return XAO::BOOLEAN; }
|
||||
@ -75,9 +73,6 @@ namespace XAO
|
||||
virtual const std::string getStringValue(const int& element, const int& component);
|
||||
virtual void setStringValue(const int& element, const int& component, const std::string& value);
|
||||
|
||||
private:
|
||||
void init(const int& step, const int& stamp, const int& nbElements, const int& nbComponents);
|
||||
|
||||
private:
|
||||
std::vector< std::vector<bool> > m_values;
|
||||
};
|
||||
|
@ -25,11 +25,6 @@
|
||||
|
||||
using namespace XAO;
|
||||
|
||||
DoubleField::DoubleField(const XAO::Dimension& dimension, const int& nbElements, const int& nbComponents)
|
||||
: Field("", dimension, nbElements, nbComponents)
|
||||
{
|
||||
}
|
||||
|
||||
DoubleField::DoubleField(const std::string& name, const XAO::Dimension& dimension, const int& nbElements, const int& nbComponents)
|
||||
: Field(name, dimension, nbElements, nbComponents)
|
||||
{
|
||||
|
@ -35,7 +35,6 @@ namespace XAO
|
||||
class DoubleField : public Field
|
||||
{
|
||||
public:
|
||||
DoubleField(const XAO::Dimension& dimension, const int& nbElements, const int& nbComponents);
|
||||
DoubleField(const std::string& name, const XAO::Dimension& dimension, const int& nbElements, const int& nbComponents);
|
||||
|
||||
virtual const XAO::Type getType() { return XAO::DOUBLE; }
|
||||
|
@ -24,22 +24,7 @@
|
||||
|
||||
using namespace XAO;
|
||||
|
||||
DoubleStep::DoubleStep(const int& nbElements, const int& nbComponents)
|
||||
{
|
||||
init(0, 0, nbElements, nbComponents);
|
||||
}
|
||||
|
||||
DoubleStep::DoubleStep(const int& step, const int& nbElements, const int& nbComponents)
|
||||
{
|
||||
init(step, 0, nbElements, nbComponents);
|
||||
}
|
||||
|
||||
DoubleStep::DoubleStep(const int& step, const int& stamp, const int& nbElements, const int& nbComponents)
|
||||
{
|
||||
init(step, stamp, nbElements, nbComponents);
|
||||
}
|
||||
|
||||
void DoubleStep::init(const int& step, const int& stamp, const int& nbElements, const int& nbComponents)
|
||||
{
|
||||
m_nbElements = nbElements;
|
||||
m_nbComponents = nbComponents;
|
||||
|
@ -32,8 +32,6 @@ namespace XAO
|
||||
class DoubleStep : public Step
|
||||
{
|
||||
public:
|
||||
DoubleStep(const int& nbElements, const int& nbComponents);
|
||||
DoubleStep(const int& step, const int& nbElements, const int& nbComponents);
|
||||
DoubleStep(const int& step, const int& stamp, const int& nbElements, const int& nbComponents);
|
||||
|
||||
virtual const XAO::Type getType() { return XAO::DOUBLE; }
|
||||
@ -52,9 +50,6 @@ namespace XAO
|
||||
virtual const std::string getStringValue(const int& element, const int& component);
|
||||
virtual void setStringValue(const int& element, const int& component, const std::string& value);
|
||||
|
||||
private:
|
||||
void init(const int& step, const int& stamp, const int& nbElements, const int& nbComponents);
|
||||
|
||||
private:
|
||||
std::vector< std::vector<double> > m_values;
|
||||
};
|
||||
|
@ -25,11 +25,6 @@
|
||||
|
||||
using namespace XAO;
|
||||
|
||||
IntegerField::IntegerField(const XAO::Dimension& dimension, const int& nbElements, const int& nbComponents)
|
||||
: Field("", dimension, nbElements, nbComponents)
|
||||
{
|
||||
}
|
||||
|
||||
IntegerField::IntegerField(const std::string& name, const XAO::Dimension& dimension, const int& nbElements, const int& nbComponents)
|
||||
: Field(name, dimension, nbElements, nbComponents)
|
||||
{
|
||||
|
@ -35,7 +35,6 @@ namespace XAO
|
||||
class IntegerField : public Field
|
||||
{
|
||||
public:
|
||||
IntegerField(const XAO::Dimension& dimension, const int& nbElements, const int& nbComponents);
|
||||
IntegerField(const std::string& name, const XAO::Dimension& dimension, const int& nbElements, const int& nbComponents);
|
||||
|
||||
virtual const XAO::Type getType() { return XAO::INTEGER; }
|
||||
|
@ -24,22 +24,7 @@
|
||||
|
||||
using namespace XAO;
|
||||
|
||||
IntegerStep::IntegerStep(const int& nbElements, const int& nbComponents)
|
||||
{
|
||||
init(0, 0, nbElements, nbComponents);
|
||||
}
|
||||
|
||||
IntegerStep::IntegerStep(const int& step, const int& nbElements, const int& nbComponents)
|
||||
{
|
||||
init(step, 0, nbElements, nbComponents);
|
||||
}
|
||||
|
||||
IntegerStep::IntegerStep(const int& step, const int& stamp, const int& nbElements, const int& nbComponents)
|
||||
{
|
||||
init(step, stamp, nbElements, nbComponents);
|
||||
}
|
||||
|
||||
void IntegerStep::init(const int& step, const int& stamp, const int& nbElements, const int& nbComponents)
|
||||
{
|
||||
m_nbElements = nbElements;
|
||||
m_nbComponents = nbComponents;
|
||||
|
@ -32,8 +32,6 @@ namespace XAO
|
||||
class IntegerStep : public Step
|
||||
{
|
||||
public:
|
||||
IntegerStep(const int& nbElements, const int& nbComponents);
|
||||
IntegerStep(const int& step, const int& nbElements, const int& nbComponents);
|
||||
IntegerStep(const int& step, const int& stamp, const int& nbElements, const int& nbComponents);
|
||||
|
||||
virtual const XAO::Type getType() { return XAO::INTEGER; }
|
||||
@ -52,9 +50,6 @@ namespace XAO
|
||||
virtual const std::string getStringValue(const int& element, const int& component);
|
||||
virtual void setStringValue(const int& element, const int& component, const std::string& value);
|
||||
|
||||
private:
|
||||
void init(const int& step, const int& stamp, const int& nbElements, const int& nbComponents);
|
||||
|
||||
private:
|
||||
std::vector< std::vector<int> > m_values;
|
||||
};
|
||||
|
@ -25,11 +25,6 @@
|
||||
|
||||
using namespace XAO;
|
||||
|
||||
StringField::StringField(const XAO::Dimension& dimension, const int& nbElements, const int& nbComponents)
|
||||
: Field("", dimension, nbElements, nbComponents)
|
||||
{
|
||||
}
|
||||
|
||||
StringField::StringField(const std::string& name, const XAO::Dimension& dimension, const int& nbElements, const int& nbComponents)
|
||||
: Field(name, dimension, nbElements, nbComponents)
|
||||
{
|
||||
|
@ -35,7 +35,6 @@ namespace XAO
|
||||
class StringField : public Field
|
||||
{
|
||||
public:
|
||||
StringField(const XAO::Dimension& dimension, const int& nbElements, const int& nbComponents);
|
||||
StringField(const std::string& name, const XAO::Dimension& dimension, const int& nbElements, const int& nbComponents);
|
||||
|
||||
virtual const XAO::Type getType() { return XAO::STRING; }
|
||||
|
@ -23,22 +23,7 @@
|
||||
|
||||
using namespace XAO;
|
||||
|
||||
StringStep::StringStep(const int& nbElements, const int& nbComponents)
|
||||
{
|
||||
init(0, 0, nbElements, nbComponents);
|
||||
}
|
||||
|
||||
StringStep::StringStep(const int& step, const int& nbElements, const int& nbComponents)
|
||||
{
|
||||
init(step, 0, nbElements, nbComponents);
|
||||
}
|
||||
|
||||
StringStep::StringStep(const int& step, const int& stamp, const int& nbElements, const int& nbComponents)
|
||||
{
|
||||
init(step, stamp, nbElements, nbComponents);
|
||||
}
|
||||
|
||||
void StringStep::init(const int& step, const int& stamp, const int& nbElements, const int& nbComponents)
|
||||
{
|
||||
m_nbElements = nbElements;
|
||||
m_nbComponents = nbComponents;
|
||||
|
@ -53,9 +53,6 @@ namespace XAO
|
||||
virtual const std::string getStringValue(const int& element, const int& component);
|
||||
virtual void setStringValue(const int& element, const int& component, const std::string& value);
|
||||
|
||||
private:
|
||||
void init(const int& step, const int& stamp, const int& nbElements, const int& nbComponents);
|
||||
|
||||
private:
|
||||
std::vector< std::vector<std::string> > m_values;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user