Skip to content

Conversation

@tom-hg57
Copy link
Collaborator

@tom-hg57 tom-hg57 commented Jul 8, 2025

  • Update generated cpp files created by cimgen
    • Fix custom namespace in cpp reader (e.g. entsoe in CGMES2, eu in CGMES3))
    • Fix custom namespace in cpp writer (e.g. "entsoe" in CGMES2, "eu" in CGMES3; using new generated functions getClassNamespaceUrl and getAttr>
    • Add function isAssignableFrom to fix parsing objects with changing types (e.g. first as Equipment, than as PowerTransformer)
  • Add writeFile and writeCim to CIMWriter (write to just one file/stream, regardless of profiles)
  • Fix custom namespace in cpp reader (e.g. entsoe in CGMES2, eu in CGMES3)
  • Fix custom namespace in cpp writer (e.g. "entsoe" in CGMES2, "eu" in CGMES3; using new generated functions getClassNamespaceUrl and getAttributeNamespaceUrl)
  • Fix isClassMatchingProfile in cpp writer (class is also matching if it contains attributes for the profile)
  • Fix parsing objects with changing types (e.g. first as Equipment, than as PowerTransformer)
  • Optimize reader performance (change Task::resolve() to const, don't erase tasks in resolveRDFRelations)
  • Add unit tests
  • Add installation of Boost to github workflows
  • Add running of unit tests to build-src workflows
  • Add installation of Boost to Dockerfile for packaging with cpack in release workflow
  • Fix unit tests in github workflows
  • Add missing documentation of parameter objList in CIMWriter.hpp

tom-hg57 added 8 commits July 7, 2025 01:41
- Fix custom namespace in cpp reader (e.g. entsoe in CGMES2, eu in CGMES3))
- Fix custom namespace in cpp writer (e.g. "entsoe" in CGMES2, "eu" in CGMES3; using new generated functions getClassNamespaceUrl and getAttributeNamespaceUrl)
- Add function isAssignableFrom to fix parsing objects with changing types (e.g. first as Equipment, than as PowerTransformer)

Signed-off-by: Thomas Günther <tom@toms-cafe.de>
…m, regardless of profiles)

Signed-off-by: Thomas Günther <tom@toms-cafe.de>
Signed-off-by: Thomas Günther <tom@toms-cafe.de>
…CGMES3; using new generated functions getClassNamespaceUrl and getAttributeNamespaceUrl)

Signed-off-by: Thomas Günther <tom@toms-cafe.de>
…t contains attributes for the profile)

Signed-off-by: Thomas Günther <tom@toms-cafe.de>
…n as PowerTransformer)

Signed-off-by: Thomas Günther <tom@toms-cafe.de>
…rase tasks in resolveRDFRelations)

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 July 8, 2025 01:05
tom-hg57 added 5 commits July 9, 2025 00:51
Signed-off-by: Thomas Günther <tom@toms-cafe.de>
Signed-off-by: Thomas Günther <tom@toms-cafe.de>
…elease workflow

Signed-off-by: Thomas Günther <tom@toms-cafe.de>
Signed-off-by: Thomas Günther <tom@toms-cafe.de>
Signed-off-by: Thomas Günther <tom@toms-cafe.de>
@tom-hg57 tom-hg57 merged commit 23d2dab into sogno-platform:master Jul 26, 2025
7 checks passed
@tom-hg57 tom-hg57 deleted the fix-custom-namespace-for-cpp branch July 26, 2025 17:44
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