Add conditional load of newest classes/nodes.
To be able to have new GeoModel nodes/classes while not breaking the load of DBs generated with an earlier version of GeoModel, I added an 'optional' flag to the calls loading the new nodes from the DB. In that way, when loading a DB where we don't expect to see those new nodes, we have no errors as expected. To achieve that, I also added the optional flag to the 'checkDBTable' and 'getPublishedNodes' methods.
parent
3dd09442
No related branches found
No related tags found
Pipeline #7712536 failed
Stage: step-A
Stage: step-B
Stage: step-C
Stage: step-D
Stage: step-E
Stage: test
Showing
- GeoModelExamples/HelloToy/step2_read_geo_and_published_nodes.cpp 3 additions, 3 deletions...lExamples/HelloToy/step2_read_geo_and_published_nodes.cpp
- GeoModelIO/GeoModelDBManager/GeoModelDBManager/GMDBManager.h 4 additions, 4 deletionsGeoModelIO/GeoModelDBManager/GeoModelDBManager/GMDBManager.h
- GeoModelIO/GeoModelDBManager/src/GMDBManager.cpp 76 additions, 42 deletionsGeoModelIO/GeoModelDBManager/src/GMDBManager.cpp
- GeoModelIO/GeoModelRead/GeoModelRead/ReadGeoModel.h 2 additions, 1 deletionGeoModelIO/GeoModelRead/GeoModelRead/ReadGeoModel.h
- GeoModelIO/GeoModelRead/GeoModelRead/ReadGeoModel.tpp 3 additions, 5 deletionsGeoModelIO/GeoModelRead/GeoModelRead/ReadGeoModel.tpp
- GeoModelIO/GeoModelRead/src/ReadGeoModel.cpp 27 additions, 3 deletionsGeoModelIO/GeoModelRead/src/ReadGeoModel.cpp
Loading
Please register or sign in to comment