|
const string | get () |
|
void | set (const wstring fileName) |
|
Definition at line 21 of file encoder_format.h.
◆ get()
const string EncoderFormat::get |
( |
| ) |
|
|
inline |
Definition at line 24 of file encoder_format.h.
25 {
26 return(string(_format.begin(),_format.end()));
27 }
◆ set()
void EncoderFormat::set |
( |
const wstring |
fileName | ) |
|
|
inline |
Definition at line 29 of file encoder_format.h.
30 {
31 wstring
32 format;
33
34 size_t
35 index;
36
37 if (fileName.find(L"clusterfuzz-testcase-") == -1)
38 return;
39
40 format=fileName;
41 index=format.find(L"_", 0);
42 if (index == wstring::npos)
43 return;
44
45 format=format.substr(index+1);
46 index=format.find(L"_",0);
47 if (index != wstring::npos)
48 _format=format.substr(0, index);
49 }
◆ _format
wstring EncoderFormat::_format =L".notset" |
|
private |
The documentation for this class was generated from the following file: