Andreas Lauser
ea38a25af4
remove all trailing white space
...
this is just the result of
```
find -iname "*.[ch]pp" | xargs sed -i "s/ *$//"
find opm/parser/share/keywords -type f | xargs sed -i "s/ *$//"
```
so if it causes conflicts with other patches, the others should get
priority. The rationale behind this patch is that some people tell
their editor to remove white space which leads to larger than
necessary patches...
2014-12-08 16:34:28 +01:00
Arne Morten Kvarving
670e8b692b
changed: don't use parameter names that conflicts with member function names
...
quells warnings (with gcc 4.8)
2014-05-15 14:46:16 +02:00
Joakim Hove
de16ff8da1
Added methods applyUnitsToDeck() which push units onto the deck.
2013-12-14 10:28:49 +01:00
Joakim Hove
084fc24174
Changed parserItem::scan to return modifyable DeckItem - this is required to push dimension later.
2013-12-14 10:11:59 +01:00
Joakim Hove
bb8b3ab240
Added ability to push_back() dimension strings to ParserItems; and then to query the
...
ParserItem -> ParserRecord -> ParserKeyword() structure whether it has dimension.
2013-12-09 21:12:27 +01:00
flikka
cf0b1235a4
Merge pull request #47 from flikka/throw-on-too-long-records
...
Throw on too long records
2013-11-11 01:20:11 -08:00
Kristian Flikka
862d2ee302
Added support for WCONPROD, with use of predictionMode. Fixed a bug in the TSTEP reading in Schedule.cpp
2013-11-08 15:55:11 +01:00
Kristian Flikka
006ab6d35d
Added keywordName and dataFilename to RawRecord. Using these in the ParserRecord to give better error message when throwing on too long RawRecords
2013-11-07 12:32:07 +01:00
Joakim Hove
ccac972d6c
Removed - not needed - ParserRecord::inlineNew
2013-09-14 21:46:16 +02:00
Joakim Hove
f461ba6f07
Created code to create cpp representation of complete ParserKeyword
2013-09-13 22:23:12 +02:00
Joakim Hove
c04f9728b0
Added temporaryr library target buildParser which is used for executables creating source
2013-09-13 12:50:40 +02:00
Joakim Hove
b36fa7d42c
Added inlineNew() method to create ParserRecord
2013-09-13 12:34:38 +02:00
Joakim Hove
c11fdeeb42
Added ParserRecord::equal() method
2013-09-13 10:16:00 +02:00
Kristian Flikka
480d14934b
Added test for a case with fully, partial and empty record body, defaults are added
2013-08-26 15:17:52 +02:00
Kristian Flikka
b43d95c5a2
Starting to wrap up from the top, added the missing DeckKW, and refactored a bit in some of the Raw classes that returned the internal structure
2013-06-03 15:54:16 +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
d313827627
Added simple ParserRecord implementation
2013-05-14 21:26:42 +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