OGS
ChemistryLib::PhreeqcIOData::BasicOutputSetups Class Reference

Detailed Description

Definition at line 23 of file Output.h.

#include <Output.h>

Public Member Functions

 BasicOutputSetups (std::string const &project_file_name, bool const use_high_precision_)
 

Static Public Member Functions

static int getNumberOfItemsInDisplay ()
 
static int getNumberOfDroppedItems ()
 

Public Attributes

std::string const output_file
 

Private Attributes

bool const use_high_precision
 

Static Private Attributes

static const bool display_simulation_id = false
 
static const bool display_state = true
 
static const bool display_solution_id = true
 
static const bool display_distance = false
 
static const bool display_current_time = false
 
static const bool display_time_step = false
 
static const bool display_pH = true
 
static const bool display_pe = true
 

Friends

std::ostream & operator<< (std::ostream &os, BasicOutputSetups const &basic_output_setups)
 

Constructor & Destructor Documentation

◆ BasicOutputSetups()

ChemistryLib::PhreeqcIOData::BasicOutputSetups::BasicOutputSetups ( std::string const & project_file_name,
bool const use_high_precision_ )
explicit

Definition at line 37 of file Output.cpp.

39 : output_file(specifyFileName(project_file_name, ".out")),
40 use_high_precision(use_high_precision_)
41{
42}
std::string specifyFileName(std::string const &project_file_name, std::string const &file_extension)
Definition Output.cpp:23

Member Function Documentation

◆ getNumberOfDroppedItems()

static int ChemistryLib::PhreeqcIOData::BasicOutputSetups::getNumberOfDroppedItems ( )
inlinestatic

◆ getNumberOfItemsInDisplay()

static int ChemistryLib::PhreeqcIOData::BasicOutputSetups::getNumberOfItemsInDisplay ( )
inlinestatic

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
BasicOutputSetups const & basic_output_setups )
friend

Definition at line 44 of file Output.cpp.

46{
47 os << "SELECTED_OUTPUT"
48 << "\n";
49 os << "-file " << basic_output_setups.output_file << "\n";
50 os << "-high_precision " << std::boolalpha
51 << basic_output_setups.use_high_precision << "\n";
52 os << "-simulation " << std::boolalpha
54 os << "-state " << std::boolalpha << BasicOutputSetups::display_state
55 << "\n";
56 os << "-distance " << std::boolalpha << BasicOutputSetups::display_distance
57 << "\n";
58 os << "-time " << std::boolalpha << BasicOutputSetups::display_current_time
59 << "\n";
60 os << "-step " << std::boolalpha << BasicOutputSetups::display_time_step
61 << "\n";
62
63 return os;
64}

Member Data Documentation

◆ display_current_time

const bool ChemistryLib::PhreeqcIOData::BasicOutputSetups::display_current_time = false
staticprivate

Definition at line 52 of file Output.h.

Referenced by getNumberOfDroppedItems(), and getNumberOfItemsInDisplay().

◆ display_distance

const bool ChemistryLib::PhreeqcIOData::BasicOutputSetups::display_distance = false
staticprivate

Definition at line 51 of file Output.h.

Referenced by getNumberOfDroppedItems(), and getNumberOfItemsInDisplay().

◆ display_pe

const bool ChemistryLib::PhreeqcIOData::BasicOutputSetups::display_pe = true
staticprivate

Definition at line 55 of file Output.h.

Referenced by getNumberOfItemsInDisplay().

◆ display_pH

const bool ChemistryLib::PhreeqcIOData::BasicOutputSetups::display_pH = true
staticprivate

Definition at line 54 of file Output.h.

Referenced by getNumberOfItemsInDisplay().

◆ display_simulation_id

const bool ChemistryLib::PhreeqcIOData::BasicOutputSetups::display_simulation_id = false
staticprivate

Definition at line 48 of file Output.h.

Referenced by getNumberOfDroppedItems(), and getNumberOfItemsInDisplay().

◆ display_solution_id

const bool ChemistryLib::PhreeqcIOData::BasicOutputSetups::display_solution_id = true
staticprivate

Definition at line 50 of file Output.h.

Referenced by getNumberOfDroppedItems(), and getNumberOfItemsInDisplay().

◆ display_state

const bool ChemistryLib::PhreeqcIOData::BasicOutputSetups::display_state = true
staticprivate

Definition at line 49 of file Output.h.

Referenced by getNumberOfDroppedItems(), and getNumberOfItemsInDisplay().

◆ display_time_step

const bool ChemistryLib::PhreeqcIOData::BasicOutputSetups::display_time_step = false
staticprivate

Definition at line 53 of file Output.h.

Referenced by getNumberOfDroppedItems(), and getNumberOfItemsInDisplay().

◆ output_file

std::string const ChemistryLib::PhreeqcIOData::BasicOutputSetups::output_file

Definition at line 45 of file Output.h.

◆ use_high_precision

bool const ChemistryLib::PhreeqcIOData::BasicOutputSetups::use_high_precision
private

Definition at line 56 of file Output.h.


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