Gromacs  2022.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Friends
gmx::KeyValueTreeObjectArrayBuilder Class Reference

#include <gromacs/utility/keyvaluetreebuilder.h>

Inherits gmx::KeyValueTreeArrayBuilderBase.

Description

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...
 

Protected Member Functions

KeyValueTreeValue & addRawValue (Any &&value)
 Appends a raw Any value to the array.
 
KeyValueTreeValue & addRawValue (KeyValueTreeValue &&value)
 Appends a raw KeyValueTreeValue to the array.
 

Friends

class KeyValueTreeObjectBuilder
 

Member Function Documentation

KeyValueTreeObjectBuilder gmx::KeyValueTreeObjectArrayBuilder::addObject ( )
inline

Appends an object to the array.

The object is created empty and can be built using the returned builder.


The documentation for this class was generated from the following file: