|
SAGA C++ API 1.5.3
|
The directory class represents a directory within a meta data directory with a hierarchical namespace attached. This class inherits all methods from saga::name_space::directoryectory. More...
#include <advert_directory.hpp>

Public Member Functions | |
| directory (saga::session const &s, saga::url url, int mode=saga::advert::ReadWrite) | |
| Constructs an directory object that points to url, opens it in mode and associates it with the session s. | |
| directory (saga::url url, int mode=saga::advert::ReadWrite) | |
| Constructs an directory object that points to url and opens it in mode. | |
| directory (saga::object const &other) | |
| Constructs a copy of other. | |
| directory (void) | |
| Tries to construct a default directory object. | |
| ~directory (void) | |
| Destroys the directory object and frees all allocated resources. | |
| directory & | operator= (saga::object const &o) |
| Assigns object to this directory and returns a reference to it. TASK ONLY | |
| advert::entry | open (saga::url url, int mode=saga::advert::Read) |
| Tries to open the advert at the URL url with mode. | |
| advert::directory | open_dir (saga::url url, int mode=saga::advert::Read) |
| Tries to open the advert_direcory at URL url with mode. | |
| std::vector< saga::url > | find (std::string name, std::vector< std::string > pattern, int flags=saga::advert::None) |
| Tries to find directory entries which match... | |
Static Public Member Functions | |
| static directory | create (session const &s, saga::url const &url, int mode=Read) |
| Factory function resembling directory(session, url, int) constructor. | |
| static directory | create (saga::url const &url, int mode=Read) |
| Factory function resembling directory(url, int) constructor. | |
| template<typename Tag > | |
| static saga::task | create (saga::url const &url, int mode=Read) |
Protected Types | |
| typedef saga::detail::attribute < directory > | attribute_base |
| typedef saga::name_space::directory::monitorable_base | monitorable_base |
Protected Member Functions | |
| TR1::shared_ptr < saga::impl::advert_directory > | get_impl_sp () const |
| saga::impl::advert_directory * | get_impl () const |
| directory (saga::impl::advert_directory *impl) | |
The directory class represents a directory within a meta data directory with a hierarchical namespace attached. This class inherits all methods from saga::name_space::directoryectory.
typedef saga::detail::attribute<directory> saga::advert::directory::attribute_base [protected] |
typedef saga::name_space::directory::monitorable_base saga::advert::directory::monitorable_base [protected] |
Reimplemented from saga::name_space::directory.
| saga::advert::directory::directory | ( | saga::impl::advert_directory * | impl | ) | [explicit, protected] |
| saga::advert::directory::directory | ( | saga::session const & | s, |
| saga::url | url, | ||
| int | mode = saga::advert::ReadWrite |
||
| ) |
Constructs an directory object that points to url, opens it in mode and associates it with the session s.
Constructs an directory object that points to url and opens it in mode.
References saga::metrics::init_data::description, get_impl(), saga::detail::attribute< Derived >::init(), saga::metrics::init_data::mode, saga::metrics::init_data::name, saga::metrics::init_data::type, saga::metrics::init_data::unit, and saga::metrics::init_data::value.
| saga::advert::directory::directory | ( | saga::object const & | other | ) | [explicit] |
Constructs a copy of other.
Reimplemented from saga::name_space::directory.
References saga::object::AdvertDirectory, saga::BadParameter, and saga::object::get_type().
| saga::advert::directory::directory | ( | void | ) |
Tries to construct a default directory object.
Reimplemented from saga::name_space::directory.
| saga::advert::directory::~directory | ( | void | ) |
Destroys the directory object and frees all allocated resources.
Reimplemented from saga::name_space::directory.
| TR1::shared_ptr< saga::impl::advert_directory > saga::advert::directory::get_impl_sp | ( | void | ) | const [protected] |
@ /** These methods are not within API scope */
Reimplemented from saga::name_space::directory.
| saga::impl::advert_directory * saga::advert::directory::get_impl | ( | void | ) | const [protected] |
Reimplemented from saga::name_space::directory.
Referenced by directory().
| static directory saga::advert::directory::create | ( | session const & | s, |
| saga::url const & | url, | ||
| int | mode = Read |
||
| ) | [inline, static] |
Factory function resembling directory(session, url, int) constructor.
| static directory saga::advert::directory::create | ( | saga::url const & | url, |
| int | mode = Read |
||
| ) | [inline, static] |
Factory function resembling directory(url, int) constructor.
@ SAGA_CALL_CREATE_3_DEF_1(session const&, saga::url const&, int, Read)
| static saga::task saga::advert::directory::create | ( | saga::url const & | url, |
| int | mode = Read |
||
| ) | [inline, static] |
| directory & saga::advert::directory::operator= | ( | saga::object const & | o | ) |
Assigns object to this directory and returns a reference to it. TASK ONLY
Reimplemented from saga::name_space::directory.
| advert::entry saga::advert::directory::open | ( | saga::url | url, |
| int | mode = saga::advert::Read |
||
| ) | [inline] |
Tries to open the advert at the URL url with mode.
Reimplemented from saga::name_space::directory.
| advert::directory saga::advert::directory::open_dir | ( | saga::url | url, |
| int | mode = saga::advert::Read |
||
| ) | [inline] |
Tries to open the advert_direcory at URL url with mode.
Reimplemented from saga::name_space::directory.
| std::vector<saga::url> saga::advert::directory::find | ( | std::string | name, |
| std::vector< std::string > | pattern, | ||
| int | flags = saga::advert::None |
||
| ) | [inline] |
Tries to find directory entries which match...