![]() |
PhoenixHPCProxy
0.8.0
Lightweight HPC proxy
|
#include "PRepr.h"
Go to the source code of this file.
Typedefs | |
typedef std::vector< PArchLib > | PVecArchLib |
typedef std::vector< PArgument > | PVecArgument |
typedef std::vector< PFunction > | PVecFunction |
typedef std::vector< size_t > | PVecSizet |
typedef std::vector< PSource > | PVecSource |
typedef PVecString | PVecStr |
Functions | |
void | addArch (PVecArchLib &vecArch, const PString &arch, const PString &libName) |
Add a PArchLib in the vector of Architecture if the libName is not empty. | |
PArchLib | createArchLib (const PString &arch, const PString &libName) |
Set a PArchLib. | |
PPath | getLibraryFile (const PVecArchLib &vecArch) |
Get the first non empty library file name. | |
bool | repr_isFunction (const PFunction &fct) |
Say if the current function is a function prototype. | |
typedef std::vector<PArchLib> PVecArchLib |
Definition at line 17 of file representation.h.
typedef std::vector<PArgument> PVecArgument |
Definition at line 14 of file representation.h.
typedef std::vector<PFunction> PVecFunction |
Definition at line 15 of file representation.h.
typedef std::vector<size_t> PVecSizet |
Definition at line 13 of file representation.h.
typedef std::vector<PSource> PVecSource |
Definition at line 16 of file representation.h.
typedef PVecString PVecStr |
Definition at line 12 of file representation.h.
void addArch | ( | PVecArchLib & | vecArch, |
const PString & | arch, | ||
const PString & | libName ) |
Add a PArchLib in the vector of Architecture if the libName is not empty.
[out] | vecArch | : vector of architecture to be updated |
arch | : name of the architecture | |
libName | : name of the library |
Definition at line 34 of file representation.cpp.
References createArchLib().
Referenced by parseVecArchLib().
PArchLib createArchLib | ( | const PString & | arch, |
const PString & | libName ) |
Set a PArchLib.
arch | : name of the architecture |
libName | : name of the library for the corresponding architecture |
Definition at line 22 of file representation.cpp.
References PArchLib::setArchitecture(), and PArchLib::setName().
Referenced by addArch().
PPath getLibraryFile | ( | const PVecArchLib & | vecArch | ) |
Get the first non empty library file name.
vecArch | : vector of architecture |
Definition at line 44 of file representation.cpp.
Referenced by cpp_backendProxyLoaderSource(), and createSourceFromConfig().
bool repr_isFunction | ( | const PFunction & | fct | ) |
Say if the current function is a function prototype.
fct | : PFunction |
Definition at line 13 of file representation.cpp.
References PFunction::getOtherCode().
Referenced by cpp_backendHeader(), cpp_backendSource(), and cpp_backendTableHeaderHandleType().