Lines Matching refs:string
118 using std::string;
310 "<xml configurable domains>", "Import domains including settings from XML string"},
314 " string. Does not overwrite an existing domain unless 'overwrite' is passed as second"
326 CParameterMgr::CParameterMgr(const string &strConfigurationFilePath, log::ILogger &logger)
346 string CParameterMgr::getKind() const
352 string CParameterMgr::getVersion() const
357 bool CParameterMgr::load(string &strError)
411 list<string> criteria;
427 bool CParameterMgr::loadFrameworkConfiguration(string &strError)
467 bool CParameterMgr::loadSubsystems(std::string &error)
488 bool CParameterMgr::loadStructure(string &strError)
514 string structureUri =
540 bool CParameterMgr::loadSettings(string &strError)
542 string strLoadError;
561 bool CParameterMgr::loadSettingsFromConfigFile(string &strError)
593 string configurationDomainsUri =
621 CElement *pRootElement, _xmlDoc *doc, const string &baseUri,
623 const string &strNameAttributeName)
652 bool CParameterMgr::init(string &strError)
665 const string &strName, const CSelectionCriterionType *pSelectionCriterionType)
673 CSelectionCriterion *CParameterMgr::getSelectionCriterion(const string &strName)
697 const CConfigurableElement *CParameterMgr::getConfigurableElement(const string &strPath,
698 string &strError) const
725 CConfigurableElement *CParameterMgr::getConfigurableElement(const string &strPath, string &strError)
734 CParameterHandle *CParameterMgr::createParameterHandle(const string &strPath, string &strError)
758 ElementHandle *CParameterMgr::createElementHandle(const std::string &path, std::string &error)
789 // have an error out string
790 std::string error;
802 const std::vector<uint8_t> &settings, std::string &error)
839 const string &CParameterMgr::getSchemaUri() const
844 void CParameterMgr::setSchemaUri(const string &schemaUri)
862 const IRemoteCommand & /*command*/, string &strResult)
872 const IRemoteCommand & /*command*/, string &strResult)
907 string strSubsystemList;
913 string strLastAppliedConfigurations;
919 list<string> lstrSelectionCriteria;
929 const IRemoteCommand &remoteCommand, string &strResult)
951 const IRemoteCommand & /*command*/, string &strResult)
960 const IRemoteCommand &remoteCommand, string & /*strResult*/)
982 const IRemoteCommand & /*command*/, string &strResult)
991 const IRemoteCommand &remoteCommand, string & /*strResult*/)
1013 const IRemoteCommand & /*command*/, string &strResult)
1022 const IRemoteCommand &remoteCommand, string &strResult)
1044 const IRemoteCommand & /*command*/, string &strResult)
1052 const IRemoteCommand &, string &strResult)
1059 const IRemoteCommand &remoteCommand, string &strResult)
1066 string strOutputFormat;
1102 list<string> lstrResult;
1114 const IRemoteCommand & /*command*/, string &strResult)
1122 const IRemoteCommand &remoteCommand, string &strResult)
1129 const IRemoteCommand &remoteCommand, string &strResult)
1136 const IRemoteCommand & /*command*/, string &strResult)
1142 const IRemoteCommand &remoteCommand, string &strResult)
1150 const IRemoteCommand &remoteCommand, string &strResult)
1174 const IRemoteCommand &remoteCommand, string &strResult)
1190 const IRemoteCommand &remoteCommand, string &strResult)
1198 const IRemoteCommand &remoteCommand, string &strResult)
1207 const IRemoteCommand &remoteCommand, string &strResult)
1216 const IRemoteCommand &remoteCommand, string &strResult)
1225 const IRemoteCommand &remoteCommand, string &strResult)
1234 const IRemoteCommand & /*command*/, string &strResult)
1237 string strError;
1247 const IRemoteCommand &remoteCommand, string &strResult)
1256 const IRemoteCommand &remoteCommand, string &strResult)
1265 const IRemoteCommand &remoteCommand, string &strResult)
1274 const IRemoteCommand &remoteCommand, string &strResult)
1282 const IRemoteCommand &remoteCommand, string &strResult)
1295 const IRemoteCommand &remoteCommand, string &strResult)
1298 std::vector<string> astrNewElementSequence;
1313 const IRemoteCommand &remoteCommand, string &strResult)
1323 const IRemoteCommand &remoteCommand, string &strResult)
1334 const IRemoteCommand &remoteCommand, string &strResult)
1344 const IRemoteCommand &remoteCommand, string &strResult)
1354 const IRemoteCommand &remoteCommand, string &strResult)
1381 const IRemoteCommand &remoteCommand, string &strResult)
1407 const IRemoteCommand &remoteCommand, string &strResult)
1431 const IRemoteCommand &remoteCommand, std::string &strResult)
1471 const IRemoteCommand &remoteCommand, string &strResult)
1524 string &result) const
1526 string error;
1536 // Use a doc sink that write the doc data in a string
1549 const string &settings, string &error)
1580 const IRemoteCommand &remoteCommand, string &result)
1598 const IRemoteCommand &remoteCommand, string &result)
1621 const IRemoteCommand &remoteCommand, string &strResult)
1632 string strError;
1644 const IRemoteCommand &remoteCommand, string &strResult)
1659 // Get size as string
1666 const IRemoteCommand &remoteCommand, string &strResult)
1688 const IRemoteCommand &remoteCommand, string &strResult)
1690 string strValue;
1703 const IRemoteCommand &remoteCommand, string &strResult)
1706 string strValue = remoteCommand.packArguments(1, remoteCommand.getArgumentCount() - 1);
1714 const IRemoteCommand &remoteCommand, string &strResult)
1736 const IRemoteCommand &remoteCommand, string &strResult)
1758 const IRemoteCommand & /*command*/, string &strResult)
1766 const IRemoteCommand & /*command*/, string &strResult)
1774 const IRemoteCommand & /*command*/, string &strResult)
1782 getConfigurationParameterCommandProcess(const IRemoteCommand &remoteCommand, string &strResult)
1784 string strOutputValue;
1785 string strError;
1800 setConfigurationParameterCommandProcess(const IRemoteCommand &remoteCommand, string &strResult)
1803 string strValue = remoteCommand.packArguments(3, remoteCommand.getArgumentCount() - 3);
1813 const IRemoteCommand &remoteCommand, string &strResult)
1825 const IRemoteCommand &remoteCommand, string &strResult)
1827 string strFileName = remoteCommand.getArgument(0);
1833 const IRemoteCommand &remoteCommand, string &strResult)
1842 string &strResult)
1844 string strFileName = remoteCommand.getArgument(0);
1850 exportDomainWithSettingsXMLCommandProcess(const IRemoteCommand &remoteCommand, string &result)
1852 string domainName = remoteCommand.getArgument(0);
1853 string fileName = remoteCommand.getArgument(1);
1861 string &strResult)
1870 string &strResult)
1892 getDomainsWithSettingsXMLCommandProcess(const IRemoteCommand & /*command*/, string &strResult)
1903 const IRemoteCommand &remoteCommand, string &strResult)
1905 string strDomainName = remoteCommand.getArgument(0);
1913 setDomainsWithSettingsXMLCommandProcess(const IRemoteCommand &remoteCommand, string &strResult)
1921 const IRemoteCommand &remoteCommand, string &result)
1942 const IRemoteCommand & /*command*/, string &strResult)
1959 bool CParameterMgr::accessParameterValue(const string &strPath, string &strValue, bool bSet,
1960 string &strError)
1982 bool CParameterMgr::getParameterMapping(const string &strPath, string &strResult) const
2009 bool CParameterMgr::accessConfigurationValue(const string &strDomain,
2010 const string &strConfiguration, const string &strPath,
2011 string &strValue, bool bSet, string &strError)
2090 const string &strPath, string &strValue, bool bSet,
2091 string &strError)
2112 bool CParameterMgr::setTuningMode(bool bOn, string &strError)
2171 bool CParameterMgr::setAutoSync(bool bAutoSyncOn, string &strError)
2196 bool CParameterMgr::sync(string &strError)
2223 bool CParameterMgr::createDomain(const string &strName, string &strError)
2236 bool CParameterMgr::deleteDomain(const string &strName, string &strError)
2251 bool CParameterMgr::renameDomain(const string &strName, const string &strNewName, string &strError)
2260 bool CParameterMgr::deleteAllDomains(string &strError)
2278 bool CParameterMgr::setSequenceAwareness(const string &strName, bool bSequenceAware,
2279 string &strResult)
2295 bool CParameterMgr::getSequenceAwareness(const string &strName, bool &bSequenceAware,
2296 string &strResult)
2301 bool CParameterMgr::createConfiguration(const string &strDomain, const string &strConfiguration,
2302 string &strError)
2318 bool CParameterMgr::renameConfiguration(const string &strDomain, const string &strConfiguration,
2319 const string &strNewConfiguration, string &strError)
2329 bool CParameterMgr::deleteConfiguration(const string &strDomain, const string &strConfiguration,
2330 string &strError)
2348 bool CParameterMgr::restoreConfiguration(const string &strDomain, const string &strConfiguration,
2351 string strError;
2369 bool CParameterMgr::saveConfiguration(const string &strDomain, const string &strConfiguration,
2370 string &strError)
2388 bool CParameterMgr::addConfigurableElementToDomain(const string &strDomain,
2389 const string &strConfigurableElementPath,
2390 string &strError)
2430 bool CParameterMgr::removeConfigurableElementFromDomain(const string &strDomain,
2431 const string &strConfigurableElementPath,
2432 string &strError)
2464 bool CParameterMgr::split(const string &strDomain, const string &strConfigurableElementPath,
2465 string &strError)
2504 bool CParameterMgr::setElementSequence(const string &strDomain, const string &strConfiguration,
2505 const std::vector<string> &astrNewElementSequence,
2506 string &strError)
2518 bool CParameterMgr::getApplicationRule(const string &strDomain, const string &strConfiguration,
2519 string &strResult)
2524 bool CParameterMgr::setApplicationRule(const string &strDomain, const string &strConfiguration,
2525 const string &strApplicationRule, string &strError)
2532 bool CParameterMgr::clearApplicationRule(const string &strDomain, const string &strConfiguration,
2533 string &strError)
2538 bool CParameterMgr::importDomainsXml(const string &xmlSource, bool withSettings, bool fromFile,
2539 string &errorMsg)
2565 bool CParameterMgr::importSingleDomainXml(const string &xmlSource, bool overwrite,
2566 bool withSettings, bool fromFile, string &errorMsg)
2593 bool CParameterMgr::wrapLegacyXmlImport(const string &xmlSource, bool fromFile, bool withSettings,
2594 CElement &element, const string &nameAttributeName,
2595 string &errorMsg)
2636 bool CParameterMgr::exportDomainsXml(string &xmlDest, bool withSettings, bool toFile,
2637 string &errorMsg) const
2647 bool CParameterMgr::exportSingleDomainXml(string &xmlDest, const string &domainName,
2648 bool withSettings, bool toFile, string &errorMsg) const
2664 bool CParameterMgr::wrapLegacyXmlExport(string &xmlDest, bool toFile, bool withSettings,
2665 const CElement &element, string &errorMsg) const
2677 bool CParameterMgr::wrapLegacyXmlExportToFile(string &xmlDest, const CElement &element,
2698 bool CParameterMgr::wrapLegacyXmlExportToString(string &xmlDest, const CElement &element,
2713 bool CParameterMgr::checkTuningModeOn(string &strError) const
2848 bool CParameterMgr::handleRemoteProcessingInterface(string &strError)
2862 strError = string("ParameterMgr: Unable to create Remote Processor Server: ") + e.what();
2948 // Export to XML string
2950 const string &strRootElementType,
2952 string &strResult) const
2957 // Use a doc sink that write the doc data in a string
2969 bool CParameterMgr::logResult(bool isSuccess, const std::string &result)
2971 std::string log = result.empty() ? "" : ": " + result;