Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
Loading...
Searching...
No Matches
bertini::parsing::classic::SplitInputFile Class Reference

Storage class for input file that splits up the config portion from the input portion. More...

#include <classic_utilities.hpp>

Public Member Functions

std::string Config () const
 Get the config portion of the split input file.
std::string Input () const
 Get the input portion of the split input file.
bool Readable () const
 Query whether the input file was readable.
void SetInput (std::string new_input)
 Set the input portion.
void SetConfig (std::string new_config)
 Set the config portion.
void SetConfigInput (std::string c, std::string i)
 Set both the config and input portions.
void SetReadable (bool read)
 Set whether the input file was readable.

Friends

std::ostream & operator<< (std::ostream &out, SplitInputFile const &printme)
 Stream-insertion for a SplitInputFile, printing its config and input portions.

Detailed Description

Storage class for input file that splits up the config portion from the input portion.

Use

SplitFileInputConfig parser return an instance of this class. The user can then parse the config and input portions separately using the appropriate parser.

Member Function Documentation

◆ Config()

std::string bertini::parsing::classic::SplitInputFile::Config ( ) const
inline

Get the config portion of the split input file.

◆ Input()

std::string bertini::parsing::classic::SplitInputFile::Input ( ) const
inline

Get the input portion of the split input file.

◆ Readable()

bool bertini::parsing::classic::SplitInputFile::Readable ( ) const
inline

Query whether the input file was readable.

◆ SetConfig()

void bertini::parsing::classic::SplitInputFile::SetConfig ( std::string new_config)
inline

Set the config portion.

◆ SetConfigInput()

void bertini::parsing::classic::SplitInputFile::SetConfigInput ( std::string c,
std::string i )
inline

Set both the config and input portions.

◆ SetInput()

void bertini::parsing::classic::SplitInputFile::SetInput ( std::string new_input)
inline

Set the input portion.

◆ SetReadable()

void bertini::parsing::classic::SplitInputFile::SetReadable ( bool read)
inline

Set whether the input file was readable.

◆ operator<<

std::ostream & operator<< ( std::ostream & out,
SplitInputFile const & printme )
friend

Stream-insertion for a SplitInputFile, printing its config and input portions.