2#pragma warning(disable : 4251)
9class __declspec(dllexport) EntityMeshTetInfo :
public EntityBase
12 EntityMeshTetInfo(
ot::UID ID, EntityBase *parent, EntityObserver *obs, ModelState *ms, ClassFactoryHandler* factory,
const std::string &owner);
13 virtual ~EntityMeshTetInfo();
15 virtual bool getEntityBox(
double &xmin,
double &xmax,
double &ymin,
double &ymax,
double &zmin,
double &zmax)
override;
17 virtual std::string getClassName(
void) {
return "EntityMeshTetInfo"; };
19 virtual entityType getEntityType(
void)
override {
return DATA; };
21 void addGeneralData(
ot::UID dataID,
ot::UID dataVersion) { generalData.push_back(std::pair<ot::UID, ot::UID>(dataID, dataVersion)); };
22 void addFacesData(
ot::UID dataID,
ot::UID dataVersion) { facesData.push_back(std::pair<ot::UID, ot::UID>(dataID, dataVersion)); };
23 void addVolumeData(
ot::UID dataID,
ot::UID dataVersion) { volumeData.push_back(std::pair<ot::UID, ot::UID>(dataID, dataVersion)); };
26 virtual int getSchemaVersion(
void) {
return 1; };
27 virtual void AddStorageData(bsoncxx::builder::basic::document &storage);
28 virtual void readSpecificDataFromDataBase(bsoncxx::document::view &doc_view, std::map<ot::UID, EntityBase *> &entityMap)
override;
30 std::list<std::pair<ot::UID, ot::UID>> generalData;
31 std::list<std::pair<ot::UID, ot::UID>> facesData;
32 std::list<std::pair<ot::UID, ot::UID>> volumeData;
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27