Gromacs
2025.0-dev-20241011-013a99c
|
#include <gromacs/utility/include/gromacs/utility/keyvaluetreebuilder.h>
Inherits gmx::KeyValueTreeArrayBuilderBase.
Builder for KeyValueTreeArray objects where all elements are KeyValueTreeObject objects.
The builder does not own the array being constructed, but instead holds a reference to an object within a tree rooted in KeyValueTreeBuilder or KeyValueTreeValueBuilder.
Public Member Functions | |
KeyValueTreeObjectBuilder | addObject () |
Appends an object to the array. More... | |
Friends | |
class | KeyValueTreeObjectBuilder |
Additional Inherited Members | |
Protected Member Functions inherited from gmx::KeyValueTreeArrayBuilderBase | |
KeyValueTreeArrayBuilderBase (KeyValueTreeArray *array) | |
Creates an array builder for populating given array object. | |
KeyValueTreeValue & | addRawValue (Any &&value) |
Appends a raw Any value to the array. | |
KeyValueTreeValue & | addRawValue (KeyValueTreeValue &&value) |
Appends a raw KeyValueTreeValue to the array. | |
|
inline |
Appends an object to the array.
The object is created empty and can be built using the returned builder.