Utopia  2
Framework for studying models of complex & adaptive systems.
Public Types | Public Member Functions | Public Attributes | List of all members
Utopia::StateContainer< StateType, Update::manual > Class Template Reference

A very simple, default constructible container with public members. More...

#include <state.hh>

Public Types

using State = StateType
 

Public Member Functions

 StateContainer (const State state_initial)
 Construct state container with specific state. More...
 

Public Attributes

State state
 

Detailed Description

template<typename StateType>
class Utopia::StateContainer< StateType, Update::manual >

A very simple, default constructible container with public members.

Member Typedef Documentation

◆ State

template<typename StateType >
using Utopia::StateContainer< StateType, Update::manual >::State = StateType

Constructor & Destructor Documentation

◆ StateContainer()

template<typename StateType >
Utopia::StateContainer< StateType, Update::manual >::StateContainer ( const State  state_initial)
inline

Construct state container with specific state.

This is required to support initialization without braces, as used for the other state containers.

Member Data Documentation

◆ state

template<typename StateType >
State Utopia::StateContainer< StateType, Update::manual >::state

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