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