-// Copyright (C) 2007-2015 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2019 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
class MEDCALCGUI_EXPORT XmedDataObject: public DataObject {
public:
XmedDataObject();
- virtual string getPath();
+ virtual std::string getPath();
void setFieldHandler(MEDCALC::FieldHandler fieldHandler);
MEDCALC::FieldHandler * getFieldHandler();
- static const int NB_TYPE_OF_FIELDS = 4;
- static const char * mapTypeOfFieldLabel[NB_TYPE_OF_FIELDS];
+ void setPresentationId(int presId);
+ int getPresentationId() const;
private:
MEDCALC::FieldHandler _fieldHandler;
- string _getTypedFieldLabel();
+ int _presId;
+ std::string _getTypedFieldLabel();
};
//
// then get the result you are interested in, using the corresponding
// "result*" function.
//
-// 2) Alternativly, you can just call directly the suitable master
+// 2) Alternatively, you can just call directly the suitable master
// "get*" function to process and get the result you are interested
// in.
//