- 12 Nov, 2017 1 commit
-
-
Mark OLESEN authored
- the return value signals if this method handled this particular type of token. This minor change allows this method to be used as a succinct prefilter an output token stream. It also provides better encapsulation of what the particular output stream handles. Eg, bool ok = os.write(tok); if (!ok) // or if (!ok && os.good()) { os << tok; } instead of if (tok.type() == typeA || tok.type() == typeB || ...) { os.write(tok); } else { os << tok; }
-
- 09 Nov, 2017 3 commits
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- 08 Nov, 2017 6 commits
-
-
Mark OLESEN authored
dictionary compatibility/migration methods See merge request OpenFOAM-plus!162
-
Mark OLESEN authored
-
Mark OLESEN authored
- when dictionary keywords change between versions, the programmer can use these compatibility methods to help with migration. * csearchCompat, foundCompat, lookupEntryPtrCompat, lookupEntryCompat, lookupCompat, lookupOrDefaultCompat, readIfPresentCompat, ... They behave like their similarly named base versions, but accept an additional list of older keyword names augmented by a version number. For example, dict.readIfPresentCompat ( "key", {{"olderName", 1612}, {"veryOld", 240}}, myscalar ); where 1612=OpenFOAM-v1612, 240=OpenFOAM-v2.4.x, etc.
-
Mark OLESEN authored
- If the entry could be directly inserted: a pointer to the inserted entry. - If a dictionary merge was required: a pointer to the dictionary that received the entry. - Return nullptr on any type of insertion failure. This change is code compatible with existing code since it only alters a bool return value to be a pointer return value.
-
Mark OLESEN authored
-
Andrew Heather authored
-
- 07 Nov, 2017 6 commits
-
-
Andrew Heather authored
-
Andrew Heather authored
-
Mark OLESEN authored
Improvements to token handling See merge request OpenFOAM-plus!160
-
Mark OLESEN authored
-
Andrew Heather authored
STYLE: Corrected file name in surface noise, added README file See merge request OpenFOAM-plus!161
-
Prashant Sonakar authored
-
- 06 Nov, 2017 1 commit
-
-
Mark OLESEN authored
-
- 05 Nov, 2017 3 commits
-
-
Mark OLESEN authored
- simplify string output code
-
Mark OLESEN authored
- improved memory alignment reduces overhead for Int32 compilation - added move/swap semantics - made the type() readonly in favour of setVariant() to allow change of variant within a particular storage representation. Eg, STRING -> VERBATIMSTRING.
-
Mark OLESEN authored
- move append() single element to List and DynamicList ENH: add stringOps::count to avoid unnecessary string conversions
-
- 06 Nov, 2017 1 commit
-
-
Mark OLESEN authored
-
- 04 Nov, 2017 6 commits
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- support send/receive with embedded '\0' characters
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- 09 Aug, 2017 1 commit
-
-
Mark OLESEN authored
-
- 04 Nov, 2017 1 commit
-
-
Mark OLESEN authored
Feature mesh stitching See merge request OpenFOAM-plus!159
-
- 03 Nov, 2017 4 commits
-
-
Andrew Heather authored
Improvements to HashTable internals See merge request OpenFOAM-plus!158
-
Mark OLESEN authored
-
Andrew Heather authored
-
Andrew Heather authored
-
- 01 Nov, 2017 1 commit
-
-
mattijs authored
-
- 31 Oct, 2017 1 commit
-
-
Mark OLESEN authored
- make single-parameter construct (label) explicit - consolidate iterators - slightly reduced overhead for some HashSet types - improved resizing behaviour - compact output for empty Ptr hashes
-
- 30 Oct, 2017 1 commit
-
-
Mark OLESEN authored
- unused, unmaintained and slower than the regular HashTable
-
- 31 Oct, 2017 1 commit
-
-
Mark OLESEN authored
- the zero::null and one::null sub-classes add an additional null output adapter. The function of the nil class (special-purpose class only used for HashSet) is now taken by zero::null.
-
- 30 Oct, 2017 3 commits