cutelyst
3.9.1
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
Cutelyst
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;
23
class
CUTELYST_LIBRARY
ActionChain
:
public
Action
24
{
25
Q_OBJECT
26
Q_DECLARE_PRIVATE(
ActionChain
)
27
public
:
31
explicit
ActionChain
(
const
ActionList
&chain,
QObject
*parent =
nullptr
);
32
virtual
~
ActionChain
()
override
=
default
;
33
38
ActionList
chain()
const
noexcept;
39
43
virtual
qint8 numberOfCaptures()
const
noexcept
override
;
44
45
protected
:
46
virtual
bool
doExecute(
Context
*c)
override
;
47
};
48
49
}
// namespace Cutelyst
50
51
#endif // ACTIONCHAIN_H
Cutelyst::ActionChain
Holds a chain of Cutelyst Actions.
Definition:
actionchain.h:23
Cutelyst::Action
This class represents a Cutelyst Action.
Definition:
action.h:34
Cutelyst::Context
The Cutelyst Context.
Definition:
context.h:38
QObject
Cutelyst
The Cutelyst namespace holds all public Cutelyst API.
Definition:
Mainpage.dox:7
QVector
Generated by
1.8.14