#include <advert.hpp>
Public Member Functions | |
entry (saga::session const &s, saga::url url, int mode=Read) | |
Constructs an advert object that points to url, opens it in mode and associates it with the session s. | |
entry (saga::url url, int mode=Read) | |
Constructs an advert object that points to url and opens it in mode. | |
entry (saga::object const &other) | |
Constructs a copy of other. | |
entry (void) | |
Constructs a default advert object. | |
~entry (void) | |
Destroys the advert object and frees all allocated resources. | |
void | store_object (saga::object object) |
Stores a saga object in this advert. | |
saga::object | retrieve_object () |
Retrieves the saga object stored in this advert. | |
saga::object | retrieve_object (saga::session const &s) |
Retrieves the saga object stored in this advert and associates it with the session s. | |
void | store_string (std::string str) |
Stores a string in this advert. | |
std::string | retrieve_string (void) |
Retrieves the string stored in this advert. | |
Static Public Member Functions | |
static entry | create (session const &s, saga::url const &url, int mode=Read) |
Factory function resembling entry(session, url, int) constructor. | |
static entry | create (saga::url const &url, int mode=Read) |
Factory function resembling entry(url, int) constructor. | |
template<typename Tag> | |
static saga::task | create (saga::url const &url, int mode=Read) |
saga::advert::entry::entry | ( | saga::session const & | s, | |
saga::url | url, | |||
int | mode = Read | |||
) |
Constructs an advert object that points to url, opens it in mode and associates it with the session s.
saga::advert::entry::entry | ( | saga::url | url, | |
int | mode = Read | |||
) | [explicit] |
Constructs an advert object that points to url and opens it in mode.
saga::advert::entry::entry | ( | saga::object const & | other | ) | [explicit] |
Constructs a copy of other.
Reimplemented from saga::name_space::entry.
References saga::object::Advert, saga::BadParameter, and saga::object::get_type().
saga::advert::entry::entry | ( | void | ) |
saga::advert::entry::~entry | ( | void | ) |
Destroys the advert object and frees all allocated resources.
Reimplemented from saga::name_space::entry.
static entry saga::advert::entry::create | ( | session const & | s, | |
saga::url const & | url, | |||
int | mode = Read | |||
) | [inline, static] |
Factory function resembling entry(session, url, int) constructor.
static entry saga::advert::entry::create | ( | saga::url const & | url, | |
int | mode = Read | |||
) | [inline, static] |
Factory function resembling entry(url, int) constructor.
static saga::task saga::advert::entry::create | ( | saga::url const & | url, | |
int | mode = Read | |||
) | [inline, static] |
void saga::advert::entry::store_object | ( | saga::object | object | ) | [inline] |
saga::object saga::advert::entry::retrieve_object | ( | ) | [inline] |
saga::object saga::advert::entry::retrieve_object | ( | saga::session const & | s | ) | [inline] |
void saga::advert::entry::store_string | ( | std::string | str | ) | [inline] |
Stores a string in this advert.
str | The string to store |
std::string saga::advert::entry::retrieve_string | ( | void | ) | [inline] |