PhoenixGenerator
2.8.0
Set of tools to generate code
Toggle main menu visibility
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
13
typedef
std::vector<PClassAttribute>
PVecClassAttribute
;
14
typedef
std::vector<PClassConfig>
PVecClassConfig
;
15
17
class
PDataConfig
{
18
public
:
19
PDataConfig
();
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
;
29
PVecClassConfig
&
getVecClassConfig
();
30
31
const
PVecPath &
getVecInclude
()
const
;
32
PVecPath &
getVecInclude
();
33
34
protected
:
35
void
copyPDataConfig
(
const
PDataConfig
& other);
36
37
private
:
38
void
initialisationPDataConfig
();
39
41
PPath
p_fileName
;
43
PVecClassConfig
p_vecClassConfig
;
45
PVecPath
p_vecInclude
;
46
};
47
48
typedef
std::vector<PDataConfig>
PVecDataConfig
;
49
50
#endif
51
PClassConfig.h
PVecDataConfig
std::vector< PDataConfig > PVecDataConfig
Definition
PDataConfig.h:48
PVecClassAttribute
std::vector< PClassAttribute > PVecClassAttribute
Definition
PDataConfig.h:13
PVecClassConfig
std::vector< PClassConfig > PVecClassConfig
Definition
PDataConfig.h:14
PDataConfig::initialisationPDataConfig
void initialisationPDataConfig()
Initialisation function of the class PDataConfig.
Definition
PDataConfig.cpp:96
PDataConfig::~PDataConfig
virtual ~PDataConfig()
Destructeur of PDataConfig.
Definition
PDataConfig.cpp:23
PDataConfig::operator=
PDataConfig & operator=(const PDataConfig &other)
Definition of equal operator of PDataConfig.
Definition
PDataConfig.cpp:31
PDataConfig::getVecClassConfig
const PVecClassConfig & getVecClassConfig() const
Get the vector of all config class of the current pdata file.
Definition
PDataConfig.cpp:60
PDataConfig::copyPDataConfig
void copyPDataConfig(const PDataConfig &other)
Copy function of PDataConfig.
Definition
PDataConfig.cpp:89
PDataConfig::getFileName
const PPath & getFileName() const
Get the file name of the current PDataConfig.
Definition
PDataConfig.cpp:46
PDataConfig::PDataConfig
PDataConfig()
Default constructeur of PDataConfig.
Definition
PDataConfig.cpp:11
PDataConfig::p_vecClassConfig
PVecClassConfig p_vecClassConfig
All class of the pdata file.
Definition
PDataConfig.h:43
PDataConfig::p_fileName
PPath p_fileName
File name of the current PDataConfig.
Definition
PDataConfig.h:41
PDataConfig::getVecInclude
const PVecPath & getVecInclude() const
Get the vector of all include files of the current pdata file.
Definition
PDataConfig.cpp:74
PDataConfig::setFileName
void setFileName(const PPath &fileName)
Set the file name of the current PDataConfig.
Definition
PDataConfig.cpp:39
PDataConfig::p_vecInclude
PVecPath p_vecInclude
ALl extra include of the pdata file.
Definition
PDataConfig.h:45
src
Representation
PDataConfig.h
Generated by
1.17.0