39 if (strncasecmp(s,
"drive{",
STRLENOF(
"drive{")) == 0) {
42 size_t len = strlen(s);
44 if (s[len - 1] !=
'}') {
48 char *sDriveStr =
new char[len + 1];
49 memcpy(sDriveStr, s, len + 1);
50 sDriveStr[len - 1] =
';';
54 }
else if (strncasecmp(s,
"drive3{",
STRLENOF(
"drive3{")) == 0) {
57 size_t len = strlen(s);
59 if (s[len - 1] !=
'}') {
63 char *sDriveStr =
new char[len + 1];
64 memcpy(sDriveStr, s, len + 1);
65 sDriveStr[len - 1] =
';';
69 }
else if (strncasecmp(s,
"drive6{",
STRLENOF(
"drive6{")) == 0) {
72 size_t len = strlen(s);
74 if (s[len - 1] !=
'}') {
78 char *sDriveStr =
new char[len + 1];
79 memcpy(sDriveStr, s, len + 1);
80 sDriveStr[len - 1] =
';';
119 std::istringstream in(
sHint);
124 HP.SetDataManager(pDM);
126 return HP.GetDriveCaller(
false);
virtual void ExpectArg(void)
MathParser & GetMathParser(void) const
Hint * ParseHint(DataManager *pDM, const char *s)
#define SAFEDELETEARR(pnt)
ParsableHint(const char *s)
virtual ~ParsableHint(void)
DriveCaller * pCreateDrive(DataManager *pDM) const