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

#include <gromacs/utility/keyvaluetreebuilder.h>

Description

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

Member Function Documentation

KeyValueTreeValue gmx::KeyValueTreeValueBuilder::build ( )
inline

Builds the final value.

The builder should not be accessed after this call.

KeyValueTreeArrayBuilder gmx::KeyValueTreeValueBuilder::createArray ( )
inline

Returns an array builder for building an array into this value.

Any method call in this value builder invalidates the returned builder.

KeyValueTreeObjectBuilder gmx::KeyValueTreeValueBuilder::createObject ( )
inline

Returns an object builder for building an object into this value.

Any method call in this value builder invalidates the returned builder.


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