PhoenixGenerator  2.0.4
Set of tools to generate code
Loading...
Searching...
No Matches
PDataConfig.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 __PDATACONFIG_H__
8#define __PDATACONFIG_H__
9
10#include <vector>
11#include "PClassConfig.h"
12
13typedef std::vector<PClassAttribute> PVecClassAttribute;
14typedef std::vector<PClassConfig> PVecClassConfig;
15
18 public:
20 PDataConfig(const PDataConfig & other);
21 virtual ~PDataConfig();
22 PDataConfig & operator = (const PDataConfig & other);
23
24 void setFileName(const PPath & fileName);
25 const PPath & getFileName() const;
26 PPath & getFileName();
27
28 const PVecClassConfig & getVecClassConfig() const;
30
31 const PVecPath & getVecInclude() const;
32 PVecPath & getVecInclude();
33
34 protected:
35 void copyPDataConfig(const PDataConfig & other);
36
37 private:
39
45 PVecPath p_vecInclude;
46};
47
48typedef std::vector<PDataConfig> PVecDataConfig;
49
50#endif
51
std::vector< PDataConfig > PVecDataConfig
Definition PDataConfig.h:48
std::vector< PClassAttribute > PVecClassAttribute
Definition PDataConfig.h:13
std::vector< PClassConfig > PVecClassConfig
Definition PDataConfig.h:14
void initialisationPDataConfig()
Initialisation function of the class PDataConfig.
virtual ~PDataConfig()
Destructeur of PDataConfig.
PDataConfig & operator=(const PDataConfig &other)
Definition of equal operator of PDataConfig.
const PVecClassConfig & getVecClassConfig() const
Get the vector of all config class of the current pdata file.
void copyPDataConfig(const PDataConfig &other)
Copy function of PDataConfig.
const PPath & getFileName() const
Get the file name of the current PDataConfig.
PDataConfig()
Default constructeur of PDataConfig.
PVecClassConfig p_vecClassConfig
All class of the pdata file.
Definition PDataConfig.h:43
PPath p_fileName
File name of the current PDataConfig.
Definition PDataConfig.h:41
const PVecPath & getVecInclude() const
Get the vector of all include files of the current pdata file.
void setFileName(const PPath &fileName)
Set the file name of the current PDataConfig.
PVecPath p_vecInclude
ALl extra include of the pdata file.
Definition PDataConfig.h:45