1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323
|
#pragma once
#include <grtpp.h>
#ifdef _WIN32
#pragma warning(disable: 4355) // 'this' : used in base member initializer list
#ifdef GRT_STRUCTS_WORKBENCH_PHYSICAL_EXPORT
#define GRT_STRUCTS_WORKBENCH_PHYSICAL_PUBLIC __declspec(dllexport)
#else
#define GRT_STRUCTS_WORKBENCH_PHYSICAL_PUBLIC __declspec(dllimport)
#endif
#else
#define GRT_STRUCTS_WORKBENCH_PHYSICAL_PUBLIC
#endif
#include <grts/structs.h>
#include <grts/structs.model.h>
#include <grts/structs.meta.h>
#include <grts/structs.db.h>
#include <grts/structs.db.mgmt.h>
class workbench_physical_Layer;
typedef grt::Ref<workbench_physical_Layer> workbench_physical_LayerRef;
class workbench_physical_Connection;
typedef grt::Ref<workbench_physical_Connection> workbench_physical_ConnectionRef;
class workbench_physical_RoutineGroupFigure;
typedef grt::Ref<workbench_physical_RoutineGroupFigure> workbench_physical_RoutineGroupFigureRef;
class workbench_physical_ViewFigure;
typedef grt::Ref<workbench_physical_ViewFigure> workbench_physical_ViewFigureRef;
class workbench_physical_TableFigure;
typedef grt::Ref<workbench_physical_TableFigure> workbench_physical_TableFigureRef;
class workbench_physical_Diagram;
typedef grt::Ref<workbench_physical_Diagram> workbench_physical_DiagramRef;
class workbench_physical_Model;
typedef grt::Ref<workbench_physical_Model> workbench_physical_ModelRef;
namespace mforms {
class Object;
};
namespace grt {
class AutoPyObject;
};
class workbench_physical_Layer : public model_Layer
{
typedef model_Layer super;
public:
class ImplData;
friend class ImplData;
workbench_physical_Layer(grt::GRT *grt, grt::MetaClass *meta=0)
: model_Layer(grt, meta ? meta : grt->get_metaclass(static_class_name()))
{
}
static std::string static_class_name() { return "workbench.physical.Layer"; }
protected:
private: // wrapper methods for use by grt
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new workbench_physical_Layer(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&workbench_physical_Layer::create);
}
};
/** a model connection */
class GRT_STRUCTS_WORKBENCH_PHYSICAL_PUBLIC workbench_physical_Connection : public model_Connection
{
typedef model_Connection super;
public:
class ImplData;
friend class ImplData;
workbench_physical_Connection(grt::GRT *grt, grt::MetaClass *meta=0)
: model_Connection(grt, meta ? meta : grt->get_metaclass(static_class_name())),
_caption(""),
_captionXOffs(0.0),
_captionYOffs(0.0),
_comment(""),
_endCaptionXOffs(0.0),
_endCaptionYOffs(0.0),
_extraCaption(""),
_extraCaptionXOffs(0.0),
_extraCaptionYOffs(0.0),
_middleSegmentOffset(0.0),
_startCaptionXOffs(0.0),
_startCaptionYOffs(0.0),
_data(0)
{
}
virtual ~workbench_physical_Connection();
static std::string static_class_name() { return "workbench.physical.Connection"; }
/** Getter for attribute caption
center caption
\par In Python:
value = obj.caption
*/
grt::StringRef caption() const { return _caption; }
/** Setter for attribute caption
center caption
\par In Python:
obj.caption = value
*/
virtual void caption(const grt::StringRef &value)
{
grt::ValueRef ovalue(_caption);
_caption= value;
member_changed("caption", ovalue, value);
}
/** Getter for attribute captionXOffs
X offset of the caption
\par In Python:
value = obj.captionXOffs
*/
grt::DoubleRef captionXOffs() const { return _captionXOffs; }
/** Setter for attribute captionXOffs
X offset of the caption
\par In Python:
obj.captionXOffs = value
*/
virtual void captionXOffs(const grt::DoubleRef &value)
{
grt::ValueRef ovalue(_captionXOffs);
_captionXOffs= value;
member_changed("captionXOffs", ovalue, value);
}
/** Getter for attribute captionYOffs
Y offset of the caption
\par In Python:
value = obj.captionYOffs
*/
grt::DoubleRef captionYOffs() const { return _captionYOffs; }
/** Setter for attribute captionYOffs
Y offset of the caption
\par In Python:
obj.captionYOffs = value
*/
virtual void captionYOffs(const grt::DoubleRef &value)
{
grt::ValueRef ovalue(_captionYOffs);
_captionYOffs= value;
member_changed("captionYOffs", ovalue, value);
}
/** Getter for attribute comment
a comment about the relationship
\par In Python:
value = obj.comment
*/
grt::StringRef comment() const { return _comment; }
/** Setter for attribute comment
a comment about the relationship
\par In Python:
obj.comment = value
*/
virtual void comment(const grt::StringRef &value)
{
grt::ValueRef ovalue(_comment);
_comment= value;
member_changed("comment", ovalue, value);
}
/** Getter for attribute endCaptionXOffs
X offset of the end caption
\par In Python:
value = obj.endCaptionXOffs
*/
grt::DoubleRef endCaptionXOffs() const { return _endCaptionXOffs; }
/** Setter for attribute endCaptionXOffs
X offset of the end caption
\par In Python:
obj.endCaptionXOffs = value
*/
virtual void endCaptionXOffs(const grt::DoubleRef &value)
{
grt::ValueRef ovalue(_endCaptionXOffs);
_endCaptionXOffs= value;
member_changed("endCaptionXOffs", ovalue, value);
}
/** Getter for attribute endCaptionYOffs
Y offset of the end caption
\par In Python:
value = obj.endCaptionYOffs
*/
grt::DoubleRef endCaptionYOffs() const { return _endCaptionYOffs; }
/** Setter for attribute endCaptionYOffs
Y offset of the end caption
\par In Python:
obj.endCaptionYOffs = value
*/
virtual void endCaptionYOffs(const grt::DoubleRef &value)
{
grt::ValueRef ovalue(_endCaptionYOffs);
_endCaptionYOffs= value;
member_changed("endCaptionYOffs", ovalue, value);
}
/** Getter for attribute extraCaption
additional center caption
\par In Python:
value = obj.extraCaption
*/
grt::StringRef extraCaption() const { return _extraCaption; }
/** Setter for attribute extraCaption
additional center caption
\par In Python:
obj.extraCaption = value
*/
virtual void extraCaption(const grt::StringRef &value)
{
grt::ValueRef ovalue(_extraCaption);
_extraCaption= value;
member_changed("extraCaption", ovalue, value);
}
/** Getter for attribute extraCaptionXOffs
X offset of the caption
\par In Python:
value = obj.extraCaptionXOffs
*/
grt::DoubleRef extraCaptionXOffs() const { return _extraCaptionXOffs; }
/** Setter for attribute extraCaptionXOffs
X offset of the caption
\par In Python:
obj.extraCaptionXOffs = value
*/
virtual void extraCaptionXOffs(const grt::DoubleRef &value)
{
grt::ValueRef ovalue(_extraCaptionXOffs);
_extraCaptionXOffs= value;
member_changed("extraCaptionXOffs", ovalue, value);
}
/** Getter for attribute extraCaptionYOffs
Y offset of the caption
\par In Python:
value = obj.extraCaptionYOffs
*/
grt::DoubleRef extraCaptionYOffs() const { return _extraCaptionYOffs; }
/** Setter for attribute extraCaptionYOffs
Y offset of the caption
\par In Python:
obj.extraCaptionYOffs = value
*/
virtual void extraCaptionYOffs(const grt::DoubleRef &value)
{
grt::ValueRef ovalue(_extraCaptionYOffs);
_extraCaptionYOffs= value;
member_changed("extraCaptionYOffs", ovalue, value);
}
/** Getter for attribute foreignKey
the foreign key this corresponds to
\par In Python:
value = obj.foreignKey
*/
db_ForeignKeyRef foreignKey() const { return _foreignKey; }
/** Setter for attribute foreignKey
the foreign key this corresponds to
\par In Python:
obj.foreignKey = value
*/
virtual void foreignKey(const db_ForeignKeyRef &value);
/** Getter for attribute middleSegmentOffset
offset of the middle segment of the line, if applicable
\par In Python:
value = obj.middleSegmentOffset
*/
grt::DoubleRef middleSegmentOffset() const { return _middleSegmentOffset; }
/** Setter for attribute middleSegmentOffset
offset of the middle segment of the line, if applicable
\par In Python:
obj.middleSegmentOffset = value
*/
virtual void middleSegmentOffset(const grt::DoubleRef &value)
{
grt::ValueRef ovalue(_middleSegmentOffset);
_middleSegmentOffset= value;
member_changed("middleSegmentOffset", ovalue, value);
}
/** Getter for attribute startCaptionXOffs
X offset of the start caption
\par In Python:
value = obj.startCaptionXOffs
*/
grt::DoubleRef startCaptionXOffs() const { return _startCaptionXOffs; }
/** Setter for attribute startCaptionXOffs
X offset of the start caption
\par In Python:
obj.startCaptionXOffs = value
*/
virtual void startCaptionXOffs(const grt::DoubleRef &value)
{
grt::ValueRef ovalue(_startCaptionXOffs);
_startCaptionXOffs= value;
member_changed("startCaptionXOffs", ovalue, value);
}
/** Getter for attribute startCaptionYOffs
Y offset of the start caption
\par In Python:
value = obj.startCaptionYOffs
*/
grt::DoubleRef startCaptionYOffs() const { return _startCaptionYOffs; }
/** Setter for attribute startCaptionYOffs
Y offset of the start caption
\par In Python:
obj.startCaptionYOffs = value
*/
virtual void startCaptionYOffs(const grt::DoubleRef &value)
{
grt::ValueRef ovalue(_startCaptionYOffs);
_startCaptionYOffs= value;
member_changed("startCaptionYOffs", ovalue, value);
}
ImplData *get_data() const { return _data; }
void set_data(ImplData *data);
// default initialization function. auto-called by ObjectRef constructor
virtual void init();
protected:
grt::StringRef _caption;
grt::DoubleRef _captionXOffs;
grt::DoubleRef _captionYOffs;
grt::StringRef _comment;
grt::DoubleRef _endCaptionXOffs;
grt::DoubleRef _endCaptionYOffs;
grt::StringRef _extraCaption;
grt::DoubleRef _extraCaptionXOffs;
grt::DoubleRef _extraCaptionYOffs;
db_ForeignKeyRef _foreignKey;
grt::DoubleRef _middleSegmentOffset;
grt::DoubleRef _startCaptionXOffs;
grt::DoubleRef _startCaptionYOffs;
private: // wrapper methods for use by grt
ImplData *_data;
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new workbench_physical_Connection(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&workbench_physical_Connection::create);
{
void (workbench_physical_Connection::*setter)(const grt::StringRef &)= &workbench_physical_Connection::caption;
grt::StringRef (workbench_physical_Connection::*getter)() const= &workbench_physical_Connection::caption;
meta->bind_member("caption", new grt::MetaClass::Property<workbench_physical_Connection,grt::StringRef >(getter,setter));
}
{
void (workbench_physical_Connection::*setter)(const grt::DoubleRef &)= &workbench_physical_Connection::captionXOffs;
grt::DoubleRef (workbench_physical_Connection::*getter)() const= &workbench_physical_Connection::captionXOffs;
meta->bind_member("captionXOffs", new grt::MetaClass::Property<workbench_physical_Connection,grt::DoubleRef >(getter,setter));
}
{
void (workbench_physical_Connection::*setter)(const grt::DoubleRef &)= &workbench_physical_Connection::captionYOffs;
grt::DoubleRef (workbench_physical_Connection::*getter)() const= &workbench_physical_Connection::captionYOffs;
meta->bind_member("captionYOffs", new grt::MetaClass::Property<workbench_physical_Connection,grt::DoubleRef >(getter,setter));
}
{
void (workbench_physical_Connection::*setter)(const grt::StringRef &)= &workbench_physical_Connection::comment;
grt::StringRef (workbench_physical_Connection::*getter)() const= &workbench_physical_Connection::comment;
meta->bind_member("comment", new grt::MetaClass::Property<workbench_physical_Connection,grt::StringRef >(getter,setter));
}
{
void (workbench_physical_Connection::*setter)(const grt::DoubleRef &)= &workbench_physical_Connection::endCaptionXOffs;
grt::DoubleRef (workbench_physical_Connection::*getter)() const= &workbench_physical_Connection::endCaptionXOffs;
meta->bind_member("endCaptionXOffs", new grt::MetaClass::Property<workbench_physical_Connection,grt::DoubleRef >(getter,setter));
}
{
void (workbench_physical_Connection::*setter)(const grt::DoubleRef &)= &workbench_physical_Connection::endCaptionYOffs;
grt::DoubleRef (workbench_physical_Connection::*getter)() const= &workbench_physical_Connection::endCaptionYOffs;
meta->bind_member("endCaptionYOffs", new grt::MetaClass::Property<workbench_physical_Connection,grt::DoubleRef >(getter,setter));
}
{
void (workbench_physical_Connection::*setter)(const grt::StringRef &)= &workbench_physical_Connection::extraCaption;
grt::StringRef (workbench_physical_Connection::*getter)() const= &workbench_physical_Connection::extraCaption;
meta->bind_member("extraCaption", new grt::MetaClass::Property<workbench_physical_Connection,grt::StringRef >(getter,setter));
}
{
void (workbench_physical_Connection::*setter)(const grt::DoubleRef &)= &workbench_physical_Connection::extraCaptionXOffs;
grt::DoubleRef (workbench_physical_Connection::*getter)() const= &workbench_physical_Connection::extraCaptionXOffs;
meta->bind_member("extraCaptionXOffs", new grt::MetaClass::Property<workbench_physical_Connection,grt::DoubleRef >(getter,setter));
}
{
void (workbench_physical_Connection::*setter)(const grt::DoubleRef &)= &workbench_physical_Connection::extraCaptionYOffs;
grt::DoubleRef (workbench_physical_Connection::*getter)() const= &workbench_physical_Connection::extraCaptionYOffs;
meta->bind_member("extraCaptionYOffs", new grt::MetaClass::Property<workbench_physical_Connection,grt::DoubleRef >(getter,setter));
}
{
void (workbench_physical_Connection::*setter)(const db_ForeignKeyRef &)= &workbench_physical_Connection::foreignKey;
db_ForeignKeyRef (workbench_physical_Connection::*getter)() const= &workbench_physical_Connection::foreignKey;
meta->bind_member("foreignKey", new grt::MetaClass::Property<workbench_physical_Connection,db_ForeignKeyRef >(getter,setter));
}
{
void (workbench_physical_Connection::*setter)(const grt::DoubleRef &)= &workbench_physical_Connection::middleSegmentOffset;
grt::DoubleRef (workbench_physical_Connection::*getter)() const= &workbench_physical_Connection::middleSegmentOffset;
meta->bind_member("middleSegmentOffset", new grt::MetaClass::Property<workbench_physical_Connection,grt::DoubleRef >(getter,setter));
}
{
void (workbench_physical_Connection::*setter)(const grt::DoubleRef &)= &workbench_physical_Connection::startCaptionXOffs;
grt::DoubleRef (workbench_physical_Connection::*getter)() const= &workbench_physical_Connection::startCaptionXOffs;
meta->bind_member("startCaptionXOffs", new grt::MetaClass::Property<workbench_physical_Connection,grt::DoubleRef >(getter,setter));
}
{
void (workbench_physical_Connection::*setter)(const grt::DoubleRef &)= &workbench_physical_Connection::startCaptionYOffs;
grt::DoubleRef (workbench_physical_Connection::*getter)() const= &workbench_physical_Connection::startCaptionYOffs;
meta->bind_member("startCaptionYOffs", new grt::MetaClass::Property<workbench_physical_Connection,grt::DoubleRef >(getter,setter));
}
}
};
/** a model figure representing a collection of routines */
class GRT_STRUCTS_WORKBENCH_PHYSICAL_PUBLIC workbench_physical_RoutineGroupFigure : public model_Figure
{
typedef model_Figure super;
public:
class ImplData;
friend class ImplData;
workbench_physical_RoutineGroupFigure(grt::GRT *grt, grt::MetaClass *meta=0)
: model_Figure(grt, meta ? meta : grt->get_metaclass(static_class_name())),
_data(0)
{
}
virtual ~workbench_physical_RoutineGroupFigure();
static std::string static_class_name() { return "workbench.physical.RoutineGroupFigure"; }
/** Getter for attribute routineGroup
the routine group this figure represents
\par In Python:
value = obj.routineGroup
*/
db_RoutineGroupRef routineGroup() const { return _routineGroup; }
/** Setter for attribute routineGroup
the routine group this figure represents
\par In Python:
obj.routineGroup = value
*/
virtual void routineGroup(const db_RoutineGroupRef &value);
ImplData *get_data() const { return _data; }
void set_data(ImplData *data);
// default initialization function. auto-called by ObjectRef constructor
virtual void init();
protected:
db_RoutineGroupRef _routineGroup;
private: // wrapper methods for use by grt
ImplData *_data;
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new workbench_physical_RoutineGroupFigure(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&workbench_physical_RoutineGroupFigure::create);
{
void (workbench_physical_RoutineGroupFigure::*setter)(const db_RoutineGroupRef &)= &workbench_physical_RoutineGroupFigure::routineGroup;
db_RoutineGroupRef (workbench_physical_RoutineGroupFigure::*getter)() const= &workbench_physical_RoutineGroupFigure::routineGroup;
meta->bind_member("routineGroup", new grt::MetaClass::Property<workbench_physical_RoutineGroupFigure,db_RoutineGroupRef >(getter,setter));
}
}
};
/** a model figure representing a view */
class GRT_STRUCTS_WORKBENCH_PHYSICAL_PUBLIC workbench_physical_ViewFigure : public model_Figure
{
typedef model_Figure super;
public:
class ImplData;
friend class ImplData;
workbench_physical_ViewFigure(grt::GRT *grt, grt::MetaClass *meta=0)
: model_Figure(grt, meta ? meta : grt->get_metaclass(static_class_name())),
_data(0)
{
}
virtual ~workbench_physical_ViewFigure();
static std::string static_class_name() { return "workbench.physical.ViewFigure"; }
/** Getter for attribute view
the view this figure represents
\par In Python:
value = obj.view
*/
db_ViewRef view() const { return _view; }
/** Setter for attribute view
the view this figure represents
\par In Python:
obj.view = value
*/
virtual void view(const db_ViewRef &value);
ImplData *get_data() const { return _data; }
void set_data(ImplData *data);
// default initialization function. auto-called by ObjectRef constructor
virtual void init();
protected:
db_ViewRef _view;
private: // wrapper methods for use by grt
ImplData *_data;
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new workbench_physical_ViewFigure(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&workbench_physical_ViewFigure::create);
{
void (workbench_physical_ViewFigure::*setter)(const db_ViewRef &)= &workbench_physical_ViewFigure::view;
db_ViewRef (workbench_physical_ViewFigure::*getter)() const= &workbench_physical_ViewFigure::view;
meta->bind_member("view", new grt::MetaClass::Property<workbench_physical_ViewFigure,db_ViewRef >(getter,setter));
}
}
};
/** a model figure representing a table */
class GRT_STRUCTS_WORKBENCH_PHYSICAL_PUBLIC workbench_physical_TableFigure : public model_Figure
{
typedef model_Figure super;
public:
class ImplData;
friend class ImplData;
workbench_physical_TableFigure(grt::GRT *grt, grt::MetaClass *meta=0)
: model_Figure(grt, meta ? meta : grt->get_metaclass(static_class_name())),
_columnsExpanded(1),
_foreignKeysExpanded(0),
_indicesExpanded(0),
_summarizeDisplay(-1),
_triggersExpanded(0),
_data(0)
{
}
virtual ~workbench_physical_TableFigure();
static std::string static_class_name() { return "workbench.physical.TableFigure"; }
/** Getter for attribute columnsExpanded
indicates whether the columns list is expanded
\par In Python:
value = obj.columnsExpanded
*/
grt::IntegerRef columnsExpanded() const { return _columnsExpanded; }
/** Setter for attribute columnsExpanded
indicates whether the columns list is expanded
\par In Python:
obj.columnsExpanded = value
*/
virtual void columnsExpanded(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_columnsExpanded);
_columnsExpanded= value;
member_changed("columnsExpanded", ovalue, value);
}
/** Getter for attribute foreignKeysExpanded
indicates whether the foreign keys list is expanded
\par In Python:
value = obj.foreignKeysExpanded
*/
grt::IntegerRef foreignKeysExpanded() const { return _foreignKeysExpanded; }
/** Setter for attribute foreignKeysExpanded
indicates whether the foreign keys list is expanded
\par In Python:
obj.foreignKeysExpanded = value
*/
virtual void foreignKeysExpanded(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_foreignKeysExpanded);
_foreignKeysExpanded= value;
member_changed("foreignKeysExpanded", ovalue, value);
}
/** Getter for attribute indicesExpanded
indicates whether the indices list is expanded
\par In Python:
value = obj.indicesExpanded
*/
grt::IntegerRef indicesExpanded() const { return _indicesExpanded; }
/** Setter for attribute indicesExpanded
indicates whether the indices list is expanded
\par In Python:
obj.indicesExpanded = value
*/
virtual void indicesExpanded(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_indicesExpanded);
_indicesExpanded= value;
member_changed("indicesExpanded", ovalue, value);
}
/** Getter for attribute summarizeDisplay
set to -1 for showing table in summarized view mode if there's too many columns, 0 to show all columns and 1 to force summary view
\par In Python:
value = obj.summarizeDisplay
*/
grt::IntegerRef summarizeDisplay() const { return _summarizeDisplay; }
/** Setter for attribute summarizeDisplay
set to -1 for showing table in summarized view mode if there's too many columns, 0 to show all columns and 1 to force summary view
\par In Python:
obj.summarizeDisplay = value
*/
virtual void summarizeDisplay(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_summarizeDisplay);
_summarizeDisplay= value;
member_changed("summarizeDisplay", ovalue, value);
}
/** Getter for attribute table
the table this figure represents
\par In Python:
value = obj.table
*/
db_TableRef table() const { return _table; }
/** Setter for attribute table
the table this figure represents
\par In Python:
obj.table = value
*/
virtual void table(const db_TableRef &value);
/** Getter for attribute triggersExpanded
indicates whether the triggers list is expanded
\par In Python:
value = obj.triggersExpanded
*/
grt::IntegerRef triggersExpanded() const { return _triggersExpanded; }
/** Setter for attribute triggersExpanded
indicates whether the triggers list is expanded
\par In Python:
obj.triggersExpanded = value
*/
virtual void triggersExpanded(const grt::IntegerRef &value)
{
grt::ValueRef ovalue(_triggersExpanded);
_triggersExpanded= value;
member_changed("triggersExpanded", ovalue, value);
}
ImplData *get_data() const { return _data; }
void set_data(ImplData *data);
// default initialization function. auto-called by ObjectRef constructor
virtual void init();
protected:
grt::IntegerRef _columnsExpanded;
grt::IntegerRef _foreignKeysExpanded;
grt::IntegerRef _indicesExpanded;
grt::IntegerRef _summarizeDisplay;
db_TableRef _table;
grt::IntegerRef _triggersExpanded;
private: // wrapper methods for use by grt
ImplData *_data;
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new workbench_physical_TableFigure(grt));
}
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&workbench_physical_TableFigure::create);
{
void (workbench_physical_TableFigure::*setter)(const grt::IntegerRef &)= &workbench_physical_TableFigure::columnsExpanded;
grt::IntegerRef (workbench_physical_TableFigure::*getter)() const= &workbench_physical_TableFigure::columnsExpanded;
meta->bind_member("columnsExpanded", new grt::MetaClass::Property<workbench_physical_TableFigure,grt::IntegerRef >(getter,setter));
}
{
void (workbench_physical_TableFigure::*setter)(const grt::IntegerRef &)= &workbench_physical_TableFigure::foreignKeysExpanded;
grt::IntegerRef (workbench_physical_TableFigure::*getter)() const= &workbench_physical_TableFigure::foreignKeysExpanded;
meta->bind_member("foreignKeysExpanded", new grt::MetaClass::Property<workbench_physical_TableFigure,grt::IntegerRef >(getter,setter));
}
{
void (workbench_physical_TableFigure::*setter)(const grt::IntegerRef &)= &workbench_physical_TableFigure::indicesExpanded;
grt::IntegerRef (workbench_physical_TableFigure::*getter)() const= &workbench_physical_TableFigure::indicesExpanded;
meta->bind_member("indicesExpanded", new grt::MetaClass::Property<workbench_physical_TableFigure,grt::IntegerRef >(getter,setter));
}
{
void (workbench_physical_TableFigure::*setter)(const grt::IntegerRef &)= &workbench_physical_TableFigure::summarizeDisplay;
grt::IntegerRef (workbench_physical_TableFigure::*getter)() const= &workbench_physical_TableFigure::summarizeDisplay;
meta->bind_member("summarizeDisplay", new grt::MetaClass::Property<workbench_physical_TableFigure,grt::IntegerRef >(getter,setter));
}
{
void (workbench_physical_TableFigure::*setter)(const db_TableRef &)= &workbench_physical_TableFigure::table;
db_TableRef (workbench_physical_TableFigure::*getter)() const= &workbench_physical_TableFigure::table;
meta->bind_member("table", new grt::MetaClass::Property<workbench_physical_TableFigure,db_TableRef >(getter,setter));
}
{
void (workbench_physical_TableFigure::*setter)(const grt::IntegerRef &)= &workbench_physical_TableFigure::triggersExpanded;
grt::IntegerRef (workbench_physical_TableFigure::*getter)() const= &workbench_physical_TableFigure::triggersExpanded;
meta->bind_member("triggersExpanded", new grt::MetaClass::Property<workbench_physical_TableFigure,grt::IntegerRef >(getter,setter));
}
}
};
/** a model diagram holding layers and figures */
class GRT_STRUCTS_WORKBENCH_PHYSICAL_PUBLIC workbench_physical_Diagram : public model_Diagram
{
typedef model_Diagram super;
public:
class ImplData;
friend class ImplData;
workbench_physical_Diagram(grt::GRT *grt, grt::MetaClass *meta=0)
: model_Diagram(grt, meta ? meta : grt->get_metaclass(static_class_name())),
_data(0)
{
}
virtual ~workbench_physical_Diagram();
static std::string static_class_name() { return "workbench.physical.Diagram"; }
/** Method.
\param objects
\return
*/
virtual void autoPlaceDBObjects(const grt::ListRef<db_DatabaseObject> &objects);
/** Method.
\param fk
\return
*/
virtual workbench_physical_ConnectionRef createConnectionForForeignKey(const db_ForeignKeyRef &fk);
/** Method.
\param table
\return
*/
virtual grt::IntegerRef createConnectionsForTable(const db_TableRef &table);
/** Method.
\param table
\return
*/
virtual void deleteConnectionsForTable(const db_TableRef &table);
/** Method.
\param fk
\return
*/
virtual workbench_physical_ConnectionRef getConnectionForForeignKey(const db_ForeignKeyRef &fk);
/** Method.
\param object
\return
*/
virtual model_FigureRef getFigureForDBObject(const db_DatabaseObjectRef &object);
/** Method.
\param x
\param y
\param width
\param height
\param name
\return
*/
virtual model_LayerRef placeNewLayer(double x, double y, double width, double height, const std::string &name);
/** Method.
\param routineGroup
\param x
\param y
\return
*/
virtual workbench_physical_RoutineGroupFigureRef placeRoutineGroup(const db_RoutineGroupRef &routineGroup, double x, double y);
/** Method.
\param table
\param x
\param y
\return
*/
virtual workbench_physical_TableFigureRef placeTable(const db_TableRef &table, double x, double y);
/** Method.
\param view
\param x
\param y
\return
*/
virtual workbench_physical_ViewFigureRef placeView(const db_ViewRef &view, double x, double y);
ImplData *get_data() const { return _data; }
void set_data(ImplData *data);
// default initialization function. auto-called by ObjectRef constructor
virtual void init();
protected:
private: // wrapper methods for use by grt
ImplData *_data;
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new workbench_physical_Diagram(grt));
}
static grt::ValueRef call_autoPlaceDBObjects(grt::internal::Object *self, const grt::BaseListRef &args){ dynamic_cast<workbench_physical_Diagram*>(self)->autoPlaceDBObjects(grt::ListRef<db_DatabaseObject>::cast_from(args[0])); return grt::ValueRef(); }
static grt::ValueRef call_createConnectionForForeignKey(grt::internal::Object *self, const grt::BaseListRef &args){ return dynamic_cast<workbench_physical_Diagram*>(self)->createConnectionForForeignKey(db_ForeignKeyRef::cast_from(args[0])); }
static grt::ValueRef call_createConnectionsForTable(grt::internal::Object *self, const grt::BaseListRef &args){ return dynamic_cast<workbench_physical_Diagram*>(self)->createConnectionsForTable(db_TableRef::cast_from(args[0])); }
static grt::ValueRef call_deleteConnectionsForTable(grt::internal::Object *self, const grt::BaseListRef &args){ dynamic_cast<workbench_physical_Diagram*>(self)->deleteConnectionsForTable(db_TableRef::cast_from(args[0])); return grt::ValueRef(); }
static grt::ValueRef call_getConnectionForForeignKey(grt::internal::Object *self, const grt::BaseListRef &args){ return dynamic_cast<workbench_physical_Diagram*>(self)->getConnectionForForeignKey(db_ForeignKeyRef::cast_from(args[0])); }
static grt::ValueRef call_getFigureForDBObject(grt::internal::Object *self, const grt::BaseListRef &args){ return dynamic_cast<workbench_physical_Diagram*>(self)->getFigureForDBObject(db_DatabaseObjectRef::cast_from(args[0])); }
static grt::ValueRef call_placeNewLayer(grt::internal::Object *self, const grt::BaseListRef &args){ return dynamic_cast<workbench_physical_Diagram*>(self)->placeNewLayer(grt::DoubleRef::cast_from(args[0]), grt::DoubleRef::cast_from(args[1]), grt::DoubleRef::cast_from(args[2]), grt::DoubleRef::cast_from(args[3]), grt::StringRef::cast_from(args[4])); }
static grt::ValueRef call_placeRoutineGroup(grt::internal::Object *self, const grt::BaseListRef &args){ return dynamic_cast<workbench_physical_Diagram*>(self)->placeRoutineGroup(db_RoutineGroupRef::cast_from(args[0]), grt::DoubleRef::cast_from(args[1]), grt::DoubleRef::cast_from(args[2])); }
static grt::ValueRef call_placeTable(grt::internal::Object *self, const grt::BaseListRef &args){ return dynamic_cast<workbench_physical_Diagram*>(self)->placeTable(db_TableRef::cast_from(args[0]), grt::DoubleRef::cast_from(args[1]), grt::DoubleRef::cast_from(args[2])); }
static grt::ValueRef call_placeView(grt::internal::Object *self, const grt::BaseListRef &args){ return dynamic_cast<workbench_physical_Diagram*>(self)->placeView(db_ViewRef::cast_from(args[0]), grt::DoubleRef::cast_from(args[1]), grt::DoubleRef::cast_from(args[2])); }
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&workbench_physical_Diagram::create);
meta->bind_method("autoPlaceDBObjects", &workbench_physical_Diagram::call_autoPlaceDBObjects);
meta->bind_method("createConnectionForForeignKey", &workbench_physical_Diagram::call_createConnectionForForeignKey);
meta->bind_method("createConnectionsForTable", &workbench_physical_Diagram::call_createConnectionsForTable);
meta->bind_method("deleteConnectionsForTable", &workbench_physical_Diagram::call_deleteConnectionsForTable);
meta->bind_method("getConnectionForForeignKey", &workbench_physical_Diagram::call_getConnectionForForeignKey);
meta->bind_method("getFigureForDBObject", &workbench_physical_Diagram::call_getFigureForDBObject);
meta->bind_method("placeNewLayer", &workbench_physical_Diagram::call_placeNewLayer);
meta->bind_method("placeRoutineGroup", &workbench_physical_Diagram::call_placeRoutineGroup);
meta->bind_method("placeTable", &workbench_physical_Diagram::call_placeTable);
meta->bind_method("placeView", &workbench_physical_Diagram::call_placeView);
}
};
/** a physical model holding diagrams */
class GRT_STRUCTS_WORKBENCH_PHYSICAL_PUBLIC workbench_physical_Model : public model_Model
{
typedef model_Model super;
public:
class ImplData;
friend class ImplData;
workbench_physical_Model(grt::GRT *grt, grt::MetaClass *meta=0)
: model_Model(grt, meta ? meta : grt->get_metaclass(static_class_name())),
_connectionNotation(""),
_connections(grt, this, false),
_figureNotation(""),
_notes(grt, this, false),
_scripts(grt, this, false),
_syncProfiles(grt, this, false),
_tagCategories(grt, this, false),
_tags(grt, this, false),
_data(0)
{
_diagrams.content().__retype(grt::ObjectType, "workbench.physical.Diagram");
}
virtual ~workbench_physical_Model();
static std::string static_class_name() { return "workbench.physical.Model"; }
// catalog is owned by workbench_physical_Model
/** Getter for attribute catalog
\par In Python:
value = obj.catalog
*/
db_CatalogRef catalog() const { return _catalog; }
/** Setter for attribute catalog
\par In Python:
obj.catalog = value
*/
virtual void catalog(const db_CatalogRef &value)
{
grt::ValueRef ovalue(_catalog);
_catalog= value;
owned_member_changed("catalog", ovalue, value);
}
/** Getter for attribute connectionNotation
\par In Python:
value = obj.connectionNotation
*/
grt::StringRef connectionNotation() const { return _connectionNotation; }
/** Setter for attribute connectionNotation
\par In Python:
obj.connectionNotation = value
*/
virtual void connectionNotation(const grt::StringRef &value)
{
grt::ValueRef ovalue(_connectionNotation);
_connectionNotation= value;
member_changed("connectionNotation", ovalue, value);
}
// connections is owned by workbench_physical_Model
/** Getter for attribute connections (read-only)
all connections that should be used for a full synchronisation
\par In Python:
value = obj.connections
*/
grt::ListRef<db_mgmt_Connection> connections() const { return _connections; }
private: // the next attribute is read-only
virtual void connections(const grt::ListRef<db_mgmt_Connection> &value)
{
grt::ValueRef ovalue(_connections);
_connections= value;
owned_member_changed("connections", ovalue, value);
}
public:
/** Getter for attribute currentConnection
the connection used for reverse engineering and synchronisation
\par In Python:
value = obj.currentConnection
*/
db_mgmt_ConnectionRef currentConnection() const { return _currentConnection; }
/** Setter for attribute currentConnection
the connection used for reverse engineering and synchronisation
\par In Python:
obj.currentConnection = value
*/
virtual void currentConnection(const db_mgmt_ConnectionRef &value)
{
grt::ValueRef ovalue(_currentConnection);
_currentConnection= value;
member_changed("currentConnection", ovalue, value);
}
// diagrams is owned by workbench_physical_Model
/** Getter for attribute diagrams (read-only)
the list of all available diagrams
\par In Python:
value = obj.diagrams
*/
grt::ListRef<workbench_physical_Diagram> diagrams() const { return grt::ListRef<workbench_physical_Diagram>::cast_from(_diagrams); }
private: // the next attribute is read-only
public:
/** Getter for attribute figureNotation
\par In Python:
value = obj.figureNotation
*/
grt::StringRef figureNotation() const { return _figureNotation; }
/** Setter for attribute figureNotation
\par In Python:
obj.figureNotation = value
*/
virtual void figureNotation(const grt::StringRef &value)
{
grt::ValueRef ovalue(_figureNotation);
_figureNotation= value;
member_changed("figureNotation", ovalue, value);
}
// notes is owned by workbench_physical_Model
/** Getter for attribute notes (read-only)
a list of notes that are stored with the model
\par In Python:
value = obj.notes
*/
grt::ListRef<GrtStoredNote> notes() const { return _notes; }
private: // the next attribute is read-only
virtual void notes(const grt::ListRef<GrtStoredNote> &value)
{
grt::ValueRef ovalue(_notes);
_notes= value;
owned_member_changed("notes", ovalue, value);
}
public:
/** Getter for attribute rdbms
the rdbms used for the document
\par In Python:
value = obj.rdbms
*/
db_mgmt_RdbmsRef rdbms() const { return _rdbms; }
/** Setter for attribute rdbms
the rdbms used for the document
\par In Python:
obj.rdbms = value
*/
virtual void rdbms(const db_mgmt_RdbmsRef &value)
{
grt::ValueRef ovalue(_rdbms);
_rdbms= value;
member_changed("rdbms", ovalue, value);
}
// scripts is owned by workbench_physical_Model
/** Getter for attribute scripts (read-only)
a list of scripts that are stored with the model
\par In Python:
value = obj.scripts
*/
grt::ListRef<db_Script> scripts() const { return _scripts; }
private: // the next attribute is read-only
virtual void scripts(const grt::ListRef<db_Script> &value)
{
grt::ValueRef ovalue(_scripts);
_scripts= value;
owned_member_changed("scripts", ovalue, value);
}
public:
/** Getter for attribute syncProfiles (read-only)
\par In Python:
value = obj.syncProfiles
*/
grt::DictRef syncProfiles() const { return _syncProfiles; }
private: // the next attribute is read-only
virtual void syncProfiles(const grt::DictRef &value)
{
grt::ValueRef ovalue(_syncProfiles);
_syncProfiles= value;
member_changed("syncProfiles", ovalue, value);
}
public:
// tagCategories is owned by workbench_physical_Model
/** Getter for attribute tagCategories (read-only)
\par In Python:
value = obj.tagCategories
*/
grt::ListRef<GrtObject> tagCategories() const { return _tagCategories; }
private: // the next attribute is read-only
virtual void tagCategories(const grt::ListRef<GrtObject> &value)
{
grt::ValueRef ovalue(_tagCategories);
_tagCategories= value;
owned_member_changed("tagCategories", ovalue, value);
}
public:
// tags is owned by workbench_physical_Model
/** Getter for attribute tags (read-only)
\par In Python:
value = obj.tags
*/
grt::ListRef<meta_Tag> tags() const { return _tags; }
private: // the next attribute is read-only
virtual void tags(const grt::ListRef<meta_Tag> &value)
{
grt::ValueRef ovalue(_tags);
_tags= value;
owned_member_changed("tags", ovalue, value);
}
public:
/** Method.
\param deferRealize
\return
*/
virtual model_DiagramRef addNewDiagram(ssize_t deferRealize);
ImplData *get_data() const { return _data; }
void set_data(ImplData *data);
// default initialization function. auto-called by ObjectRef constructor
virtual void init();
protected:
db_CatalogRef _catalog;// owned
grt::StringRef _connectionNotation;
grt::ListRef<db_mgmt_Connection> _connections;// owned
db_mgmt_ConnectionRef _currentConnection;
grt::StringRef _figureNotation;
grt::ListRef<GrtStoredNote> _notes;// owned
db_mgmt_RdbmsRef _rdbms;
grt::ListRef<db_Script> _scripts;// owned
grt::DictRef _syncProfiles;
grt::ListRef<GrtObject> _tagCategories;// owned
grt::ListRef<meta_Tag> _tags;// owned
private: // wrapper methods for use by grt
ImplData *_data;
static grt::ObjectRef create(grt::GRT *grt)
{
return grt::ObjectRef(new workbench_physical_Model(grt));
}
static grt::ValueRef call_addNewDiagram(grt::internal::Object *self, const grt::BaseListRef &args){ return dynamic_cast<workbench_physical_Model*>(self)->addNewDiagram(grt::IntegerRef::cast_from(args[0])); }
public:
static void grt_register(grt::GRT *grt)
{
grt::MetaClass *meta= grt->get_metaclass(static_class_name());
if (!meta) throw std::runtime_error("error initializing grt object class, metaclass not found");
meta->bind_allocator(&workbench_physical_Model::create);
{
void (workbench_physical_Model::*setter)(const db_CatalogRef &)= &workbench_physical_Model::catalog;
db_CatalogRef (workbench_physical_Model::*getter)() const= &workbench_physical_Model::catalog;
meta->bind_member("catalog", new grt::MetaClass::Property<workbench_physical_Model,db_CatalogRef >(getter,setter));
}
{
void (workbench_physical_Model::*setter)(const grt::StringRef &)= &workbench_physical_Model::connectionNotation;
grt::StringRef (workbench_physical_Model::*getter)() const= &workbench_physical_Model::connectionNotation;
meta->bind_member("connectionNotation", new grt::MetaClass::Property<workbench_physical_Model,grt::StringRef >(getter,setter));
}
{
void (workbench_physical_Model::*setter)(const grt::ListRef<db_mgmt_Connection> &)= &workbench_physical_Model::connections;
grt::ListRef<db_mgmt_Connection> (workbench_physical_Model::*getter)() const= &workbench_physical_Model::connections;
meta->bind_member("connections", new grt::MetaClass::Property<workbench_physical_Model,grt::ListRef<db_mgmt_Connection> >(getter,setter));
}
{
void (workbench_physical_Model::*setter)(const db_mgmt_ConnectionRef &)= &workbench_physical_Model::currentConnection;
db_mgmt_ConnectionRef (workbench_physical_Model::*getter)() const= &workbench_physical_Model::currentConnection;
meta->bind_member("currentConnection", new grt::MetaClass::Property<workbench_physical_Model,db_mgmt_ConnectionRef >(getter,setter));
}
{
void (workbench_physical_Model::*setter)(const grt::ListRef<workbench_physical_Diagram> &)= 0;
grt::ListRef<workbench_physical_Diagram> (workbench_physical_Model::*getter)() const= 0;
meta->bind_member("diagrams", new grt::MetaClass::Property<workbench_physical_Model,grt::ListRef<workbench_physical_Diagram> >(getter,setter));
}
{
void (workbench_physical_Model::*setter)(const grt::StringRef &)= &workbench_physical_Model::figureNotation;
grt::StringRef (workbench_physical_Model::*getter)() const= &workbench_physical_Model::figureNotation;
meta->bind_member("figureNotation", new grt::MetaClass::Property<workbench_physical_Model,grt::StringRef >(getter,setter));
}
{
void (workbench_physical_Model::*setter)(const grt::ListRef<GrtStoredNote> &)= &workbench_physical_Model::notes;
grt::ListRef<GrtStoredNote> (workbench_physical_Model::*getter)() const= &workbench_physical_Model::notes;
meta->bind_member("notes", new grt::MetaClass::Property<workbench_physical_Model,grt::ListRef<GrtStoredNote> >(getter,setter));
}
{
void (workbench_physical_Model::*setter)(const db_mgmt_RdbmsRef &)= &workbench_physical_Model::rdbms;
db_mgmt_RdbmsRef (workbench_physical_Model::*getter)() const= &workbench_physical_Model::rdbms;
meta->bind_member("rdbms", new grt::MetaClass::Property<workbench_physical_Model,db_mgmt_RdbmsRef >(getter,setter));
}
{
void (workbench_physical_Model::*setter)(const grt::ListRef<db_Script> &)= &workbench_physical_Model::scripts;
grt::ListRef<db_Script> (workbench_physical_Model::*getter)() const= &workbench_physical_Model::scripts;
meta->bind_member("scripts", new grt::MetaClass::Property<workbench_physical_Model,grt::ListRef<db_Script> >(getter,setter));
}
{
void (workbench_physical_Model::*setter)(const grt::DictRef &)= &workbench_physical_Model::syncProfiles;
grt::DictRef (workbench_physical_Model::*getter)() const= &workbench_physical_Model::syncProfiles;
meta->bind_member("syncProfiles", new grt::MetaClass::Property<workbench_physical_Model,grt::DictRef >(getter,setter));
}
{
void (workbench_physical_Model::*setter)(const grt::ListRef<GrtObject> &)= &workbench_physical_Model::tagCategories;
grt::ListRef<GrtObject> (workbench_physical_Model::*getter)() const= &workbench_physical_Model::tagCategories;
meta->bind_member("tagCategories", new grt::MetaClass::Property<workbench_physical_Model,grt::ListRef<GrtObject> >(getter,setter));
}
{
void (workbench_physical_Model::*setter)(const grt::ListRef<meta_Tag> &)= &workbench_physical_Model::tags;
grt::ListRef<meta_Tag> (workbench_physical_Model::*getter)() const= &workbench_physical_Model::tags;
meta->bind_member("tags", new grt::MetaClass::Property<workbench_physical_Model,grt::ListRef<meta_Tag> >(getter,setter));
}
meta->bind_method("addNewDiagram", &workbench_physical_Model::call_addNewDiagram);
}
};
inline void register_structs_workbench_physical_xml()
{
grt::internal::ClassRegistry::register_class<workbench_physical_Layer>();
grt::internal::ClassRegistry::register_class<workbench_physical_Connection>();
grt::internal::ClassRegistry::register_class<workbench_physical_RoutineGroupFigure>();
grt::internal::ClassRegistry::register_class<workbench_physical_ViewFigure>();
grt::internal::ClassRegistry::register_class<workbench_physical_TableFigure>();
grt::internal::ClassRegistry::register_class<workbench_physical_Diagram>();
grt::internal::ClassRegistry::register_class<workbench_physical_Model>();
}
#ifdef AUTO_REGISTER_GRT_CLASSES
static struct _autoreg__structs_workbench_physical_xml { _autoreg__structs_workbench_physical_xml() { register_structs_workbench_physical_xml(); } } __autoreg__structs_workbench_physical_xml;
#endif
|