Dear,
I'm trying to solve this error... I cannot understand what is going wrong... please help me to solve it ! Probably it is only a stupid syntatical error but I cannot see it...
Here is the code:
#ifndef _STA_SCENARIO_MANOEUVREPLAN_H_
#define _STA_SCENARIO_MANOEUVREPLAN_H_
#include "scenarioobject.h"
enum StaManoeuvreType
{
STA_MANOEUVRE_DURATION = 1000,
STA_MANOEUVRE_DELTAV = 1001,
STA_MANOEUVRE_V_POSITION = 1002,
STA_MANOEUVRE_R_POSITION = 1003,
STA_MANOEUVRE_V_R_POSITION = 1004,
STA_MANOEUVRE_V_R_DURATION = 1005
};
class ScenarioManoeuvre;
class ScenarioManoeuvrePlan : public ScenarioObject
{
public:
ScenarioManoeuvrePlan();
~ScenarioManoeuvrePlan();
const QList<ScenarioManoeuvre*>& manoeuvres() const { return m_manoeuvres; }
void setName
(QString name
){m_name
=name;
} void addManoeuvre(ScenarioManoeuvre* manoeuvre);
QString name
()const {return m_name;
} QList<ScenarioManoeuvre*> manoeuvresList() const{return m_manoeuvres;}
QHash<QString, StaManoeuvreType>* typeMap()const {return hash;}
QHash<QString, QString>* nameMap()const {return hashName;}
private:
QList<ScenarioManoeuvre*> m_manoeuvres;
QHash<QString, StaManoeuvreType>* hash;
QHash<QString, QString>* hashName;
};
#endif // _STA_SCENARIO_MANOEUVREPLAN_H_
#ifndef _STA_SCENARIO_MANOEUVREPLAN_H_
#define _STA_SCENARIO_MANOEUVREPLAN_H_
#include "scenarioobject.h"
enum StaManoeuvreType
{
STA_MANOEUVRE_DURATION = 1000,
STA_MANOEUVRE_DELTAV = 1001,
STA_MANOEUVRE_V_POSITION = 1002,
STA_MANOEUVRE_R_POSITION = 1003,
STA_MANOEUVRE_V_R_POSITION = 1004,
STA_MANOEUVRE_V_R_DURATION = 1005
};
class ScenarioManoeuvre;
class ScenarioManoeuvrePlan : public ScenarioObject
{
public:
ScenarioManoeuvrePlan();
~ScenarioManoeuvrePlan();
const QList<ScenarioManoeuvre*>& manoeuvres() const { return m_manoeuvres; }
void setName(QString name){m_name=name;}
void addManoeuvre(ScenarioManoeuvre* manoeuvre);
QString name()const {return m_name;}
QList<ScenarioManoeuvre*> manoeuvresList() const{return m_manoeuvres;}
QHash<QString, StaManoeuvreType>* typeMap()const {return hash;}
QHash<QString, QString>* nameMap()const {return hashName;}
QStringList inputsName()const {return inputs;}
virtual QTreeWidgetItem* createItemSelf(QTreeWidgetItem* parent);
virtual void createItemContents(QTreeWidgetItem* item);
private:
QString m_name;
QList<ScenarioManoeuvre*> m_manoeuvres;
QHash<QString, StaManoeuvreType>* hash;
QHash<QString, QString>* hashName;
QStringList inputs;
};
#endif // _STA_SCENARIO_MANOEUVREPLAN_H_
To copy to clipboard, switch view to plain text mode
Thank a lot
Bookmarks