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

#include <carefree.hpp>

类 carefree_internal::comparator 继承关系图:

class  file
 
class  readable
 
class  text
 

Public 成员函数

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)
 

成员函数说明

◆ from_file()

virtual judge_result carefree_internal::comparator::from_file ( const string & filename1,
const string & filename2 )
inlinevirtual

◆ from_text()

virtual judge_result carefree_internal::comparator::from_text ( const string & text1,
const string & text2 )
pure virtual

◆ operator()()

template<class T1 , class T2 >
judge_result carefree_internal::comparator::operator() ( T1 a,
T2 b )
inline

◆ test()

virtual judge_result carefree_internal::comparator::test ( const string &input_path __attribute__(unused),
const string & output_path,
const string & answer_path )
inlinevirtual

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