cutelyst  4.5.1
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
Actions

Cutelyst controller method actions. More...

Collaboration diagram for Actions:

Classes

class  Cutelyst::ActionREST
 Automated REST method dispatching. More...
 
class  Cutelyst::RenderView
 Sensible default end action that forwards to a View. More...
 
class  Cutelyst::RoleACL
 User role-based authorization action role. More...
 

Detailed Description

Cutelyst action classes and action roles are not meant to be instantiated manually but should be annotated to a Controller method via method attribute :ActionClass(actionName) for action classes and :Does(actionName) for action roles set by C_ATTR(methodName, attributes ...) in front of a Controller method. actionName has to be the case sensitive class name of the action class or role to load. See Controller for more information about Cutelyst method attributes set via C_ATTR().

...
C_ATTR(End, :Private :ActionClass(RenderView) :View(someView))
void End(Context *c);
...

An action class is a subclass of Action while an action role is a direct subclass of Component.