Reference documentation for deal.II version Git 689de043d4 2020-08-10 16:46:15 +0200
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Public Types | Public Member Functions | Public Attributes | List of all members
MultipleParameterLoop::Entry Class Reference

Public Types

enum  MultipleEntryType { variant, array }

Public Member Functions

 Entry ()
 Entry (const std::vector< std::string > &Path, const std::string &Name, const std::string &Value)
void split_different_values ()
std::size_t memory_consumption () const

Public Attributes

std::vector< std::string > subsection_path
std::string entry_name
std::string entry_value
std::vector< std::string > different_values
MultipleEntryType type

Detailed Description

An object in the list of entries with multiple values.

Definition at line 2171 of file parameter_handler.h.

Member Enumeration Documentation

◆ MultipleEntryType

Declare what a multiple entry is: a variant entry (in curly braces {, }) or an array (in double curly braces {{, }}).


A variant entry.


An array entry.

Definition at line 2179 of file parameter_handler.h.

Constructor & Destructor Documentation

◆ Entry() [1/2]

MultipleParameterLoop::Entry::Entry ( )


Definition at line 2194 of file parameter_handler.h.

◆ Entry() [2/2]

MultipleParameterLoop::Entry::Entry ( const std::vector< std::string > &  Path,
const std::string &  Name,
const std::string &  Value 

Construct an object with given subsection path, name and value. The splitting up into the different variants is done later by split_different_values.

Definition at line 2240 of file

Member Function Documentation

◆ split_different_values()

void MultipleParameterLoop::Entry::split_different_values ( )

Split the entry value into the different branches.

Definition at line 2252 of file

◆ memory_consumption()

std::size_t MultipleParameterLoop::Entry::memory_consumption ( ) const

Determine an estimate for the memory consumption (in bytes) of this object.

Definition at line 2304 of file

Member Data Documentation

◆ subsection_path

std::vector<std::string> MultipleParameterLoop::Entry::subsection_path

Path to variant entry.

Definition at line 2216 of file parameter_handler.h.

◆ entry_name

std::string MultipleParameterLoop::Entry::entry_name

Name of entry.

Definition at line 2221 of file parameter_handler.h.

◆ entry_value

std::string MultipleParameterLoop::Entry::entry_value

Original variant value.

Definition at line 2226 of file parameter_handler.h.

◆ different_values

std::vector<std::string> MultipleParameterLoop::Entry::different_values

List of entry values constructed out of what was given in the input file.

Definition at line 2232 of file parameter_handler.h.

◆ type

MultipleEntryType MultipleParameterLoop::Entry::type

Store whether this entry is a variant entry or an array.

Definition at line 2237 of file parameter_handler.h.

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