Euphoria
eu::core::argparse::FileOutput Struct Reference

option where the output can either be a single file or "infinite" More...

#include <argparse.h>

Public Member Functions

 FileOutput (const std::string &o)
 
std::string get_next_file (bool print=true)
 
void create_dir_if_missing () const
 

Public Attributes

std::string file
 
bool single
 
int index = 0
 

Detailed Description

option where the output can either be a single file or "infinite"

Definition at line 28 of file argparse.h.

Constructor & Destructor Documentation

◆ FileOutput()

eu::core::argparse::FileOutput::FileOutput ( const std::string &  o)
explicit

Definition at line 74 of file argparse.cc.

Member Function Documentation

◆ create_dir_if_missing()

void eu::core::argparse::FileOutput::create_dir_if_missing ( ) const

Definition at line 98 of file argparse.cc.

◆ get_next_file()

std::string eu::core::argparse::FileOutput::get_next_file ( bool  print = true)

Definition at line 79 of file argparse.cc.

Member Data Documentation

◆ file

std::string eu::core::argparse::FileOutput::file

Definition at line 30 of file argparse.h.

◆ index

int eu::core::argparse::FileOutput::index = 0

Definition at line 32 of file argparse.h.

◆ single

bool eu::core::argparse::FileOutput::single

Definition at line 31 of file argparse.h.


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