Question on Property Kind Classification in RESQML #366
Replies: 1 comment
-
|
Hi @Pamrapalip1026 First of all, you need a DataObjectRepository created with the resource directory where the property kinds are defined such as the "ressources" directory of the fesapi project fesapi/src/common/DataObjectRepository.h Line 189 in 8ad484b Then, you have two different property kinds in RESQML:
If you want to check an enum of standard property kind:
If you want to check a class property kind instance:
Finally, FESAPI already provides some methods to validate a property according to its kind. It is even automatically done at epc deserialization time if your DataObjectRepository has been created with a correct resource directory. The called mehod is fesapi/src/resqml2/AbstractProperty.h Lines 399 to 404 in 8ad484b which calls in cascade one of this method fesapi/src/resqml2/AbstractProperty.h Lines 381 to 397 in 8ad484b |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Philippe,
I hope you’re doing well!
In RESQML, there are three standard property kinds:
I want to determine programmatically which standard property kind (Continuous, Discrete, or Categorical) a given property kind (e.g., X) belongs to. For example, density should be identified as a child of Continuous.

Looking forward to your thoughts.
Beta Was this translation helpful? Give feedback.
All reactions