|
Grantlee 0.1.9
|
#include "containeraccessor.h"#include "grantlee_core_export.h"#include <QtCore/QLinkedList>#include <QtCore/QSet>#include <QtCore/QSharedPointer>#include <QtCore/QVariant>#include <deque>#include <list>#include <vector>

Go to the source code of this file.
Namespaces | |
| namespace | Grantlee |
The Grantlee namespace holds all public Grantlee API. | |
Defines | |
| #define | GRANTLEE_ASSOCIATIVE_TYPE_CONTAINER_ACCESSOR(Container) |
| #define | GRANTLEE_DISABLE_RANDOM_ACCESS(Container) |
| #define | GRANTLEE_SEQUENTIAL_TYPE_CONTAINER_ACCESSOR(Container) |
| #define | GRANTLEE_SMART_PTR_ACCESSOR(SmartPointer) |
Definition in file typeaccessor.h.
| #define GRANTLEE_ASSOCIATIVE_TYPE_CONTAINER_ACCESSOR | ( | Container | ) |
Registers Container with Grantlee so that it can be iterated in a {% for %} tag.
Also makes the properties items, keys and values available.
Definition at line 180 of file typeaccessor.h.
| #define GRANTLEE_DISABLE_RANDOM_ACCESS | ( | Container | ) |
Disable random access to Container.
This is necessary for containers which do not have operator[].
Definition at line 144 of file typeaccessor.h.
| #define GRANTLEE_SEQUENTIAL_TYPE_CONTAINER_ACCESSOR | ( | Container | ) |
Registers Container with Grantlee so that it can be iterated in a {% for %} tag.
Definition at line 161 of file typeaccessor.h.
| #define GRANTLEE_SMART_PTR_ACCESSOR | ( | SmartPointer | ) |
Allows Grantlee to access SmartPointer<QObjectSubclass> in templates.
Definition at line 197 of file typeaccessor.h.
1.7.4