PhoenixHPCProxy  0.8.0
Lightweight HPC proxy
Loading...
Searching...
No Matches
representation.h
Go to the documentation of this file.
1/***************************************
2 Auteur : Pierre Aubert
3 Mail : pierre.aubert@lapp.in2p3.fr
4 Licence : CeCILL-C
5****************************************/
6
7#ifndef __REPRESENTATION_H__
8#define __REPRESENTATION_H__
9
10#include "PRepr.h"
11
12typedef PVecString PVecStr;
13typedef std::vector<size_t> PVecSizet;
14typedef std::vector<PArgument> PVecArgument;
15typedef std::vector<PFunction> PVecFunction;
16typedef std::vector<PSource> PVecSource;
17typedef std::vector<PArchLib> PVecArchLib;
18
19bool repr_isFunction(const PFunction & fct);
20
21PArchLib createArchLib(const PString & arch, const PString & libName);
22void addArch(PVecArchLib & vecArch, const PString & arch, const PString & libName);
23
24PPath getLibraryFile(const PVecArchLib & vecArch);
25
26#endif
Library to be related to an architecture.
Definition PRepr.h:110
Function prototype.
Definition PRepr.h:46
std::vector< PSource > PVecSource
PPath getLibraryFile(const PVecArchLib &vecArch)
Get the first non empty library file name.
std::vector< PArgument > PVecArgument
void addArch(PVecArchLib &vecArch, const PString &arch, const PString &libName)
Add a PArchLib in the vector of Architecture if the libName is not empty.
bool repr_isFunction(const PFunction &fct)
Say if the current function is a function prototype.
std::vector< PFunction > PVecFunction
std::vector< PArchLib > PVecArchLib
std::vector< size_t > PVecSizet
PArchLib createArchLib(const PString &arch, const PString &libName)
Set a PArchLib.
PVecString PVecStr