Flow123d  release_2.2.0-914-gf1a3a4f
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
OutputTimeSet Class Reference

#include <output_time_set.hh>

Public Member Functions

void read_from_input (Input::Array in_array, const TimeGovernor &tg)
 
void read_from_input (Input::Array in_array, const TimeGovernor &tg, TimeMark::Type mark_type)
 
bool contains (TimeMark mark) const
 
void add (double begin, TimeMark::Type mark_type)
 
void add (double begin, double step, double end, TimeMark::Type mark_type)
 

Static Public Member Functions

static const Input::Type::Array get_input_type ()
 

Private Attributes

std::set< double > times_
 

Detailed Description

Set of times. Simple extension of std::set<double> providing initialization by an array of time grids. TODO: replace by std::set with non-member read and initialize functions.

Finally we store just doubles, since it is like a set of the time marks with same type. So we need not to save the type.

Definition at line 27 of file output_time_set.hh.

Member Function Documentation

void OutputTimeSet::add ( double  begin,
TimeMark::Type  mark_type 
)

Definition at line 72 of file output_time_set.cc.

Here is the caller graph for this function:

void OutputTimeSet::add ( double  begin,
double  step,
double  end,
TimeMark::Type  mark_type 
)

Definition at line 82 of file output_time_set.cc.

bool OutputTimeSet::contains ( TimeMark  mark) const

Definition at line 67 of file output_time_set.cc.

const IT::Array OutputTimeSet::get_input_type ( )
static

Definition at line 17 of file output_time_set.cc.

Here is the caller graph for this function:

void OutputTimeSet::read_from_input ( Input::Array  in_array,
const TimeGovernor tg 
)

Definition at line 33 of file output_time_set.cc.

Here is the caller graph for this function:

void OutputTimeSet::read_from_input ( Input::Array  in_array,
const TimeGovernor tg,
TimeMark::Type  mark_type 
)

Definition at line 38 of file output_time_set.cc.

Member Data Documentation

std::set<double> OutputTimeSet::times_
private

Definition at line 50 of file output_time_set.hh.


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