[DPL] Value separeted output reader
authorTomasz Iwanek <t.iwanek@samsung.com>
Tue, 16 Jul 2013 09:53:16 +0000 (11:53 +0200)
committerSoo-Hyun Choi <sh9.choi@samsung.com>
Tue, 22 Oct 2013 07:53:02 +0000 (16:53 +0900)
commit136547bf65a41a7e2ccd0e800470fc9bf083e7ba
tree764d932e51768b709bb28f0dba75725eed09f515
parent900f37133cea0801702b454bf40a485bf4e20f13
[DPL] Value separeted output reader

[Issue#]   LINUXWRT-639
[Problem]  VS reader for command output.
[Cause]    N/A
[Solution] Generlized value separted reader

[Remarks]
    This is parser for files containing lines with values seperated with custom
    charaters.  Purpose of this is to parse output similar to csv and hide (no
    need for rewriting) buffers, reads, code errors. Result is two dimensional
    array. See previous change.

    Parser is designed as class configured with policies classes:
    - http://en.wikipedia.org/wiki/Policy-based_design

[Verification]
    - Build with tests and WTIH_CHILD ON.
    - $> wrt-commons-tests-test --output=text --regexp='ValueSeparatedReader_'

Change-Id: I7dba345e370767cd3465921ed4f212920488b6e4
modules/test/config.cmake
modules/test/include/dpl/test/value_separated_parser.h [new file with mode: 0644]
modules/test/include/dpl/test/value_separated_policies.h [new file with mode: 0644]
modules/test/include/dpl/test/value_separated_reader.h [new file with mode: 0644]
modules/test/include/dpl/test/value_separated_tokenizer.h [new file with mode: 0644]
modules/test/include/dpl/test/value_separated_tokens.h [new file with mode: 0644]
modules/test/src/value_separated_policies.cpp [new file with mode: 0644]
modules/test/src/value_separated_tokens.cpp [new file with mode: 0644]
tests/test/CMakeLists.txt
tests/test/test_value_separated_reader.cpp [new file with mode: 0644]