Skip to content

Fix export constants for cpp - #51

Merged
tom-hg57 merged 4 commits into
sogno-platform:masterfrom
tom-hg57:fix-export-constants-for-cpp
Oct 30, 2026
Merged

tom-hg57 merged 4 commits into
sogno-platform:masterfrom
tom-hg57:fix-export-constants-for-cpp

Conversation

@tom-hg57

Copy link
Copy Markdown
Collaborator
  • Update generated cpp files created by cimgen
    • Fix export of constants for cpp: replace constants with getter functions
      • CimVersion -> getCimVersion()
      • NamespaceMap -> getNamespaceMap()
      • CIMClassList -> getCIMClassList()
    • Install all cpp files — whether generated or hardcoded — in the same directory
  • Adapt sources to new getter functions
  • Remove cim version check from ModelDescriptionHandler (not working any more)
  • Move all remaining sources from static to src

- Fix export of constants for cpp: replace constants with getter functions
  - CimVersion -> getCimVersion()
  - NamespaceMap -> getNamespaceMap()
  - CIMClassList -> getCIMClassList()
- Install all cpp files — whether generated or hardcoded — in the same directory

Signed-off-by: Thomas Günther <tom@toms-cafe.de>
Signed-off-by: Thomas Günther <tom@toms-cafe.de>
…y more)

Signed-off-by: Thomas Günther <tom@toms-cafe.de>
Signed-off-by: Thomas Günther <tom@toms-cafe.de>
@tom-hg57
tom-hg57 requested a review from m-mirz October 28, 2026 22:10
@tom-hg57 tom-hg57 self-assigned this Oct 28, 2026
@tom-hg57
tom-hg57 merged commit 4ec1d46 into sogno-platform:master Oct 30, 2026
12 checks passed
@tom-hg57
tom-hg57 deleted the fix-export-constants-for-cpp branch October 30, 2026 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants