ReCodEx - Task Broker
ReCodEx is complex programmer testing solution, primary targeted to technical universities. It's highly customizable and based on modern technologies.
|
Public Member Functions | |
multiple_string_matcher (std::string my_value) | |
virtual | ~multiple_string_matcher () |
virtual bool | match (const std::string &value) |
![]() | |
header_matcher (std::string my_value) | |
virtual | ~header_matcher () |
Static Public Attributes | |
static const char | delimiter = '|' |
Additional Inherited Members | |
![]() | |
std::string | my_value_ |
Takes string containing multiple values (separated by "|" character) and checks, if any of them is equal to preset value.
Definition at line 8 of file worker.cpp.
|
inline |
Constructor setting base value to be compared to.
my_value | Base value. |
Definition at line 18 of file worker.cpp.
|
inlinevirtual |
Destructor.
Definition at line 23 of file worker.cpp.
|
inlinevirtual |
Check if any of given values match with inner preset value.
value | Value to be checked. It's one string containing multiple values delimited by delimiter. |
Reimplemented from header_matcher.
Definition at line 32 of file worker.cpp.
|
static |
String value delimiter.
Definition at line 12 of file worker.cpp.