2#pragma warning(disable : 4251)
10class __declspec(dllexport) EntityResult1DCurveData :
public EntityBase
13 EntityResult1DCurveData(
ot::UID ID, EntityBase *parent, EntityObserver *obs, ModelState *ms, ClassFactoryHandler* factory,
const std::string &owner);
14 virtual ~EntityResult1DCurveData();
16 virtual bool getEntityBox(
double &xmin,
double &xmax,
double &ymin,
double &ymax,
double &zmin,
double &zmax)
override;
18 virtual void StoreToDataBase(
void)
override;
20 virtual std::string getClassName(
void) {
return "EntityResult1DCurveData"; };
22 virtual entityType getEntityType(
void)
override {
return DATA; };
23 virtual void removeChild(EntityBase *child)
override;
25 void setXData(
const std::vector<double> &x);
26 void setYData(
const std::vector<double> &yre,
const std::vector<double> &yim);
29 void clearXData(
void);
30 void clearYData(
void);
32 const std::vector<double> &getXData(
void);
33 const std::vector<double> &getYDataReal(
void);
34 const std::vector<double> &getYDataImag(
void);
37 virtual int getSchemaVersion(
void) {
return 1; };
38 virtual void AddStorageData(bsoncxx::builder::basic::document &storage);
39 virtual void readSpecificDataFromDataBase(bsoncxx::document::view &doc_view, std::map<ot::UID, EntityBase *> &entityMap)
override;
41 std::vector<double> dataX, dataYre, dataYim;
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27