PhoenixGenerator
3.4.0
Generate code from template files and projects in C++, Rust, Python and wrapped C++ to Python
Toggle main menu visibility
Loading...
Searching...
No Matches
PPackageAttribute.h
Go to the documentation of this file.
1
/***************************************
2
Auteur : Pierre Aubert
3
Mail : pierre.aubert@lapp.in2p3.fr
4
Licence : LGPL-3.0-only
5
****************************************/
6
7
#ifndef __PPACKAGEATTRIBUTE_H__
8
#define __PPACKAGEATTRIBUTE_H__
9
10
#include <string>
11
#include "PString.h"
12
13
15
class
PPackageAttribute
{
16
public
:
17
PPackageAttribute
();
18
PPackageAttribute
(
const
PPackageAttribute
& other);
19
virtual
~PPackageAttribute
();
20
PPackageAttribute
&
operator =
(
const
PPackageAttribute
& other);
21
void
setName
(
const
PString & name);
22
void
setPixiName
(
const
PString & pixiName);
23
void
setCmakeFind
(
const
PString & cmakeFind);
24
void
setCmakeLib
(
const
PString & cmakeLib);
25
void
setUrl
(
const
PString & url);
26
void
setMinVersion
(
const
PString & minVersion);
27
void
setMaxVersion
(
const
PString & maxVersion);
28
const
PString &
getName
()
const
;
29
PString &
getName
();
30
const
PString &
getPixiName
()
const
;
31
PString &
getPixiName
();
32
const
PString &
getCmakeFind
()
const
;
33
PString &
getCmakeFind
();
34
const
PString &
getCmakeLib
()
const
;
35
PString &
getCmakeLib
();
36
const
PString &
getUrl
()
const
;
37
PString &
getUrl
();
38
const
PString &
getMinVersion
()
const
;
39
PString &
getMinVersion
();
40
const
PString &
getMaxVersion
()
const
;
41
PString &
getMaxVersion
();
42
protected
:
43
void
copyPPackageAttribute
(
const
PPackageAttribute
& other);
44
private
:
45
void
initialisationPPackageAttribute
();
47
PString
p_name
;
49
PString
p_pixiName
;
51
PString
p_cmakeFind
;
53
PString
p_cmakeLib
;
55
PString
p_url
;
57
PString
p_minVersion
;
59
PString
p_maxVersion
;
60
};
61
62
63
64
#endif
65
PPackageAttribute::p_pixiName
PString p_pixiName
Name of the package in pixi.
Definition
PPackageAttribute.h:49
PPackageAttribute::p_name
PString p_name
Name of the package.
Definition
PPackageAttribute.h:47
PPackageAttribute::PPackageAttribute
PPackageAttribute()
Constructor of class PPackageAttribute.
Definition
PPackageAttribute.cpp:11
PPackageAttribute::p_maxVersion
PString p_maxVersion
Maximum version allowed.
Definition
PPackageAttribute.h:59
PPackageAttribute::setName
void setName(const PString &name)
Sets the name of the PPackageAttribute.
Definition
PPackageAttribute.cpp:39
PPackageAttribute::setCmakeLib
void setCmakeLib(const PString &cmakeLib)
Sets the cmakeLib of the PPackageAttribute.
Definition
PPackageAttribute.cpp:60
PPackageAttribute::initialisationPPackageAttribute
void initialisationPPackageAttribute()
Initialisation Function of class PPackageAttribute.
Definition
PPackageAttribute.cpp:197
PPackageAttribute::setPixiName
void setPixiName(const PString &pixiName)
Sets the pixiName of the PPackageAttribute.
Definition
PPackageAttribute.cpp:46
PPackageAttribute::getName
const PString & getName() const
Gets the name of the PPackageAttribute.
Definition
PPackageAttribute.cpp:88
PPackageAttribute::getMaxVersion
const PString & getMaxVersion() const
Gets the maxVersion of the PPackageAttribute.
Definition
PPackageAttribute.cpp:172
PPackageAttribute::p_minVersion
PString p_minVersion
Minimum version required.
Definition
PPackageAttribute.h:57
PPackageAttribute::operator=
PPackageAttribute & operator=(const PPackageAttribute &other)
Operator = of class PPackageAttribute.
Definition
PPackageAttribute.cpp:31
PPackageAttribute::copyPPackageAttribute
void copyPPackageAttribute(const PPackageAttribute &other)
Copy Function of class PPackageAttribute.
Definition
PPackageAttribute.cpp:186
PPackageAttribute::getUrl
const PString & getUrl() const
Gets the url of the PPackageAttribute.
Definition
PPackageAttribute.cpp:144
PPackageAttribute::getCmakeFind
const PString & getCmakeFind() const
Gets the cmakeFind of the PPackageAttribute.
Definition
PPackageAttribute.cpp:116
PPackageAttribute::setMaxVersion
void setMaxVersion(const PString &maxVersion)
Sets the maxVersion of the PPackageAttribute.
Definition
PPackageAttribute.cpp:81
PPackageAttribute::getCmakeLib
const PString & getCmakeLib() const
Gets the cmakeLib of the PPackageAttribute.
Definition
PPackageAttribute.cpp:130
PPackageAttribute::setUrl
void setUrl(const PString &url)
Sets the url of the PPackageAttribute.
Definition
PPackageAttribute.cpp:67
PPackageAttribute::setCmakeFind
void setCmakeFind(const PString &cmakeFind)
Sets the cmakeFind of the PPackageAttribute.
Definition
PPackageAttribute.cpp:53
PPackageAttribute::getMinVersion
const PString & getMinVersion() const
Gets the minVersion of the PPackageAttribute.
Definition
PPackageAttribute.cpp:158
PPackageAttribute::getPixiName
const PString & getPixiName() const
Gets the pixiName of the PPackageAttribute.
Definition
PPackageAttribute.cpp:102
PPackageAttribute::setMinVersion
void setMinVersion(const PString &minVersion)
Sets the minVersion of the PPackageAttribute.
Definition
PPackageAttribute.cpp:74
PPackageAttribute::p_url
PString p_url
URL of the package repository.
Definition
PPackageAttribute.h:55
PPackageAttribute::p_cmakeFind
PString p_cmakeFind
CMake find package name.
Definition
PPackageAttribute.h:51
PPackageAttribute::p_cmakeLib
PString p_cmakeLib
CMake library name.
Definition
PPackageAttribute.h:53
src
Representation
PPackageAttribute.h
Generated by
1.18.0