ENH: runTimePostProcessing - updated to use c++0x and replaced DataEntry by Function1

This commit is contained in:
Andrew Heather
2016-04-26 14:33:21 +01:00
parent 16dfd33db8
commit 9a0bd5831a
23 changed files with 82 additions and 76 deletions

View File

@ -90,7 +90,7 @@ protected:
scalar maxGlyphLength_;
//- Point colour
autoPtr<DataEntry<vector>> pointColour_;
autoPtr<Function1<vector>> pointColour_;
// Protected Member Functions
@ -121,7 +121,7 @@ public:
(
const runTimePostProcessing& parent,
const dictionary& dict,
const HashPtrTable<DataEntry<vector>, word>& colours
const HashPtrTable<Function1<vector>, word>& colours
),
(parent, dict, colours)
);
@ -134,7 +134,7 @@ public:
(
const runTimePostProcessing& parent,
const dictionary& dict,
const HashPtrTable<DataEntry<vector>, word>& colours
const HashPtrTable<Function1<vector>, word>& colours
);
@ -145,7 +145,7 @@ public:
(
const runTimePostProcessing& parent,
const dictionary& dict,
const HashPtrTable<DataEntry<vector>, word>& colours,
const HashPtrTable<Function1<vector>, word>& colours,
const word& pointDataName
);