ppap4lmp  0.7.2
generator.h File Reference

This file has a definition of Generator class, which is one of the cores of this program. More...

#include <alias/std.h>
#include <alias/json.h>
Include dependency graph for generator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Generator
 Generator is an abstract class to generate data. More...
 

Typedefs

using UpdatePair = std::pair< ShPtr< Element >, ShPtr< Updater > >
 UpdatePair is a pair of shared pointer of Element class and Updater class. More...
 

Detailed Description

This file has a definition of Generator class, which is one of the cores of this program.

Author
Takayuki Kobayashi
Date
2018/06/21

Definition in file generator.h.

Typedef Documentation

◆ UpdatePair

using UpdatePair = std::pair<ShPtr<Element>,ShPtr<Updater> >

UpdatePair is a pair of shared pointer of Element class and Updater class.

The Updater object updates Element::data of the Element object (in other words, the Element object calls Element::update_data taking the Updater object as its parameter). An UpdatePair object is created only in Element::append_updater.

Definition at line 27 of file generator.h.