remove unused constructor

This commit is contained in:
fps 2013-09-05 14:43:52 +00:00
parent 42a005d086
commit 8c68aaf7bc
16 changed files with 0 additions and 103 deletions

View File

@ -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)

View File

@ -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; }

View File

@ -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;

View File

@ -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;
};

View File

@ -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)
{

View File

@ -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; }

View File

@ -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;

View File

@ -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;
};

View File

@ -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)
{

View File

@ -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; }

View File

@ -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;

View File

@ -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;
};

View File

@ -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)
{

View File

@ -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; }

View File

@ -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;

View File

@ -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;
};