Carefree (For Windows) 0.7
CareFree Library - A Light Data Generator for OI & ACM
载入中...
搜索中...
未找到
carefree_internal::testcase_writer类 参考

#include <carefree.hpp>

Public 成员函数

 testcase_writer (string input_file, string output_file="")
 
 testcase_writer (string file_prefix, unsigned data_id, string input_suffix=".in", string output_suffix=".out", bool disable_output=false)
 
 testcase_writer (string file_prefix, unsigned subtask_id, unsigned task_id, string input_suffix=".in", string output_suffix=".out", bool disable_output=false)
 
void input_write (char val)
 
void output_write (char val)
 
void input_write (int val)
 
void output_write (int val)
 
void output_write (long long val)
 
void input_write (long long val)
 
void input_write (unsigned int val)
 
void output_write (unsigned int val)
 
void input_write (unsigned long long val)
 
void output_write (unsigned long long val)
 
void input_write (unsigned short val)
 
void output_write (unsigned short val)
 
void input_write (short val)
 
void output_write (short val)
 
void input_write (__int128 val)
 
void output_write (__int128 val)
 
void input_write (unsigned __int128 val)
 
void output_write (unsigned __int128 val)
 
void input_write (string val)
 
void output_write (string val)
 
void input_write (const char *val)
 
void output_write (const char *val)
 
void input_write (bool val)
 
void output_write (bool val)
 
template<class T >
void input_write (std::vector< T > val)
 
template<class T >
void output_write (std::vector< T > val)
 
void input_write (graph val)
 
void output_write (graph val)
 
void input_write (edge val)
 
void output_write (edge val)
 
template<class T , typename... Args>
void input_write (T val, Args... args)
 
template<class T , typename... Args>
void output_write (T val, Args... args)
 
void input_writeln ()
 
void output_writeln ()
 
template<class T >
void input_writeln (T val)
 
template<class T >
void output_writeln (T val)
 
template<class T , typename... Args>
void input_writeln (T val, Args... args)
 
template<class T , typename... Args>
void output_writeln (T val, Args... args)
 
bool is_locked ()
 
void input_flush ()
 
void output_flush ()
 
void output_gen (string program)
 
string input_name ()
 
string output_name ()
 
void close ()
 
 ~testcase_writer ()
 

构造及析构函数说明

◆ testcase_writer() [1/3]

carefree_internal::testcase_writer::testcase_writer ( string input_file,
string output_file = "" )
inline

◆ testcase_writer() [2/3]

carefree_internal::testcase_writer::testcase_writer ( string file_prefix,
unsigned data_id,
string input_suffix = ".in",
string output_suffix = ".out",
bool disable_output = false )
inline

◆ testcase_writer() [3/3]

carefree_internal::testcase_writer::testcase_writer ( string file_prefix,
unsigned subtask_id,
unsigned task_id,
string input_suffix = ".in",
string output_suffix = ".out",
bool disable_output = false )
inline

◆ ~testcase_writer()

carefree_internal::testcase_writer::~testcase_writer ( )
inline

成员函数说明

◆ close()

void carefree_internal::testcase_writer::close ( )
inline

◆ input_flush()

void carefree_internal::testcase_writer::input_flush ( )
inline

◆ input_name()

string carefree_internal::testcase_writer::input_name ( )
inline

◆ input_write() [1/16]

void carefree_internal::testcase_writer::input_write ( __int128 val)
inline

◆ input_write() [2/16]

void carefree_internal::testcase_writer::input_write ( bool val)
inline

◆ input_write() [3/16]

void carefree_internal::testcase_writer::input_write ( char val)
inline

◆ input_write() [4/16]

void carefree_internal::testcase_writer::input_write ( const char * val)
inline

◆ input_write() [5/16]

void carefree_internal::testcase_writer::input_write ( edge val)
inline

◆ input_write() [6/16]

void carefree_internal::testcase_writer::input_write ( graph val)
inline
函数调用图:

◆ input_write() [7/16]

void carefree_internal::testcase_writer::input_write ( int val)
inline

◆ input_write() [8/16]

void carefree_internal::testcase_writer::input_write ( long long val)
inline

◆ input_write() [9/16]

void carefree_internal::testcase_writer::input_write ( short val)
inline

◆ input_write() [10/16]

template<class T >
void carefree_internal::testcase_writer::input_write ( std::vector< T > val)
inline

◆ input_write() [11/16]

void carefree_internal::testcase_writer::input_write ( string val)
inline

◆ input_write() [12/16]

template<class T , typename... Args>
void carefree_internal::testcase_writer::input_write ( T val,
Args... args )
inline

◆ input_write() [13/16]

void carefree_internal::testcase_writer::input_write ( unsigned __int128 val)
inline

◆ input_write() [14/16]

void carefree_internal::testcase_writer::input_write ( unsigned int val)
inline

◆ input_write() [15/16]

void carefree_internal::testcase_writer::input_write ( unsigned long long val)
inline

◆ input_write() [16/16]

void carefree_internal::testcase_writer::input_write ( unsigned short val)
inline

◆ input_writeln() [1/3]

void carefree_internal::testcase_writer::input_writeln ( )
inline

◆ input_writeln() [2/3]

template<class T >
void carefree_internal::testcase_writer::input_writeln ( T val)
inline

◆ input_writeln() [3/3]

template<class T , typename... Args>
void carefree_internal::testcase_writer::input_writeln ( T val,
Args... args )
inline

◆ is_locked()

bool carefree_internal::testcase_writer::is_locked ( )
inline

◆ output_flush()

void carefree_internal::testcase_writer::output_flush ( )
inline

◆ output_gen()

void carefree_internal::testcase_writer::output_gen ( string program)
inline

◆ output_name()

string carefree_internal::testcase_writer::output_name ( )
inline

◆ output_write() [1/16]

void carefree_internal::testcase_writer::output_write ( __int128 val)
inline

◆ output_write() [2/16]

void carefree_internal::testcase_writer::output_write ( bool val)
inline

◆ output_write() [3/16]

void carefree_internal::testcase_writer::output_write ( char val)
inline

◆ output_write() [4/16]

void carefree_internal::testcase_writer::output_write ( const char * val)
inline

◆ output_write() [5/16]

void carefree_internal::testcase_writer::output_write ( edge val)
inline

◆ output_write() [6/16]

void carefree_internal::testcase_writer::output_write ( graph val)
inline
函数调用图:

◆ output_write() [7/16]

void carefree_internal::testcase_writer::output_write ( int val)
inline

◆ output_write() [8/16]

void carefree_internal::testcase_writer::output_write ( long long val)
inline

◆ output_write() [9/16]

void carefree_internal::testcase_writer::output_write ( short val)
inline

◆ output_write() [10/16]

template<class T >
void carefree_internal::testcase_writer::output_write ( std::vector< T > val)
inline

◆ output_write() [11/16]

void carefree_internal::testcase_writer::output_write ( string val)
inline

◆ output_write() [12/16]

template<class T , typename... Args>
void carefree_internal::testcase_writer::output_write ( T val,
Args... args )
inline

◆ output_write() [13/16]

void carefree_internal::testcase_writer::output_write ( unsigned __int128 val)
inline

◆ output_write() [14/16]

void carefree_internal::testcase_writer::output_write ( unsigned int val)
inline

◆ output_write() [15/16]

void carefree_internal::testcase_writer::output_write ( unsigned long long val)
inline

◆ output_write() [16/16]

void carefree_internal::testcase_writer::output_write ( unsigned short val)
inline

◆ output_writeln() [1/3]

void carefree_internal::testcase_writer::output_writeln ( )
inline

◆ output_writeln() [2/3]

template<class T >
void carefree_internal::testcase_writer::output_writeln ( T val)
inline

◆ output_writeln() [3/3]

template<class T , typename... Args>
void carefree_internal::testcase_writer::output_writeln ( T val,
Args... args )
inline

该类的文档由以下文件生成: