Commit Graph

175 Commits

Author SHA1 Message Date
ToruNiina
855cbe5aff add operator= and ctor for result 2017-05-11 15:08:38 +09:00
ToruNiina
f5d301016f add parser impl for integer, float, boolean 2017-05-11 00:14:22 +09:00
ToruNiina
88e2c3fe48 change impl of parser: optional based 2017-05-10 23:56:09 +09:00
ToruNiina
28cb28e3ba add test for parsing table definition 2017-05-10 11:16:39 +09:00
ToruNiina
acfc706e0c fix some small mistakes 2017-05-10 11:16:22 +09:00
ToruNiina
1392c2f3b9 add stream manipulators 2017-05-10 00:43:13 +09:00
ToruNiina
70f85ec818 add format 2017-05-09 22:09:03 +09:00
ToruNiina
c706a54121 add namespace specifier 2017-05-09 22:07:28 +09:00
ToruNiina
ad4ecaa7ec add test for key-value pair 2017-05-09 22:07:13 +09:00
ToruNiina
05447a5430 add test for key-value pair 2017-05-08 23:56:03 +09:00
ToruNiina
5898c29043 add some tests 2017-05-08 19:17:34 +09:00
ToruNiina
6878abdca1 define charactor type 2017-05-08 19:17:14 +09:00
ToruNiina
bf7461f7b4 fix parsing order of toml::value 2017-05-08 19:16:54 +09:00
ToruNiina
bdc7fbdf08 fix fundamental_type checking order 2017-05-08 19:16:26 +09:00
ToruNiina
29fe377438 add parser for tables 2017-05-08 19:08:49 +09:00
ToruNiina
d1814d3922 fix arguments 2017-05-08 19:08:30 +09:00
ToruNiina
bae25322f8 add acceptor for overall data 2017-05-08 19:07:50 +09:00
ToruNiina
567b69d050 fix orders of call 2017-05-08 19:07:29 +09:00
ToruNiina
98d1d88f60 add parse_array/inline table 2017-05-07 15:04:40 +09:00
ToruNiina
414fc4d0fa change key acceptor 2017-05-07 15:04:18 +09:00
ToruNiina
2d27c94506 fix missing semicolon 2017-05-07 14:09:13 +09:00
ToruNiina
77f59a2e94 split is_array to fixed_type_array and array_of_some_type 2017-05-07 14:08:42 +09:00
ToruNiina
7355c76ed0 add parse_string and parse_datetime 2017-05-07 13:51:25 +09:00
ToruNiina
a1218b266a add restriction to datetime offset size 2017-05-07 13:50:53 +09:00
ToruNiina
00e4c94766 add is_string and is_datetime 2017-05-07 12:29:54 +09:00
ToruNiina
726a70cd8f enable toml::from_toml to get static array (like std::array) 2017-05-07 10:40:47 +09:00
ToruNiina
3203d39dad enable toml::get to make static array (like std::array) 2017-05-07 10:40:17 +09:00
ToruNiina
58c12a69be add toml::resize func that resize only resizable container 2017-05-06 23:40:57 +09:00
ToruNiina
a506dfd3c1 add has_resize_method 2017-05-06 23:40:28 +09:00
ToruNiina
9cb6137974 change message slightly 2017-05-06 19:04:50 +09:00
ToruNiina
7c63bc438c remove needless typedef 2017-05-06 18:46:07 +09:00
ToruNiina
7dde4f3039 add parser of fundamental types 2017-05-06 18:44:19 +09:00
ToruNiina
bbb9388d3a add typedefs to basic_datetiem 2017-05-06 18:43:55 +09:00
ToruNiina
864840d11c add table definition acceptor 2017-05-05 19:33:45 +09:00
ToruNiina
ae127e6000 shorten waiting time 2017-05-05 19:31:42 +09:00
ToruNiina
13a13070c6 add some tests 2017-05-05 19:00:44 +09:00
ToruNiina
e35e620812 add acceptor for array and inline table 2017-05-05 18:54:09 +09:00
ToruNiina
9a627b44fb add some test 2017-05-05 17:17:03 +09:00
ToruNiina
50d00a840f add acceptors for toml values 2017-05-05 16:48:54 +09:00
ToruNiina
3e016be668 add simple acceptors 2017-05-05 10:54:47 +09:00
ToruNiina
b1ca20962b add conversion test to datetime 2017-04-21 15:55:04 +09:00
ToruNiina
833c69628a fix datetime::ctor and stream operator for datetime 2017-04-21 15:54:48 +09:00
ToruNiina
c522186d4c change include file path 2017-04-21 13:15:05 +09:00
ToruNiina
78f25dd66d split files 2017-04-21 13:14:53 +09:00
ToruNiina
337a671f0c split datetime definition from toml.hpp 2017-04-21 12:56:39 +09:00
ToruNiina
7918894e6b add decl of basic_datetime 2017-04-20 22:07:43 +09:00
ToruNiina
f4afaa7509 add from_toml(std::tie, value) and test for it 2017-04-20 16:13:06 +09:00
ToruNiina
dccfcd99cf add test operator== 2017-04-20 14:38:25 +09:00
ToruNiina
85ea77043a add missing default 2017-04-20 14:37:51 +09:00
ToruNiina
24b759b827 add operator for toml::value 2017-04-20 14:23:01 +09:00