예제 #1
0
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
0
void RawScanResults::ScanData::load(PersistentPool &pool)
{
    pool.load(scannerId);
    pool.load(moduleProperties);
    pool.load(lastScanTime);
    pool.load(rawScanResult);
}
예제 #3
0
void RawScanResults::ScanData::store(PersistentPool &pool) const
{
    pool.store(scannerId);
    pool.store(moduleProperties);
    pool.store(lastScanTime);
    pool.store(rawScanResult);
}
예제 #4
0
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);
    }
}
예제 #5
0
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);
}
예제 #6
0
void RescuableArtifactData::store(PersistentPool &pool) const
{
    pool.store(timeStamp);
    pool.store(children);
    pool.store(propertiesRequestedInPrepareScript);
    pool.store(propertiesRequestedInCommands);
    pool.store(propertiesRequestedFromArtifactInPrepareScript);
    pool.store(propertiesRequestedFromArtifactInCommands);
    storeCommandList(commands, pool);
    pool.store(fileTags);
    pool.store(properties);
}
예제 #7
0
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);
}
예제 #8
0
void AbstractCommand::store(PersistentPool &pool) const
{
    pool.store(m_description);
    pool.store(m_extendedDescription);
    pool.store(m_highlight);
    pool.store(m_ignoreDryRun);
    pool.store(m_silent);
    pool.store(m_codeLocation);
    pool.store(m_properties);
}
예제 #9
0
void JavaScriptCommand::load(PersistentPool &pool)
{
    AbstractCommand::load(pool);
    pool.load(m_sourceCode);
}
예제 #10
0
void ArtifactProperties::store(PersistentPool &pool) const
{
    pool.store(m_fileTagsFilter);
    pool.store(m_propertyMap);
}
예제 #11
0
void RawScanResult::load(PersistentPool &pool)
{
    pool.load(deps);
    pool.load(additionalFileTags);
}
예제 #12
0
void RawScanResult::store(PersistentPool &pool) const
{
    pool.store(deps);
    pool.store(additionalFileTags);
}
예제 #13
0
void RawScanResults::load(PersistentPool &pool)
{
    pool.load(m_rawScanData);
}
예제 #14
0
void RawScanResults::store(PersistentPool &pool) const
{
    pool.store(m_rawScanData);
}
예제 #15
0
void PropertyMapInternal::store(PersistentPool &pool) const
{
    pool.store(m_value);
}
예제 #16
0
void PropertyMapInternal::load(PersistentPool &pool)
{
    m_value = pool.loadVariantMap();
}
예제 #17
0
void JavaScriptCommand::store(PersistentPool &pool) const
{
    AbstractCommand::store(pool);
    pool.store(m_sourceCode);
}
예제 #18
0
void PropertyMapInternal::load(PersistentPool &pool)
{
    pool.load(m_value);
}
예제 #19
0
void ArtifactProperties::load(PersistentPool &pool)
{
    pool.load(m_fileTagsFilter);
    pool.load(m_propertyMap);
}