LibreOffice Module desktop (master) 1
|
#include <dp_activepackages.hxx>
Classes | |
struct | Data |
Public Types | |
typedef std::vector< std::pair< OUString, Data > > | Entries |
Public Member Functions | |
ActivePackages () | |
ActivePackages (OUString const &url) | |
~ActivePackages () | |
bool | has (OUString const &id, OUString const &fileName) const |
bool | get (Data *data, OUString const &id, OUString const &fileName) const |
Entries | getEntries () const |
void | put (OUString const &id, Data const &value) |
void | erase (OUString const &id, OUString const &fileName) |
Private Member Functions | |
ActivePackages (ActivePackages const &)=delete | |
ActivePackages & | operator= (ActivePackages const &)=delete |
Definition at line 37 of file dp_activepackages.hxx.
typedef std::vector< std::pair< OUString, Data > > dp_manager::ActivePackages::Entries |
Definition at line 64 of file dp_activepackages.hxx.
dp_manager::ActivePackages::ActivePackages | ( | ) |
Definition at line 109 of file dp_activepackages.cxx.
|
explicit |
Definition at line 111 of file dp_activepackages.cxx.
References m_map.
dp_manager::ActivePackages::~ActivePackages | ( | ) |
Definition at line 121 of file dp_activepackages.cxx.
|
privatedelete |
void dp_manager::ActivePackages::erase | ( | OUString const & | id, |
OUString const & | fileName | ||
) |
Definition at line 203 of file dp_activepackages.cxx.
References m_map.
bool dp_manager::ActivePackages::get | ( | Data * | data, |
OUString const & | id, | ||
OUString const & | fileName | ||
) | const |
ActivePackages::Entries dp_manager::ActivePackages::getEntries | ( | ) | const |
Definition at line 157 of file dp_activepackages.cxx.
References dp_misc::generateLegacyIdentifier(), m, m_map, and separator.
bool dp_manager::ActivePackages::has | ( | OUString const & | id, |
OUString const & | fileName | ||
) | const |
Definition at line 123 of file dp_activepackages.cxx.
References get().
|
privatedelete |
References m_map.
void dp_manager::ActivePackages::put | ( | OUString const & | id, |
Data const & | value | ||
) |
Definition at line 183 of file dp_activepackages.cxx.
References dp_manager::ActivePackages::Data::failedPrerequisites, dp_manager::ActivePackages::Data::fileName, m_map, dp_manager::ActivePackages::Data::mediaType, OUStringToOString(), separator, dp_manager::ActivePackages::Data::temporaryName, and dp_manager::ActivePackages::Data::version.