8 #ifndef CPPCMS_URL_MAPPER_H 9 #define CPPCMS_URL_MAPPER_H 11 #include <cppcms/defs.h> 12 #include <cppcms/string_key.h> 13 #include <booster/noncopyable.h> 14 #include <booster/hold_ptr.h> 15 #include <cppcms/filters.h> 167 void root(std::string
const &r);
199 void assign(std::string
const &key,std::string
const &url);
204 void assign(std::string
const &url);
213 void set_value(std::string
const &key,std::string
const &value);
220 void clear_value(std::string
const &key);
225 void map( std::ostream &out,
231 void map( std::ostream &out,
238 void map( std::ostream &out,
246 void map( std::ostream &out,
255 void map( std::ostream &out,
264 void map( std::ostream &out,
274 void map( std::ostream &out,
285 void map( std::ostream &out,
286 std::string
const &path);
291 void map( std::ostream &out,
292 std::string
const &path,
298 void map( std::ostream &out,
299 std::string
const &path,
306 void map( std::ostream &out,
307 std::string
const &path,
315 void map( std::ostream &out,
316 std::string
const &path,
324 void map( std::ostream &out,
325 std::string
const &path,
334 void map( std::ostream &out,
335 std::string
const &path,
350 void mount(std::string
const &name,std::string
const &url,
application &app);
366 void real_assign(std::string
const &key,std::string
const &url,
application *child = 0);
369 void real_map(
char const *key,
372 std::ostream &output);
This is the namespace where all CppCMS functionality is placed.
Definition: application.h:19
class for mapping URLs - the opposite of dispatch
Definition: url_mapper.h:149
This is a special object that may hold an std::string or alternatively reference to external (unowned...
Definition: string_key.h:30
application class is the base class for all user created applications.
Definition: application.h:82
A special proxy object for writing any object to a std::ostream.
Definition: filters.h:67
This class makes impossible to copy any class derived from this one.
Definition: noncopyable.h:15