Flow123d  JS_before_hm-1576-g4d0b70e
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 28 of file output_time_set.hh.

Member Function Documentation

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

Definition at line 77 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 87 of file output_time_set.cc.

bool OutputTimeSet::contains ( TimeMark  mark) const

Definition at line 72 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 35 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 40 of file output_time_set.cc.

Member Data Documentation

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

Definition at line 51 of file output_time_set.hh.


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