![]() |
Mantis App v0.1.13
|
#include <optional>
#include <soci/soci.h>
#include <nlohmann/json.hpp>
Go to the source code of this file.
Classes | |
class | mantis::Validator |
struct | mantis::Field |
struct | mantis::Table |
struct | mantis::BaseTable |
struct | mantis::AuthTable |
struct | mantis::ViewTable |
struct | mantis::SystemTable |
struct | mantis::AdminTable |
Namespaces | |
namespace | mantis |
router.h | |
Typedefs | |
typedef enum mantis::TableType | mantis::TableType |
typedef std::string | mantis::Rule |
Enumerations | |
enum class | mantis::TableType { mantis::Base = 1 , mantis::Auth , mantis::View } |
Functions | |
mantis::NLOHMANN_JSON_SERIALIZE_ENUM (TableType, { {TableType::Base, "base"}, {TableType::Auth, "auth"}, {TableType::View, "view"} }) typedef enum class FieldTypeDecl | |
mantis::NLOHMANN_JSON_SERIALIZE_ENUM (FieldType, { { FieldType::XML, "xml" }, { FieldType::STRING, "string" }, { FieldType::DOUBLE, "double" }, { FieldType::DATE, "date" }, { FieldType::INT8, "int8" }, { FieldType::UINT8, "uint8" }, { FieldType::INT16, "int16" }, { FieldType::UINT16, "uint16" }, { FieldType::INT32, "int32" }, { FieldType::UINT32, "uint32" }, { FieldType::INT64, "int64" }, { FieldType::UINT64, "uint64" }, { FieldType::BLOB, "blob" }, { FieldType::JSON, "json" }, { FieldType::BOOL, "bool" }, }) const std | |
std::optional< FieldType > | mantis::getFieldType (const std::string &fieldName) |
bool | mantis::fieldExists (const TableType &type, const std::string &fieldName) |
bool | mantis::isValidFieldType (const std::string &fieldType) |
Variables | |
mantis::FieldType | |
const std::vector< std::string > | mantis::authFields = {"id", "created", "updated", "name", "email", "password"} |