2#pragma warning(disable : 4251)
10class __declspec(dllexport) EntityResultTextData :
public EntityBase
13 EntityResultTextData(
ot::UID ID, EntityBase *parent, EntityObserver *obs, ModelState *ms, ClassFactoryHandler* factory,
const std::string &owner);
14 virtual ~EntityResultTextData();
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 "EntityResultTextData"; };
22 virtual entityType getEntityType(
void)
override {
return DATA; };
23 virtual void removeChild(EntityBase *child)
override;
25 void setText(
const std::string &text);
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;
UICORE_API_EXPORT void setText(UID _actionUID, const QString &_text)
Will set the text of the action.
Definition uiAPI.cpp:344
UICORE_API_EXPORT QString getText(UID _actionUID)
Will return the text of the action.
Definition uiAPI.cpp:362
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27