Kristian Flikka
|
082978fc2e
|
Functionality to read from RawRecord into DeckRecord, based on ParserRecord.
|
2013-05-27 14:28:23 +02:00 |
|
Kristian Flikka
|
6e20bfda09
|
Added Deck class (empty), and some integration tests. WIP
|
2013-05-27 14:27:22 +02:00 |
|
Kristian Flikka
|
7998a84b81
|
Made the ParserIntItem's scan return DeckItem, and put a virtual scan in ParserItem. The ParserRecord now has a simple, but functioning parse method
|
2013-05-24 10:09:59 +02:00 |
|
Kristian Flikka
|
7bfe185998
|
Started working on the flow RawRecord->ParserRecord->DeckRecord. DeckRecord has some containers now.
|
2013-05-23 12:42:59 +02:00 |
|
Joakim Hove
|
3de7e988b7
|
Moved template code from header -> include file
|
2013-05-14 21:27:32 +02:00 |
|
Joakim Hove
|
d313827627
|
Added simple ParserRecord implementation
|
2013-05-14 21:26:42 +02:00 |
|
Joakim Hove
|
d69784c59d
|
Added namespace Opm{} to DeckItem
|
2013-05-14 21:25:24 +02:00 |
|
Joakim Hove
|
6b338d09e7
|
Added skeleton implementation of DeckRecord
|
2013-05-14 21:23:34 +02:00 |
|
Joakim Hove
|
17f8ae7428
|
Added DeckDoubleItem implementation
|
2013-05-13 17:03:44 +02:00 |
|
Joakim Hove
|
b6c1da8c17
|
Rewritten scan functionality to the BaseClass and template functions
|
2013-05-13 16:41:09 +02:00 |
|
Joakim Hove
|
a1cfec5879
|
Changed ItemSizeEnum: SCALAR -> SINGLE
|
2013-05-13 16:40:25 +02:00 |
|
Joakim Hove
|
0524ac040f
|
ParserIntItem can handle sizeType == ALL
|
2013-05-12 21:38:14 +02:00 |
|
Joakim Hove
|
f178691831
|
Added size() method to the RawRecord class
|
2013-05-12 21:37:22 +02:00 |
|
Joakim Hove
|
9e1b00ef63
|
The ParserIntItem::scan() function will push unused values back on the front of the RawRecord.
|
2013-05-10 13:56:41 +02:00 |
|
Joakim Hove
|
a9cd24f628
|
Added operator[] and method push_front() to RawDeck
|
2013-05-10 13:55:00 +02:00 |
|
Joakim Hove
|
f516cc6833
|
Added default value to Parser. Rewrote the ParserIntItem::scan() method to use homemade C-sscanf obscurity from h..l
|
2013-05-09 14:18:36 +02:00 |
|
Joakim Hove
|
c963c7d768
|
Changed to use only enum for ItemSize. FIXED -> SCALAR with value 1
|
2013-05-09 12:17:00 +02:00 |
|
Joakim Hove
|
6f86bebf78
|
Removed ParserItemSize class; will just use plain enum
|
2013-05-09 12:16:15 +02:00 |
|
Joakim Hove
|
7dbc4f0d2b
|
Added size() method on DeckIntItem
|
2013-05-09 12:14:52 +02:00 |
|
Kristian Flikka
|
a874d667db
|
Added some tests
|
2013-05-08 15:50:20 +02:00 |
|
Kristian Flikka
|
2a331e1a3a
|
ParserIntItem's scan function now supports ITEM_FIXED parsing
|
2013-05-08 15:29:58 +02:00 |
|
Kristian Flikka
|
2088c3e96d
|
Simple scan implementation in ParserIntItem added. DeckIntItem now support push_back
|
2013-05-08 14:31:20 +02:00 |
|
Kristian Flikka
|
2d6e6842d6
|
Changed ParserItem from template based to a base-inheritance based system. Corresponds to and creates DeckItem objects
|
2013-05-07 21:55:49 +02:00 |
|
Kristian Flikka
|
b36f000377
|
Moved tests from one base location, into per-topic folders
|
2013-05-06 14:46:29 +02:00 |
|
Kristian Flikka
|
63611f68f8
|
Added header file for ParserRecord class
|
2013-05-06 14:31:02 +02:00 |
|
Kristian Flikka
|
bf3be4695d
|
Refactoring, prefixing parser setup classes with Parser. 4 space indent.
|
2013-05-06 12:13:49 +02:00 |
|
Joakim Hove
|
105012ad7e
|
More reorg/merge fixes
|
2013-05-06 09:54:31 +02:00 |
|
Joakim Hove
|
40e6a35332
|
???
|
2013-05-06 09:48:29 +02:00 |
|
Joakim Hove
|
60abc2c397
|
Merged in documentation
|
2013-05-06 09:44:00 +02:00 |
|
Kristian Flikka
|
f7fdbe96fa
|
Added some comments and documentation
|
2013-05-05 23:02:26 +02:00 |
|
Joakim Hove
|
be7e6e0cad
|
Added basic ParserRecordItem class
|
2013-05-03 17:06:53 +02:00 |
|
Joakim Hove
|
558a705b52
|
Added CMakeLists.txt to Logger/ directory
|
2013-05-03 15:33:07 +02:00 |
|
Joakim Hove
|
182dd0483b
|
Made separate source lists for RawDeck sources and Parser sources
|
2013-05-03 15:30:52 +02:00 |
|
Joakim Hove
|
19fa7ab1d1
|
Moved Logger implementation to subdirectory Logger/
|
2013-05-03 15:11:28 +02:00 |
|
Kristian Flikka
|
86fe804655
|
Downgraded BOOST requirement to 1.36, not tested, but should be ok. Tested on 1.45
|
2013-04-10 10:41:14 +02:00 |
|
Kristian Flikka
|
8b32658e54
|
Refactoring, more consts, etc. Comments from Joakim
|
2013-04-08 14:32:17 +02:00 |
|
Kristian Flikka
|
477551c8d7
|
Split Statoil dependent test in separate file
|
2013-04-08 10:47:25 +02:00 |
|
Kristian Flikka
|
f89b8362ff
|
Changed to tabsize 2 after discussion with Joakim. I vote for real tabs.
|
2013-04-08 10:36:14 +02:00 |
|
Kristian Flikka
|
1868615a4a
|
Moved some consts for the Raw classes to a separate file, characters and sizes
|
2013-04-08 10:31:54 +02:00 |
|
Kristian Flikka
|
76b8df09ad
|
Changed the logic in raw-reading, only adding keyword after it is finished. Simplified special casing for INCLUDE. Reset keyword pointer when keyword finished
|
2013-04-08 10:07:24 +02:00 |
|
Kristian Flikka
|
c76767b9aa
|
Adding recursive reading of Include files. Fixed a performance bug when appending strings to a record
|
2013-04-05 16:14:43 +02:00 |
|
Kristian Flikka
|
b200d74c9d
|
Rename variable
|
2013-04-04 15:57:21 +02:00 |
|
Kristian Flikka
|
041ac87337
|
Removed unused variable
|
2013-04-04 15:54:55 +02:00 |
|
Kristian Flikka
|
e6d9007dfb
|
Changed static logger to be initalized and closed explicitly, destructor did not quite do the trick
|
2013-04-04 15:09:38 +02:00 |
|
Kristian Flikka
|
0d5ce81809
|
Merge pull request 2 from joakim-hove/master - Added code to add Keywords to parser class
|
2013-04-04 14:17:12 +02:00 |
|
Kristian Flikka
|
aa8cd7b4ca
|
Added a thin container for knowledge about keywords with fixed number of records. Changed some getter methods to return reference
|
2013-04-04 13:30:50 +02:00 |
|
Kristian Flikka
|
8a0892b388
|
Rename file-checking-function
|
2013-04-04 09:58:54 +02:00 |
|
Kristian Flikka
|
3adb09cb5a
|
Review updates: Keyword can have numbers, comment lines can start with space, data can start at pos 0 on line, must explicitly have end-of-keyword control
|
2013-04-04 09:56:00 +02:00 |
|
Kristian Flikka
|
14772d8c86
|
File containing questions or observations that needs to be discussed
|
2013-04-04 09:25:43 +02:00 |
|
Joakim Hove
|
f3e14aa76b
|
Added Keywords map to Parser
|
2013-04-03 11:38:06 +02:00 |
|