cutelyst
4.3.0
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
actionchain.h
1
/*
2
* SPDX-FileCopyrightText: (C) 2015-2022 Daniel Nicoletti <dantti12@gmail.com>
3
* SPDX-License-Identifier: BSD-3-Clause
4
*/
5
#ifndef ACTIONCHAIN_H
6
#define ACTIONCHAIN_H
7
8
#include <Cutelyst/action.h>
9
#include <Cutelyst/cutelyst_global.h>
10
11
#include <QtCore/qobject.h>
12
13
namespace
Cutelyst
{
14
15
class
ActionChainPrivate;
25
class
CUTELYST_LIBRARY
ActionChain
:
public
Action
26
{
27
Q_OBJECT
28
Q_DECLARE_PRIVATE(
ActionChain
)
29
public
:
33
explicit
ActionChain
(
const
ActionList
&chain,
QObject
*parent =
nullptr
);
34
38
virtual
~ActionChain
()
override
=
default
;
39
43
[[nodiscard]]
ActionList
chain() const noexcept;
44
45
qint8 numberOfCaptures() const noexcept override;
46
47
protected:
48
bool
doExecute(
Context
*c) override;
49
};
50
51
}
// namespace Cutelyst
52
53
#endif
// ACTIONCHAIN_H
Cutelyst::ActionChain
Holds a chain of Cutelyst actions.
Definition
actionchain.h:26
Cutelyst::ActionChain::~ActionChain
virtual ~ActionChain() override=default
Cutelyst::Action
This class represents a Cutelyst Action.
Definition
action.h:36
Cutelyst::Context
The Cutelyst Context.
Definition
context.h:42
Cutelyst
The Cutelyst namespace holds all public Cutelyst API.
Definition
group-core-actions.dox:1
QObject
QVector
Cutelyst
actionchain.h
Generated by
1.9.8