Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_vfs_const_objects.c
Go to the documentation of this file.
1 // See the 'COPYING' file in the project root for licensing information.
2 /*
3  * Adaptive Framework Const
4  *
5  * Copyright (c) 2010-2023 Clemson University
6  *
7  */
8 
9 /* ----------------------------- N O T E -------------------------------------
10  *
11  * This file is generated by "afwdev generate afw_vfs".
12  *
13  * Do not change this file directly or the changes will be lost the next time
14  * this file is regenerated.
15  *
16  * -------------------------------------------------------------------------*/
17 
18 
19 
25 #include "afw.h"
26 #include "afw_vfs_generated.h"
27 
28 
30 impl_1;
31 
33 impl_2;
34 
35 /*
36  * /afw/_AdaptiveObjectType_/_AdaptiveAdaptorTypeSpecific_vfs_retrieve_objects/otherProperties
37  */
38 
40 impl_2_property_brief = {
41  "brief",
42  {
44  .string = "Custom property"
45  }
46 };
47 
49 impl_2_property_description = {
50  "description",
51  {
53  .string = "Custom property."
54  }
55 };
56 
58 impl_2_properties[] = {
59  &impl_2_property_brief,
60  &impl_2_property_description,
61  NULL
62 };
63 
65 impl_2 = {
66  &impl_2_properties[0]
67 };
68 
70 impl_3;
71 
73 impl_4;
74 
75 /*
76  * /afw/_AdaptiveObjectType_/_AdaptiveAdaptorTypeSpecific_vfs_retrieve_objects/propertyTypes/includeHidden
77  */
78 
80 impl_4_property_brief = {
81  "brief",
82  {
84  .string = "Include"
85  }
86 };
87 
89 impl_4_property_dataType = {
90  "dataType",
91  {
93  .string = "boolean"
94  }
95 };
96 
98 impl_4_property_description = {
99  "description",
100  {
102  .string = "If true, filenames that begin with dot ('.') will be included."
103  }
104 };
105 
107 impl_4_property_label = {
108  "label",
109  {
111  .string = "Include Hidden"
112  }
113 };
114 
116 impl_4_property_required = {
117  "required",
118  {
120  .boolean = false
121  }
122 };
123 
125 impl_4_properties[] = {
126  &impl_4_property_brief,
127  &impl_4_property_dataType,
128  &impl_4_property_description,
129  &impl_4_property_label,
130  &impl_4_property_required,
131  NULL
132 };
133 
135 impl_4 = {
136  &impl_4_properties[0]
137 };
138 
140 impl_5;
141 
142 /*
143  * /afw/_AdaptiveObjectType_/_AdaptiveAdaptorTypeSpecific_vfs_retrieve_objects/propertyTypes/recursive
144  */
145 
147 impl_5_property_brief = {
148  "brief",
149  {
151  .string = "Recursively traverse directories"
152  }
153 };
154 
156 impl_5_property_dataType = {
157  "dataType",
158  {
160  .string = "boolean"
161  }
162 };
163 
165 impl_5_property_description = {
166  "description",
167  {
169  .string = "If true, directories will be recursively traversed."
170  }
171 };
172 
174 impl_5_property_label = {
175  "label",
176  {
178  .string = "Recursive"
179  }
180 };
181 
183 impl_5_property_required = {
184  "required",
185  {
187  .boolean = false
188  }
189 };
190 
192 impl_5_properties[] = {
193  &impl_5_property_brief,
194  &impl_5_property_dataType,
195  &impl_5_property_description,
196  &impl_5_property_label,
197  &impl_5_property_required,
198  NULL
199 };
200 
202 impl_5 = {
203  &impl_5_properties[0]
204 };
205 
207 impl_6;
208 
209 /*
210  * /afw/_AdaptiveObjectType_/_AdaptiveAdaptorTypeSpecific_vfs_retrieve_objects/propertyTypes/subdirectory
211  */
212 
214 impl_6_property_brief = {
215  "brief",
216  {
218  .string = "Subdirectory"
219  }
220 };
221 
223 impl_6_property_dataType = {
224  "dataType",
225  {
227  .string = "string"
228  }
229 };
230 
232 impl_6_property_description = {
233  "description",
234  {
236  .string = "If specified, the retrieve will start in the specified vfs subdirectory instead of the vfs root. The value can not start with '/', must end with '/', and can not contain '\\', './' or '../'."
237  }
238 };
239 
241 impl_6_property_label = {
242  "label",
243  {
245  .string = "Subdirectory"
246  }
247 };
248 
250 impl_6_property_required = {
251  "required",
252  {
254  .boolean = false
255  }
256 };
257 
259 impl_6_properties[] = {
260  &impl_6_property_brief,
261  &impl_6_property_dataType,
262  &impl_6_property_description,
263  &impl_6_property_label,
264  &impl_6_property_required,
265  NULL
266 };
267 
269 impl_6 = {
270  &impl_6_properties[0]
271 };
272 
274 impl_7;
275 
276 /*
277  * /afw/_AdaptiveObjectType_/_AdaptiveAdaptorTypeSpecific_vfs_retrieve_objects/propertyTypes/suffix
278  */
279 
281 impl_7_property_brief = {
282  "brief",
283  {
285  .string = "Filename suffix"
286  }
287 };
288 
290 impl_7_property_dataType = {
291  "dataType",
292  {
294  .string = "string"
295  }
296 };
297 
299 impl_7_property_description = {
300  "description",
301  {
303  .string = "If specified, only files with filenames that end with the specified suffix are included."
304  }
305 };
306 
308 impl_7_property_label = {
309  "label",
310  {
312  .string = "Filename Suffix"
313  }
314 };
315 
317 impl_7_property_required = {
318  "required",
319  {
321  .boolean = false
322  }
323 };
324 
326 impl_7_properties[] = {
327  &impl_7_property_brief,
328  &impl_7_property_dataType,
329  &impl_7_property_description,
330  &impl_7_property_label,
331  &impl_7_property_required,
332  NULL
333 };
334 
336 impl_7 = {
337  &impl_7_properties[0]
338 };
339 
340 /*
341  * /afw/_AdaptiveObjectType_/_AdaptiveAdaptorTypeSpecific_vfs_retrieve_objects/propertyTypes
342  */
343 
345 impl_3_property_includeHidden = {
346  "includeHidden",
347  {
349  .object = &impl_4
350  }
351 };
352 
354 impl_3_property_recursive = {
355  "recursive",
356  {
358  .object = &impl_5
359  }
360 };
361 
363 impl_3_property_subdirectory = {
364  "subdirectory",
365  {
367  .object = &impl_6
368  }
369 };
370 
372 impl_3_property_suffix = {
373  "suffix",
374  {
376  .object = &impl_7
377  }
378 };
379 
381 impl_3_properties[] = {
382  &impl_3_property_includeHidden,
383  &impl_3_property_recursive,
384  &impl_3_property_subdirectory,
385  &impl_3_property_suffix,
386  NULL
387 };
388 
390 impl_3 = {
391  &impl_3_properties[0]
392 };
393 
394 /*
395  * /afw/_AdaptiveObjectType_/_AdaptiveAdaptorTypeSpecific_vfs_retrieve_objects
396  */
397 
399 impl_1_property_allowAdd = {
400  "allowAdd",
401  {
403  .boolean = false
404  }
405 };
406 
408 impl_1_property_allowChange = {
409  "allowChange",
410  {
412  .boolean = false
413  }
414 };
415 
417 impl_1_property_allowDelete = {
418  "allowDelete",
419  {
421  .boolean = false
422  }
423 };
424 
426 impl_1_property_allowEntity = {
427  "allowEntity",
428  {
430  .boolean = false
431  }
432 };
433 
434 static const afw_utf8_t
435 impl_1_array_collectionURIs[] = {
436  AFW_UTF8_LITERAL("/afw/_AdaptiveCollection_/vfs_extension")
437 };
438 
440 impl_1_list_collectionURIs = {
441  AFW_UTF8_LITERAL("string"),
442  sizeof(impl_1_array_collectionURIs) / sizeof(afw_utf8_t),
443  (const void *)&impl_1_array_collectionURIs
444 };
445 
447 impl_1_property_collectionURIs = {
448  "collectionURIs",
449  {
451  .list = &impl_1_list_collectionURIs
452  }
453 };
454 
456 impl_1_property_description = {
457  "description",
458  {
460  .string = "This is the object type for the optional adaptorTypeSpecific parameter of the retrieve_objects() adaptive function when the adaptorType of the adaptorId is vfs."
461  }
462 };
463 
465 impl_1_property_objectType = {
466  "objectType",
467  {
469  .string = "_AdaptiveAdaptorTypeSpecific_vfs_retrieve_objects"
470  }
471 };
472 
474 impl_1_property_otherProperties = {
475  "otherProperties",
476  {
478  .object = &impl_2
479  }
480 };
481 
483 impl_1_property_propertyTypes = {
484  "propertyTypes",
485  {
487  .object = &impl_3
488  }
489 };
490 
492 impl_1_properties[] = {
493  &impl_1_property_allowAdd,
494  &impl_1_property_allowChange,
495  &impl_1_property_allowDelete,
496  &impl_1_property_allowEntity,
497  &impl_1_property_collectionURIs,
498  &impl_1_property_description,
499  &impl_1_property_objectType,
500  &impl_1_property_otherProperties,
501  &impl_1_property_propertyTypes,
502  NULL
503 };
504 
505 static const afw_utf8_t
506 impl_1_meta_path =
507  AFW_UTF8_LITERAL("/afw/_AdaptiveObjectType_/_AdaptiveAdaptorTypeSpecific_vfs_retrieve_objects");
508 
510 impl_1 = {
511  &afw_vfs_s__AdaptiveObjectType_,
512  &afw_vfs_s__AdaptiveAdaptorTypeSpecific_vfs_retrieve_objects,
513  &impl_1_meta_path,
514  &impl_1_properties[0]
515 };
516 
518 impl_8;
519 
521 impl_9;
522 
524 impl_10;
525 
526 /*
527  * /afw/_AdaptiveObjectType_/_AdaptiveConf_adaptor_vfs/propertyTypes/markExecutable
528  */
529 
531 impl_10_property_brief = {
532  "brief",
533  {
535  .string = "vfsPath filename patterns to mark as executable"
536  }
537 };
538 
540 impl_10_property_dataType = {
541  "dataType",
542  {
544  .string = "list"
545  }
546 };
547 
549 impl_10_property_dataTypeParameter = {
550  "dataTypeParameter",
551  {
553  .string = "string"
554  }
555 };
556 
558 impl_10_property_description = {
559  "description",
560  {
562  .string = "This is a list of vfsPath filename patterns whose host files should be marked as executable when written. For instance, [\"*.as\"] will mark Adaptive Scripts whose vfsPath ends with \".as\" as executable.\n\nA PATTERN match uses Apache apr function apr_fnmatch() which interprets a pattern as follows:\n\nThere are no illegal patterns.\n\nPATTERN: Backslash followed by any character, including another backslash.\nMATCHES: That character exactly.\n\nPATTERN: ?\nMATCHES: Any single character.\n\nPATTERN: *\nMATCHES: Any sequence of zero or more characters. (Note that multiple *s in a row are equivalent to one.)\n\nPATTERN: Any character other than \\?*[ or a \\ at the end of the pattern\nMATCHES: That character exactly. (Case sensitive.)\n\nPATTERN: [ followed by a class description followed by ]\nMATCHES: A single character described by the class description. (Never matches, if the class description reaches until the end of the string without a ].) If the first character of the class description is ^ or !, the sense of the description is reversed. The rest of the class description is a list of single characters or pairs of characters separated by -. Any of those characters can have a backslash in front of them, which is ignored; this lets you use the characters ] and - in the character class, as well as ^ and ! at the beginning. The pattern matches a single character if it is one of the listed characters or falls into one of the listed ranges (inclusive, case sensitive). Ranges with the first character larger than the second are legal but never match. Edge cases: [] never matches, and [^] and [!] always match without consuming a character.\n\nNote that these patterns attempt to match the entire vfsPath, not just find a substring matching the pattern."
563  }
564 };
565 
567 impl_10_property_label = {
568  "label",
569  {
571  .string = "Mark Executable"
572  }
573 };
574 
576 impl_10_properties[] = {
577  &impl_10_property_brief,
578  &impl_10_property_dataType,
579  &impl_10_property_dataTypeParameter,
580  &impl_10_property_description,
581  &impl_10_property_label,
582  NULL
583 };
584 
586 impl_10 = {
587  &impl_10_properties[0]
588 };
589 
591 impl_11;
592 
593 /*
594  * /afw/_AdaptiveObjectType_/_AdaptiveConf_adaptor_vfs/propertyTypes/vfsMap
595  */
596 
598 impl_11_property_brief = {
599  "brief",
600  {
602  .string = "VFS to operating system directory map"
603  }
604 };
605 
607 impl_11_property_dataType = {
608  "dataType",
609  {
611  .string = "list"
612  }
613 };
614 
616 impl_11_property_dataTypeParameter = {
617  "dataTypeParameter",
618  {
620  .string = "string"
621  }
622 };
623 
625 impl_11_property_description = {
626  "description",
627  {
629  .string = "This property is a list of vfs map entries.\n\nThe vfsPath of objects in this vfs adaptor is of the form:\n\n/<adaptorId>/<objectId>\n\nWhere <adaptorId> is the id of this adaptor and where <objectId> is the relative path from the vfs root directory (\"<adaptorId>/\") to the associated file or directory. An <objectId> of a directory ends with a slash ('/').\n\nEach vfsMap entry is a string of the form:\n\n<objectId_prefix>=<host file system directory path>\n\n<objectId_prefix> can be empty if the entry applies to files and directories in the vfs root directory or the objectId of a directory within the vfs.\n\nThe <host file system directory path> must end in a slash ('/'). A backslash is tolerated on a Windows host. The host system file path is the <objectId> with <objectId_prefix> removed appended to the associated <host file system directory path>.\n\nThe map entry with the longest matching <objectId_prefix> is the one used for any adaptor functions objectId parameter.\n\nFor retrieve_objects*() the entries are processed in longest to shortest <objectId_prefix> order. If \"subdirectory\" is supplied in the retrieve_objects*() adaptorSpecific parameter, only matching entries are used. Note, that depending on the vfsMap, a single physical file or directory can appear multiple times with different vfsPaths."
630  }
631 };
632 
634 impl_11_property_label = {
635  "label",
636  {
638  .string = "VFS Map"
639  }
640 };
641 
643 impl_11_property_required = {
644  "required",
645  {
647  .boolean = true
648  }
649 };
650 
652 impl_11_properties[] = {
653  &impl_11_property_brief,
654  &impl_11_property_dataType,
655  &impl_11_property_dataTypeParameter,
656  &impl_11_property_description,
657  &impl_11_property_label,
658  &impl_11_property_required,
659  NULL
660 };
661 
663 impl_11 = {
664  &impl_11_properties[0]
665 };
666 
667 /*
668  * /afw/_AdaptiveObjectType_/_AdaptiveConf_adaptor_vfs/propertyTypes
669  */
670 
672 impl_9_property_markExecutable = {
673  "markExecutable",
674  {
676  .object = &impl_10
677  }
678 };
679 
681 impl_9_property_vfsMap = {
682  "vfsMap",
683  {
685  .object = &impl_11
686  }
687 };
688 
690 impl_9_properties[] = {
691  &impl_9_property_markExecutable,
692  &impl_9_property_vfsMap,
693  NULL
694 };
695 
696 static const afw_utf8_t
697 impl_9_parentPaths_array[] = {
698  AFW_UTF8_LITERAL("/afw/_AdaptiveObjectType_/_AdaptiveConf_adaptor/propertyTypes")
699 };
700 
702 impl_9 = {
703  &impl_9_properties[0],
704  sizeof(impl_9_parentPaths_array) / sizeof(afw_utf8_t),
705  &impl_9_parentPaths_array[0]
706 };
707 
708 /*
709  * /afw/_AdaptiveObjectType_/_AdaptiveConf_adaptor_vfs
710  */
711 
713 impl_8_property_allowEntity = {
714  "allowEntity",
715  {
717  .boolean = false
718  }
719 };
720 
721 static const afw_utf8_t
722 impl_8_array_collectionURIs[] = {
723  AFW_UTF8_LITERAL("/afw/_AdaptiveCollection_/vfs_extension")
724 };
725 
727 impl_8_list_collectionURIs = {
728  AFW_UTF8_LITERAL("string"),
729  sizeof(impl_8_array_collectionURIs) / sizeof(afw_utf8_t),
730  (const void *)&impl_8_array_collectionURIs
731 };
732 
734 impl_8_property_collectionURIs = {
735  "collectionURIs",
736  {
738  .list = &impl_8_list_collectionURIs
739  }
740 };
741 
743 impl_8_property_description = {
744  "description",
745  {
747  .string = "Adaptive Framework configuration component for type=adaptor adaptorType=vfs. This is a virtual file system adaptor that allows files to be accessed as objects that have a \"data\" property and additional file stats properties. The vfs path to files begins with \"/\", the adaptor name, \"/_AdaptiveFile_vfs\". The path of the operating system directory as well as the paths to subdirectories are defined in the \"vfsMap\" property."
748  }
749 };
750 
752 impl_8_property_objectType = {
753  "objectType",
754  {
756  .string = "_AdaptiveConf_adaptor_vfs"
757  }
758 };
759 
761 impl_8_property_propertyTypes = {
762  "propertyTypes",
763  {
765  .object = &impl_9
766  }
767 };
768 
770 impl_8_properties[] = {
771  &impl_8_property_allowEntity,
772  &impl_8_property_collectionURIs,
773  &impl_8_property_description,
774  &impl_8_property_objectType,
775  &impl_8_property_propertyTypes,
776  NULL
777 };
778 
779 static const afw_utf8_t
780 impl_8_meta_path =
781  AFW_UTF8_LITERAL("/afw/_AdaptiveObjectType_/_AdaptiveConf_adaptor_vfs");
782 
784 impl_8 = {
785  &afw_vfs_s__AdaptiveObjectType_,
786  &afw_vfs_s__AdaptiveConf_adaptor_vfs,
787  &impl_8_meta_path,
788  &impl_8_properties[0]
789 };
790 
792 impl_12;
793 
795 impl_13;
796 
798 impl_14;
799 
800 /*
801  * /afw/_AdaptiveObjectType_/_AdaptiveFile_vfs/propertyTypes/data
802  */
803 
805 impl_14_property_brief = {
806  "brief",
807  {
809  .string = "Contents of file"
810  }
811 };
812 
814 impl_14_property_defaultValue = {
815  "defaultValue",
816  {
818  .string = ""
819  }
820 };
821 
823 impl_14_property_description = {
824  "description",
825  {
827  .string = "This is the contents of the file. If this is a directory, data is a list of strings containing the name from its entries. If this is not a directory and the data is valid utf-8, data is a string otherwise, it is hexBinary. This property is ignored when adding a directory."
828  }
829 };
830 
832 impl_14_property_label = {
833  "label",
834  {
836  .string = "Data"
837  }
838 };
839 
841 impl_14_property_required = {
842  "required",
843  {
845  .boolean = false
846  }
847 };
848 
850 impl_14_properties[] = {
851  &impl_14_property_brief,
852  &impl_14_property_defaultValue,
853  &impl_14_property_description,
854  &impl_14_property_label,
855  &impl_14_property_required,
856  NULL
857 };
858 
860 impl_14 = {
861  &impl_14_properties[0]
862 };
863 
865 impl_15;
866 
867 /*
868  * /afw/_AdaptiveObjectType_/_AdaptiveFile_vfs/propertyTypes/isDirectory
869  */
870 
872 impl_15_property_allowWrite = {
873  "allowWrite",
874  {
876  .boolean = false
877  }
878 };
879 
881 impl_15_property_brief = {
882  "brief",
883  {
885  .string = "Is directory"
886  }
887 };
888 
890 impl_15_property_dataType = {
891  "dataType",
892  {
894  .string = "boolean"
895  }
896 };
897 
899 impl_15_property_description = {
900  "description",
901  {
903  .string = "This is true if this is a directory. This property is read-only. A slash ('/') at the end of an objectId is used to indicate this in requests."
904  }
905 };
906 
908 impl_15_property_label = {
909  "label",
910  {
912  .string = "Is Directory"
913  }
914 };
915 
917 impl_15_properties[] = {
918  &impl_15_property_allowWrite,
919  &impl_15_property_brief,
920  &impl_15_property_dataType,
921  &impl_15_property_description,
922  &impl_15_property_label,
923  NULL
924 };
925 
927 impl_15 = {
928  &impl_15_properties[0]
929 };
930 
932 impl_16;
933 
934 /*
935  * /afw/_AdaptiveObjectType_/_AdaptiveFile_vfs/propertyTypes/timeAccessed
936  */
937 
939 impl_16_property_brief = {
940  "brief",
941  {
943  .string = "Time last accessed"
944  }
945 };
946 
948 impl_16_property_dataType = {
949  "dataType",
950  {
952  .string = "dateTime"
953  }
954 };
955 
957 impl_16_property_description = {
958  "description",
959  {
961  .string = "This is the time the file was last accessed."
962  }
963 };
964 
966 impl_16_property_label = {
967  "label",
968  {
970  .string = "Time Accessed"
971  }
972 };
973 
975 impl_16_property_required = {
976  "required",
977  {
979  .boolean = false
980  }
981 };
982 
984 impl_16_properties[] = {
985  &impl_16_property_brief,
986  &impl_16_property_dataType,
987  &impl_16_property_description,
988  &impl_16_property_label,
989  &impl_16_property_required,
990  NULL
991 };
992 
994 impl_16 = {
995  &impl_16_properties[0]
996 };
997 
999 impl_17;
1000 
1001 /*
1002  * /afw/_AdaptiveObjectType_/_AdaptiveFile_vfs/propertyTypes/timeCreated
1003  */
1004 
1006 impl_17_property_brief = {
1007  "brief",
1008  {
1010  .string = "Time created"
1011  }
1012 };
1013 
1015 impl_17_property_dataType = {
1016  "dataType",
1017  {
1019  .string = "dateTime"
1020  }
1021 };
1022 
1024 impl_17_property_description = {
1025  "description",
1026  {
1028  .string = "This is the time the file was created."
1029  }
1030 };
1031 
1033 impl_17_property_label = {
1034  "label",
1035  {
1037  .string = "Time Created"
1038  }
1039 };
1040 
1042 impl_17_property_required = {
1043  "required",
1044  {
1046  .boolean = false
1047  }
1048 };
1049 
1050 static const afw_runtime_unresolved_property_t *
1051 impl_17_properties[] = {
1052  &impl_17_property_brief,
1053  &impl_17_property_dataType,
1054  &impl_17_property_description,
1055  &impl_17_property_label,
1056  &impl_17_property_required,
1057  NULL
1058 };
1059 
1061 impl_17 = {
1062  &impl_17_properties[0]
1063 };
1064 
1066 impl_18;
1067 
1068 /*
1069  * /afw/_AdaptiveObjectType_/_AdaptiveFile_vfs/propertyTypes/timeModified
1070  */
1071 
1073 impl_18_property_brief = {
1074  "brief",
1075  {
1077  .string = "Time last modified"
1078  }
1079 };
1080 
1082 impl_18_property_dataType = {
1083  "dataType",
1084  {
1086  .string = "dateTime"
1087  }
1088 };
1089 
1091 impl_18_property_description = {
1092  "description",
1093  {
1095  .string = "This is the time the file was last modified."
1096  }
1097 };
1098 
1100 impl_18_property_label = {
1101  "label",
1102  {
1104  .string = "Time Modified"
1105  }
1106 };
1107 
1109 impl_18_property_required = {
1110  "required",
1111  {
1113  .boolean = false
1114  }
1115 };
1116 
1117 static const afw_runtime_unresolved_property_t *
1118 impl_18_properties[] = {
1119  &impl_18_property_brief,
1120  &impl_18_property_dataType,
1121  &impl_18_property_description,
1122  &impl_18_property_label,
1123  &impl_18_property_required,
1124  NULL
1125 };
1126 
1128 impl_18 = {
1129  &impl_18_properties[0]
1130 };
1131 
1133 impl_19;
1134 
1135 /*
1136  * /afw/_AdaptiveObjectType_/_AdaptiveFile_vfs/propertyTypes/vfsPath
1137  */
1138 
1140 impl_19_property_allowWrite = {
1141  "allowWrite",
1142  {
1144  .boolean = false
1145  }
1146 };
1147 
1149 impl_19_property_brief = {
1150  "brief",
1151  {
1153  .string = "VFS path"
1154  }
1155 };
1156 
1158 impl_19_property_dataType = {
1159  "dataType",
1160  {
1162  .string = "anyURI"
1163  }
1164 };
1165 
1167 impl_19_property_description = {
1168  "description",
1169  {
1171  .string = "This is the vfs path within this instance of Adaptive Framework. This property is read-only."
1172  }
1173 };
1174 
1176 impl_19_property_label = {
1177  "label",
1178  {
1180  .string = "VFS Path"
1181  }
1182 };
1183 
1184 static const afw_runtime_unresolved_property_t *
1185 impl_19_properties[] = {
1186  &impl_19_property_allowWrite,
1187  &impl_19_property_brief,
1188  &impl_19_property_dataType,
1189  &impl_19_property_description,
1190  &impl_19_property_label,
1191  NULL
1192 };
1193 
1195 impl_19 = {
1196  &impl_19_properties[0]
1197 };
1198 
1199 /*
1200  * /afw/_AdaptiveObjectType_/_AdaptiveFile_vfs/propertyTypes
1201  */
1202 
1204 impl_13_property_data = {
1205  "data",
1206  {
1208  .object = &impl_14
1209  }
1210 };
1211 
1213 impl_13_property_isDirectory = {
1214  "isDirectory",
1215  {
1217  .object = &impl_15
1218  }
1219 };
1220 
1222 impl_13_property_timeAccessed = {
1223  "timeAccessed",
1224  {
1226  .object = &impl_16
1227  }
1228 };
1229 
1231 impl_13_property_timeCreated = {
1232  "timeCreated",
1233  {
1235  .object = &impl_17
1236  }
1237 };
1238 
1240 impl_13_property_timeModified = {
1241  "timeModified",
1242  {
1244  .object = &impl_18
1245  }
1246 };
1247 
1249 impl_13_property_vfsPath = {
1250  "vfsPath",
1251  {
1253  .object = &impl_19
1254  }
1255 };
1256 
1257 static const afw_runtime_unresolved_property_t *
1258 impl_13_properties[] = {
1259  &impl_13_property_data,
1260  &impl_13_property_isDirectory,
1261  &impl_13_property_timeAccessed,
1262  &impl_13_property_timeCreated,
1263  &impl_13_property_timeModified,
1264  &impl_13_property_vfsPath,
1265  NULL
1266 };
1267 
1269 impl_13 = {
1270  &impl_13_properties[0]
1271 };
1272 
1273 /*
1274  * /afw/_AdaptiveObjectType_/_AdaptiveFile_vfs
1275  */
1276 
1278 impl_12_property_allowEntity = {
1279  "allowEntity",
1280  {
1282  .boolean = true
1283  }
1284 };
1285 
1286 static const afw_utf8_t
1287 impl_12_array_collectionURIs[] = {
1288  AFW_UTF8_LITERAL("/afw/_AdaptiveCollection_/vfs_extension")
1289 };
1290 
1292 impl_12_list_collectionURIs = {
1293  AFW_UTF8_LITERAL("string"),
1294  sizeof(impl_12_array_collectionURIs) / sizeof(afw_utf8_t),
1295  (const void *)&impl_12_array_collectionURIs
1296 };
1297 
1299 impl_12_property_collectionURIs = {
1300  "collectionURIs",
1301  {
1303  .list = &impl_12_list_collectionURIs
1304  }
1305 };
1306 
1308 impl_12_property_description = {
1309  "description",
1310  {
1312  .string = "This is the single object type of objects in a vfs adaptor."
1313  }
1314 };
1315 
1317 impl_12_property_objectType = {
1318  "objectType",
1319  {
1321  .string = "_AdaptiveFile_vfs"
1322  }
1323 };
1324 
1326 impl_12_property_propertyTypes = {
1327  "propertyTypes",
1328  {
1330  .object = &impl_13
1331  }
1332 };
1333 
1334 static const afw_runtime_unresolved_property_t *
1335 impl_12_properties[] = {
1336  &impl_12_property_allowEntity,
1337  &impl_12_property_collectionURIs,
1338  &impl_12_property_description,
1339  &impl_12_property_objectType,
1340  &impl_12_property_propertyTypes,
1341  NULL
1342 };
1343 
1344 static const afw_utf8_t
1345 impl_12_meta_path =
1346  AFW_UTF8_LITERAL("/afw/_AdaptiveObjectType_/_AdaptiveFile_vfs");
1347 
1349 impl_12 = {
1350  &afw_vfs_s__AdaptiveObjectType_,
1351  &afw_vfs_s__AdaptiveFile_vfs,
1352  &impl_12_meta_path,
1353  &impl_12_properties[0]
1354 };
1355 
1356 /* NULL terminated list of unresolved objects. */
1358 impl_const_objects[] = {
1359  &impl_1,
1360  &impl_8,
1361  &impl_12,
1362  NULL
1363 };
1364 
1365 /* Resolved and set const objects */
1366 void
1368 {
1370  &impl_const_objects[0], false, xctx);
1371 }
Adaptive Framework Core API.
void afw_vfs_const_objects_register(afw_xctx_t *xctx)
Get array of afw_vfs_ const objects.
Adaptive Framework register generated (afw_vfs) header.
#define AFW_UTF8_LITERAL(A_STRING)
String literal initializer.
Definition: afw_common.h:582
afw_runtime_env_resolve_and_set_const_objects(const afw_runtime_unresolved_const_object_t *const *unresolved, afw_boolean_t overwrite, afw_xctx_t *xctx)
Resolve and set a NULL terminated list of object pointers in the xctx's runtime objects.
Definition: afw_runtime.c:750
@ afw_runtime_unresolved_primitive_type_list
Definition: afw_runtime.h:278
@ afw_runtime_unresolved_primitive_type_string
value points to afw_utf8_z_t.
Definition: afw_runtime.h:287
@ afw_runtime_unresolved_primitive_type_object
Definition: afw_runtime.h:284
@ afw_runtime_unresolved_primitive_type_boolean
Definition: afw_runtime.h:269
Runtime unresolved property.
Definition: afw_runtime.h:313
NFC normalized UTF-8 string.
Definition: afw_common.h:545
Interface afw_xctx public struct.