CppCMS
|
This is the namespace where all CppCMS functionality is placed. More...
Namespaces | |
app | |
Flags for application pool management. | |
b64url | |
this namespace provides functions useful for modified Base64 encoding for URL. This encoding does not insert newline characters, do not pad the text with = character and use "_" and "-" instead of "+" and "/" characters reserved by URL format for special purposes. | |
crypto | |
This namespace holds basic cryptographic utilities useful for save interaction with user. | |
encoding | |
this Namespace holds various function for dealing with encoding | |
filters | |
This namespace various filters that can be used in templates for filtering data. | |
http | |
This namespace represent classes that are directly connected to handing HTTP requests and responses. | |
json | |
This namespace includes all JSON parsing and formatting related classes and functions. | |
plugin | |
Plugin related API. | |
rpc | |
This namespace holds API for implementing various RPC APIs, like JsonRPC. | |
sessions | |
this namespace keeps various session storage backends | |
util | |
This namespace holds various useful helper functions for we developer. | |
views | |
this namespace holds all classes used for rendering CppCMS views. | |
widgets | |
This namespace includes all the widgets (i.e. parts of HTML forms) supported by cppcms. | |
xss | |
Namespace that holds Anti-Cross Site Scripting Filter support. | |
Classes | |
class | application |
application class is the base class for all user created applications. More... | |
class | application_specific_pool |
an interface for creating user applications More... | |
class | applications_pool |
Application pool is the central class that holds user created applications. More... | |
class | archive |
Class that represents a binary archive that can be stored in persistent storage or transfered. More... | |
class | archive_error |
Error thrown in case of serialization error. More... | |
struct | archive_traits |
Special traits class that describes how to serialize various objects that are not defived from serializable_base. More... | |
class | base_content |
This is a simple polymorphic class that every content for templates rendering should be derided from it. It does not carry much information with exception of RTTI that allows type-safe casting of user provided content instances to target content class that is used by specific template. More... | |
class | base_form |
This class is the base class for any form or form widget used in CppCMS. More... | |
class | base_view |
This class is base class for all views (skins) rendered by CppCMS template engine. More... | |
class | cache_interface |
This class is the major gateway of the application to CppCMS caching abilities. Any access too cache would be done via this class. More... | |
class | copy_filter |
Copy the output stream part - "tee" filter. More... | |
class | cppcms_error |
Exception thrown by CppCMS framework. More... | |
class | form |
The form is a container used to collect other widgets and forms into a single unit. More... | |
class | form_context |
This class represents the context required to generate the widgets' HTML. More... | |
struct | form_flags |
This struct holds various flags to control the HTML generation. More... | |
class | forwarder |
Class responsble for automaticall forwarding of HTTP/CGI requests to other hosts over SCGI. More... | |
class | mount_point |
This class represents application's mount point or the rule on which specific application is selected to process the query. More... | |
class | request_forgery_error |
This exception is thrown when CSRF attempt is suspected: More... | |
class | serializable |
Abstract class for serialization object. More... | |
class | serializable_base |
Base abstract class for object that can be serialized into std::string. More... | |
struct | serialization_traits |
This is the traits class for serialization traits. More... | |
class | service |
This class represent the central event loop of the CppCMS applications. More... | |
class | session_api |
This class represents the most generic implementation of session storage device. More... | |
class | session_api_factory |
the factory object that generates custom implemented session_api objects More... | |
class | session_interface |
This class provides an access to an application for session management. More... | |
class | session_interface_cookie_adapter |
class | session_pool |
This class provides an access to session management backends an allow customization. More... | |
class | string_key |
This is a special object that may hold an std::string or alternatively reference to external (unowned) chunk of text. More... | |
class | thread_pool |
This class provides an access to the thread pool where all CppCMS synchronous applications are executed. More... | |
class | translation_domain_scope |
set gettext domain id withing specific scope More... | |
class | triggers_recorder |
triggers_recorder is a class that allows you to record all triggers added in certain scope. More... | |
class | urandom_device |
High entropy random number generator. More... | |
class | url_dispatcher |
This class is used to glue between member function of application class and urls. More... | |
class | url_mapper |
class for mapping URLs - the opposite of dispatch More... | |
Functions | |
template<typename T > | |
std::auto_ptr< applications_pool::factory > | applications_factory () |
template<typename T , typename P1 > | |
std::auto_ptr< applications_pool::factory > | applications_factory (P1 p1) |
template<typename T , typename P1 , typename P2 > | |
std::auto_ptr< applications_pool::factory > | applications_factory (P1 p1, P2 p2) |
template<typename T > | |
booster::shared_ptr< application_specific_pool > | create_pool () |
template<typename T , typename P1 > | |
booster::shared_ptr< application_specific_pool > | create_pool (P1 p1) |
template<typename T , typename P1 , typename P2 > | |
booster::shared_ptr< application_specific_pool > | create_pool (P1 p1, P2 p2) |
void CPPCMS_API | forward_connection (booster::shared_ptr< http::context > cont, std::string const &ip, int port) |
template<typename Archivable > | |
archive & | operator& (archive &a, Archivable &object) |
template<typename Archivable > | |
archive & | operator<< (archive &a, Archivable const &object) |
template<typename Archivable > | |
archive & | operator>> (archive &a, Archivable &object) |
std::ostream & | operator<< (std::ostream &out, string_key const &s) |
bool | operator== (string_key const &l, char const *r) |
bool | operator== (char const *l, string_key const &r) |
bool | operator== (string_key const &l, std::string const &r) |
bool | operator== (std::string const &l, string_key const &r) |
bool | operator!= (string_key const &l, char const *r) |
bool | operator!= (char const *l, string_key const &r) |
bool | operator!= (string_key const &l, std::string const &r) |
bool | operator!= (std::string const &l, string_key const &r) |
bool | operator<= (string_key const &l, char const *r) |
bool | operator<= (char const *l, string_key const &r) |
bool | operator<= (string_key const &l, std::string const &r) |
bool | operator<= (std::string const &l, string_key const &r) |
bool | operator>= (string_key const &l, char const *r) |
bool | operator>= (char const *l, string_key const &r) |
bool | operator>= (string_key const &l, std::string const &r) |
bool | operator>= (std::string const &l, string_key const &r) |
bool | operator< (string_key const &l, char const *r) |
bool | operator< (char const *l, string_key const &r) |
bool | operator< (string_key const &l, std::string const &r) |
bool | operator< (std::string const &l, string_key const &r) |
bool | operator> (string_key const &l, char const *r) |
bool | operator> (char const *l, string_key const &r) |
bool | operator> (string_key const &l, std::string const &r) |
bool | operator> (std::string const &l, string_key const &r) |
bool | parse_url_parameter (util::const_char_istream ¶meter, std::string &output) |
template<typename ParamType > | |
bool | parse_url_parameter (util::const_char_istream ¶meter, ParamType &value) |
This is the namespace where all CppCMS functionality is placed.
std::auto_ptr<applications_pool::factory> cppcms::applications_factory | ( | ) |
Create application factory for application of type T, such as T has a constructor T::T(cppcms::service &s);
std::auto_ptr<applications_pool::factory> cppcms::applications_factory | ( | P1 | p1 | ) |
Create application factory for application of type T, such as T has a constructor T::T(cppcms::service &s,P1);
std::auto_ptr<applications_pool::factory> cppcms::applications_factory | ( | P1 | p1, |
P2 | p2 | ||
) |
Create application factory for application of type T, such as T has a constructor T::T(cppcms::service &s,P1,P2);
booster::shared_ptr<application_specific_pool> cppcms::create_pool | ( | ) |
Create application application_specific_pool for application of type T, such as T has a constructor T::T(cppcms::service &s);
booster::shared_ptr<application_specific_pool> cppcms::create_pool | ( | P1 | p1 | ) |
Create application application_specific_pool for application of type T, such as T has a constructor T::T(cppcms::service &s,P1);
booster::shared_ptr<application_specific_pool> cppcms::create_pool | ( | P1 | p1, |
P2 | p2 | ||
) |
Create application application_specific_pool for application of type T, such as T has a constructor T::T(cppcms::service &s,P1,P2);
void CPPCMS_API cppcms::forward_connection | ( | booster::shared_ptr< http::context > | cont, |
std::string const & | ip, | ||
int | port | ||
) |
Forward the connection handled by cont to other node at IP ip listenning to on port port over SCGI protocol.
The context must be released first by calling cppcms::application::release_context() and it should not be used after this function call.
Please note: forwarding would not work for POST requests with multipart/form-data Content type as they are stored and managed differently.
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
Operator that performs load or store object operations on archive
References cppcms::archive_traits< Object >::load(), and cppcms::archive::mode().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
archive& cppcms::operator<< | ( | archive & | a, |
Archivable const & | object | ||
) |
Operator that saves an object to the archive
References cppcms::archive_traits< Object >::save().
|
inline |
Write the string to the stream
References cppcms::string_key::data(), and cppcms::string_key::size().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
|
inline |
Compare two strings
References cppcms::string_key::unowned().
Operator that loads an object from the archive
References cppcms::archive_traits< Object >::load().
|
inline |
Sets the content of parameter to output
References cppcms::util::const_char_istream::begin(), and cppcms::util::const_char_istream::end().
Referenced by cppcms::url_dispatcher::assign().
bool cppcms::parse_url_parameter | ( | util::const_char_istream & | parameter, |
ParamType & | value | ||
) |
Parses general value