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

#include <carefree.hpp>

类 carefree_internal::testlib_comparator 继承关系图:
carefree_internal::testlib_comparator 的协作图:

Public 成员函数

 testlib_comparator (const string &testlib_path)
 
judge_result test (string input_path, string output_path, string answer_path)
 
judge_result from_text (const string &text1 __attribute__((unused)), const string &text2 __attribute__((unused)))
 
- Public 成员函数 继承自 carefree_internal::comparator
virtual judge_result from_text (const string &text1, const string &text2)=0
 
virtual judge_result from_file (const string &filename1, const string &filename2)
 
template<class T1 , class T2 >
judge_result operator() (T1 a, T2 b)
 
virtual judge_result test (const string &input_path __attribute__((unused)), const string &output_path, const string &answer_path)
 

构造及析构函数说明

◆ testlib_comparator()

carefree_internal::testlib_comparator::testlib_comparator ( const string & testlib_path)
inline

成员函数说明

◆ from_text()

judge_result carefree_internal::testlib_comparator::from_text ( const string &text1 __attribute__(unused),
const string &text2 __attribute__(unused) )
inline

◆ test()

judge_result carefree_internal::testlib_comparator::test ( string input_path,
string output_path,
string answer_path )
inline
函数调用图:

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