OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
EntityCartesianVector.h
Go to the documentation of this file.
1#pragma once
2#pragma warning(disable : 4251)
3
5#include "EntityResultBase.h"
6#include "OldTreeIcon.h"
7
8#include <list>
9#include <vector>
10
11class EntityMeshCartesianData;
12
13class __declspec(dllexport) EntityCartesianVector : public EntityCompressedVector, public EntityResultBase
14{
15public:
16 EntityCartesianVector(ot::UID ID, EntityBase *parent, EntityObserver *obs, ModelState *ms, ClassFactoryHandler* factory, const std::string &owner);
17 virtual ~EntityCartesianVector();
18
19 virtual bool getEntityBox(double &xmin, double &xmax, double &ymin, double &ymax, double &zmin, double &zmax) override;
20
21 virtual void StoreToDataBase(void) override;
22
23 virtual std::string getClassName(void) { return "EntityCartesianVector"; };
24
25 virtual entityType getEntityType(void) override { return DATA; };
26 virtual void removeChild(EntityBase *child) override;
27
28protected:
29 virtual int getSchemaVersion(void) { return 1; };
30 virtual void AddStorageData(bsoncxx::builder::basic::document &storage);
31 virtual void readSpecificDataFromDataBase(bsoncxx::document::view &doc_view, std::map<ot::UID, EntityBase *> &entityMap) override;
32
33private:
34
35};
36
37
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27