Skip to content

Implement universal presets #484

@PaulRalnikov

Description

@PaulRalnikov

Currently topology parser supports presets only for links. Needs to add support for all types of objects. Supposed plan:

  1. Change API & realization of objects parsers: currently most of them takes one ConfigNode (maybe with some additional info) that they should parse into concrete object. In new implementation parsers should take two nodes: main node and preset node (last one should be used if some field is missing in main node). Also it might be useful to wrap preset node with std::optional
  2. Replace old way of link presets with new one
  3. Add preset for flows in simulation configs

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions