Gromacs
2025-dev-20241008-cf8b9ef
|
#include <gromacs/utility/include/gromacs/utility/keyvaluetreebuilder.h>
Builder for KeyValueTreeValue objects.
This builder can be constructed directly and can create self-standing KeyValueTreeValue objects.
Public Member Functions | |
template<typename T > | |
void | setValue (const T &value) |
Assigns a scalar value of certain type. | |
void | setAnyValue (Any &&value) |
Assigns a Any value to the built value. | |
KeyValueTreeObjectBuilder | createObject () |
Returns an object builder for building an object into this value. More... | |
KeyValueTreeArrayBuilder | createArray () |
Returns an array builder for building an array into this value. More... | |
KeyValueTreeValue | build () |
Builds the final value. More... | |
|
inline |
Builds the final value.
The builder should not be accessed after this call.
|
inline |
Returns an array builder for building an array into this value.
Any method call in this value builder invalidates the returned builder.
|
inline |
Returns an object builder for building an object into this value.
Any method call in this value builder invalidates the returned builder.