![]() |
PhoenixHPCProxy
0.8.0
Lightweight HPC proxy
|
#include "backend.h"
Go to the source code of this file.
Functions | |
bool | cpp_backend (PSource &source, const PString &libName, const PPath &outputDir) |
Save a vector of PSource in the output directory. | |
bool | cpp_backend (PVecSource &vecSource, const PString &libName, const PPath &outputDir) |
Save a vector of PSource in the output directory. | |
PString | cpp_backendHeader (PSource &source) |
Save the header of the given PSource. | |
PString | cpp_backendSource (PSource &source, const PString &libName) |
Save the source of the given PSource. | |
PString | cpp_backendTableHeaderHandleType (PFunction &function) |
Save the function prototype as an inline function. | |
PString | cpp_backendTableHeaderInline (PFunction &function) |
Save the function prototype as an inline function. | |
PString | cpp_licenceSaveStr () |
Get the licence in string. | |
PString | getHandleFunction (const PString &functionName) |
Get the handle name of the given function. | |
PString | getHandleFunctionType (const PString &functionName) |
Get the handle type name of the given function. | |
PString | getMangleFunctionName (const PString &libraryName, const PString &functionName) |
Get the mangled name of the given function name. | |
PString | getUpdateFunction (const PPath &fileName) |
Get the update type name of the given file. | |
bool cpp_backend | ( | PSource & | source, |
const PString & | libName, | ||
const PPath & | outputDir ) |
Save a vector of PSource in the output directory.
source | : source to be saved |
libName | : filename to a binary library |
outputDir | : output directory where to save PSource |
Definition at line 190 of file backend.cpp.
References cpp_backendHeader(), cpp_backendSource(), and PSource::getName().
Referenced by cpp_backend(), and createSourceFromConfig().
bool cpp_backend | ( | PVecSource & | vecSource, |
const PString & | libName, | ||
const PPath & | outputDir ) |
Save a vector of PSource in the output directory.
vecSource | : vector of source |
libName | : filename to a binary library |
outputDir | : output directory where to save PSource |
Definition at line 215 of file backend.cpp.
References cpp_backend().
PString cpp_backendHeader | ( | PSource & | source | ) |
Save the header of the given PSource.
source | : PSource to be used |
Definition at line 107 of file backend.cpp.
References cpp_backendTableHeaderHandleType(), cpp_backendTableHeaderInline(), cpp_licenceSaveStr(), getHandleFunction(), getHandleFunctionType(), PSource::getName(), getUpdateFunction(), PSource::getVecFunction(), and repr_isFunction().
Referenced by cpp_backend().
PString cpp_backendSource | ( | PSource & | source, |
const PString & | libName ) |
Save the source of the given PSource.
source | : PSource to be used |
libName | : filename to a binary library |
Definition at line 158 of file backend.cpp.
References cpp_licenceSaveStr(), getHandleFunction(), getHandleFunctionType(), getMangleFunctionName(), PSource::getName(), getUpdateFunction(), PSource::getVecFunction(), and repr_isFunction().
Referenced by cpp_backend().
PString cpp_backendTableHeaderHandleType | ( | PFunction & | function | ) |
Save the function prototype as an inline function.
function | : PFunction to be used |
Definition at line 87 of file backend.cpp.
References getHandleFunctionType(), PFunction::getName(), PFunction::getOutputType(), PFunction::getVecArgument(), and repr_isFunction().
Referenced by cpp_backendHeader().
PString cpp_backendTableHeaderInline | ( | PFunction & | function | ) |
Save the function prototype as an inline function.
function | : PFunction to be used |
Definition at line 54 of file backend.cpp.
References PFunction::getDocString(), getHandleFunction(), PFunction::getName(), PFunction::getOtherCode(), PFunction::getOutputType(), PFunction::getTemplateDef(), and PFunction::getVecArgument().
Referenced by cpp_backendHeader().
PString cpp_licenceSaveStr | ( | ) |
Get the licence in string.
Definition at line 12 of file backend.cpp.
Referenced by cpp_backendHeader(), cpp_backendProxyLoaderHeader(), cpp_backendProxyLoaderSource(), and cpp_backendSource().
PString getHandleFunction | ( | const PString & | functionName | ) |
Get the handle name of the given function.
functionName | : function name |
Definition at line 30 of file backend.cpp.
Referenced by cpp_backendHeader(), cpp_backendSource(), and cpp_backendTableHeaderInline().
PString getHandleFunctionType | ( | const PString & | functionName | ) |
Get the handle type name of the given function.
functionName | : function name |
Definition at line 38 of file backend.cpp.
Referenced by cpp_backendHeader(), cpp_backendSource(), and cpp_backendTableHeaderHandleType().
PString getMangleFunctionName | ( | const PString & | libraryName, |
const PString & | functionName ) |
Get the mangled name of the given function name.
libraryName | : file name of the library to be used |
functionName | : name of the function to be searched |
Definition at line 137 of file backend.cpp.
Referenced by cpp_backendSource().
PString getUpdateFunction | ( | const PPath & | fileName | ) |
Get the update type name of the given file.
fileName | : file name |
Definition at line 46 of file backend.cpp.
Referenced by cpp_backendHeader(), cpp_backendProxyLoaderUpdateSource(), and cpp_backendSource().