Function yamlObject

Meant to be added to components that can be set from YAML.

Prototype

YamlUDA yamlObject(
  string name
) auto;

Example

@yamlObject("Test")
class Test : YamlObject
{
    @field("X")
    int x;
}

Authors

Copyright

License