All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Static Public Attributes
openfluid::market::MarketClient Class Reference

#include <market/MarketClient.hpp>

List of all members.

Public Member Functions

 MarketClient ()
 ~MarketClient ()
bool catalogsContainPackages () const
void connect (const std::string &URL)
void disconnect ()
void getMarketInfo (MarketInfo &Info)
const MarketLicensesTexts_tgetLicensesTexts ()
const TypesMetaPackagesCatalogs_tgetTypesMetaPackagesCatalogs ()
MetaPackagesCatalog_t::iterator findInTypesMetaPackagesCatalogs (const openfluid::ware::WareID_t &ID)
bool setSelectionFlag (const openfluid::ware::WareID_t &ID, const MetaPackageInfo::SelectionType &Flag)
void setSRCBuildOptions (const openfluid::ware::WareID_t &ID, const std::string &BuildOpts)
MetaPackageInfo::SelectionType getSelectionFlag (const openfluid::ware::WareID_t &ID) const
void installSelection (const bool IgnoreMissing=true)
void preparePackagesInstallation ()
unsigned int getCountOfPackagesToInstall () const
const MarketPackagegetNextPackageToBeInstalled () const
bool hasSelectedPackagesToInstall ()
void installNextSelectedPackage ()
const std::list< MarketPackage * > & getSelectionToInstall () const
bool isConnected () const
void enableLog (bool Enabled)

Static Public Member Functions

static std::string getTypeName (const PackageInfo::PackageType &Type, const bool Maj, const bool Plural)

Static Public Attributes

static const std::string LOCK_FILE

Constructor & Destructor Documentation


Member Function Documentation

Returns:
true if MetaPackagesCatalogs contain packages
void openfluid::market::MarketClient::connect ( const std::string &  URL)
void openfluid::market::MarketClient::enableLog ( bool  Enabled) [inline]

Finds the ID package in m_TypesMetaPackagesCatalogs

Returns:
iterator on ID package
Parameters:
IDId of package to find
Returns:
selected format of ID package
Parameters:
IDId of package to be got
static std::string openfluid::market::MarketClient::getTypeName ( const PackageInfo::PackageType Type,
const bool  Maj,
const bool  Plural 
) [static]
Returns:
string name of type passed as parameter
Parameters:
TypeType of package
MajFirst letter in maj
PluralReturn plural name
void openfluid::market::MarketClient::installSelection ( const bool  IgnoreMissing = true)

Set selected format of ID package with Flag

Returns:
true Flag has been set as selected flag
Parameters:
IDId of package to modify
FlagFlag to be set
void openfluid::market::MarketClient::setSRCBuildOptions ( const openfluid::ware::WareID_t ID,
const std::string &  BuildOpts 
)

Set build options of ID package for source format with BuildOpts

Parameters:
IDId of package to modify
BuildOptsBuild options to be set

Member Data Documentation

const std::string openfluid::market::MarketClient::LOCK_FILE [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines