ENH: calcEntry: new functionEntry method

This commit is contained in:
mattijs
2011-06-29 09:56:01 +01:00
parent ec67450164
commit 9fa370f54a
5 changed files with 259 additions and 18 deletions

View File

@ -103,6 +103,9 @@ class dlLibraryTable;
namespace functionEntries
{
// Forward declaration of friend classes
class calcEntry;
/*---------------------------------------------------------------------------*\
Class codeStream Declaration
\*---------------------------------------------------------------------------*/
@ -123,6 +126,14 @@ class codeStream
//- Helper function: access to dlLibraryTable of Time
static dlLibraryTable& libs(const dictionary& dict);
//- Construct, compile, load and return streaming function
static streamingFunctionType getFunction
(
const dictionary& parentDict,
const dictionary& codeDict
);
//- Disallow default bitwise copy construct
codeStream(const codeStream&);
@ -137,6 +148,11 @@ public:
//- Name of the C code template to be used
static const word codeTemplateC;
// Related types
//- Declare friendship with the calcEntry class
friend class calcEntry;
//- Runtime type information
ClassName("codeStream");