本文整理汇总了C++中PersistentPool类的典型用法代码示例。如果您正苦于以下问题:C++ PersistentPool类的具体用法?C++ PersistentPool怎么用?C++ PersistentPool使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了PersistentPool类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: storeCommandList
void storeCommandList(const QList<AbstractCommandPtr> &commands, PersistentPool &pool)
{
pool.store(commands.count());
foreach (const AbstractCommandPtr &cmd, commands) {
pool.store(static_cast<quint8>(cmd->type()));
pool.store(cmd);
}
示例2:
void RawScanResults::ScanData::load(PersistentPool &pool)
{
pool.load(scannerId);
pool.load(moduleProperties);
pool.load(lastScanTime);
pool.load(rawScanResult);
}
示例3: store
void CommandList::store(PersistentPool &pool) const
{
pool.store(m_commands.size());
for (const AbstractCommandPtr &cmd : m_commands) {
pool.store(static_cast<quint8>(cmd->type()));
pool.store(cmd);
}
}
示例4: store
void ProcessCommand::store(PersistentPool &pool) const
{
AbstractCommand::store(pool);
pool.store(m_program);
pool.store(m_arguments);
pool.store(m_environment);
pool.store(m_workingDir);
pool.store(m_stdoutFilterFunction);
pool.store(m_stderrFilterFunction);
pool.store(m_responseFileUsagePrefix);
pool.store(m_maxExitCode);
pool.store(m_responseFileThreshold);
pool.store(m_responseFileArgumentIndex);
pool.store(m_stdoutFilePath);
pool.store(m_stderrFilePath);
}
示例5: load
void RescuableArtifactData::load(PersistentPool &pool)
{
pool.load(timeStamp);
pool.load(children);
pool.load(propertiesRequestedInPrepareScript);
pool.load(propertiesRequestedInCommands);
pool.load(propertiesRequestedFromArtifactInPrepareScript);
pool.load(propertiesRequestedFromArtifactInCommands);
commands = loadCommandList(pool);
pool.load(fileTags);
pool.load(properties);
}
示例6: store
void PropertyMapInternal::store(PersistentPool &pool) const
{
pool.store(m_value);
}
示例7: load
void PropertyMapInternal::load(PersistentPool &pool)
{
m_value = pool.loadVariantMap();
}