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

#include <gromacs/utility/keyvaluetreebuilder.h>

Inherits gmx::KeyValueTreeArrayBuilderBase.

Description

template<typename T>
class gmx::KeyValueTreeUniformArrayBuilder< T >

Builder for KeyValueTreeArray objects where all elements are of type T.

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

void addValue (const T &value)
 Appends a value to the array.
 

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.
 

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