Skip to content

Conversation

@tom-hg57
Copy link
Collaborator

  • Update generated cpp files created by cimgen
    • Optimize includes in cpp templates
    • Improve code in cpp templates
    • Improve doc strings in cpp templates
    • Improve formatting of cpp templates
    • Improve order of assign and get functions (now equal to order of attributes in header file)
    • Add creation of constants for cpp, generating all namespaces in CimConstants.hpp/cpp;
      add version to constants for cpp (needed to test custom namespaces in unit tests);
      remove getCimNamespace() from CGMESProfile.hpp/cpp (use NamespaceMap.at("cim") from CimConstants now)
  • Adapt CIMWriter to new CimConstants: NamespaceMap.at("cim") instead of getCimNamespace()

tom-hg57 added 2 commits June 19, 2025 01:57
- Optimize includes in cpp templates
- Improve code in cpp templates
- Improve doc strings in cpp templates
- Improve formatting of cpp templates
- Improve order of assign and get functions (now equal to order of attributes in header file)
- Add creation of constants for cpp, generating all namespaces in CimConstants.hpp/cpp;
  add version to constants for cpp (needed to test custom namespaces in unit tests);
  remove getCimNamespace() from CGMESProfile.hpp/cpp (use NamespaceMap.at("cim") from CimConstants now)

Signed-off-by: Thomas Günther <tom@toms-cafe.de>
…im") from CimConstants now instead of getCimNamespace() from CGMESProfile)

Signed-off-by: Thomas Günther <tom@toms-cafe.de>
@tom-hg57 tom-hg57 requested a review from m-mirz June 19, 2025 00:07
@tom-hg57 tom-hg57 force-pushed the improve-cpp-templates branch from 200adeb to 79c7b03 Compare June 19, 2025 22:19
@tom-hg57 tom-hg57 merged commit 44c283d into sogno-platform:master Jun 19, 2025
7 checks passed
@tom-hg57 tom-hg57 deleted the improve-cpp-templates branch June 19, 2025 22:48
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