25 lines
No EOL
533 B
C++
25 lines
No EOL
533 B
C++
#pragma once
|
|
|
|
#include "dtcore/inc/dtstring.h"
|
|
|
|
namespace dt
|
|
{
|
|
|
|
class TestTryMode
|
|
{
|
|
public:
|
|
enum Type
|
|
{
|
|
Unspecified = -1,
|
|
FindProbabilityOnFailure,
|
|
FindProbabilityAlways,
|
|
UntilSuccess,
|
|
Count // last one representing the number of types.
|
|
};
|
|
|
|
DT_CORE_DLL_ENTRY static String ToString(Type value);
|
|
DT_CORE_DLL_ENTRY static Type FromString(const String& value);
|
|
DT_CORE_DLL_ENTRY static Strings GetValues();
|
|
};
|
|
|
|
} |