Skip to content

How to programmatically get values out of a Pool in C++...? #1355

Open
@jamiebullock

Description

@jamiebullock

In Python we can get all the values from a Pool as simply as pool[name] for name in pool.descriptorNames()

Is there any equivalent for C++...?

We can get the descriptor names, but then it seems like the caller needs to know the C++ type for each value. So it either needs store some kind of mapping of descriptor keys to types, or just try / catch on Pool::value<T> for each possible type.

What's the recommended approach?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions