Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional overloads for get() #56

Open
tclune opened this issue Jun 23, 2022 · 0 comments
Open

Additional overloads for get() #56

tclune opened this issue Jun 23, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@tclune
Copy link
Member

tclune commented Jun 23, 2022

Currently YAML_Node has getters for scalars:

  • integer (INT32 and INT64)
  • real (REAL32 and REAL64)
  • logical
  • string
    There are also getters for 1D allocatable arrays of the above except string.

The Fortran use case for 2D arrays is common enough that it is probably worth adding an accessor for this.

Possibly add an interface to get non allocatable arrays. Would need a different method name though.

Possibly also add support to get() gFTL containers:

  • StringVector
  • IntegerVector (32 & 64)
  • RealVector (32 & 64)
  • LogicalVector
@tclune tclune added the enhancement New feature or request label Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant