Verified Commit 66ad2467 authored by Didier WECKMANN's avatar Didier WECKMANN
Browse files

misc: apply review suggestions

parent c821508c
......@@ -55,7 +55,7 @@ public:
protected:
/// Parse the configuration
/// Parses the configuration
ACTIVITY_API virtual void parseConfiguration(
const ConfigurationType& config,
const InOutMapType& inouts = InOutMapType()
......
/************************************************************************
*
* Copyright (C) 2009-2021 IRCAD France
* Copyright (C) 2012-2021 IHU Strasbourg
* Copyright (C) 2021 IRCAD France
*
* This file is part of Sight.
*
......
/************************************************************************
*
* Copyright (C) 2009-2021 IRCAD France
* Copyright (C) 2012-2020 IHU Strasbourg
* Copyright (C) 2021 IRCAD France
*
* This file is part of Sight.
*
......@@ -39,10 +38,10 @@ namespace sight::io::session
* @details Class to read a session file, and restore recursively a data object, including all fields.
* The session file is indeed a standard "ZIP" archive, while the compression algorithm for files inside
* the session archive is ZSTD. A standard archive reader could open a session file, if it is able to handle
* ZIP archive with ZSTD compression
* ZIP archive with ZSTD compression.
*
* The archive can be password protected using AES256 algorithm and the compression level is set individually,
* depending of the type of data to serialize
* depending of the type of data to serialize.
*
*/
class IO_SESSION_CLASS_API SessionReader final :
......
/************************************************************************
*
* Copyright (C) 2009-2021 IRCAD France
* Copyright (C) 2012-2020 IHU Strasbourg
* Copyright (C) 2021 IRCAD France
*
* This file is part of Sight.
*
......@@ -36,13 +35,13 @@ namespace sight::io::session
/**
* @brief Session writer.
*
* @details Class to writer a session file recursively, including all fields from a data object.
* @details Class to write a session file recursively, including all fields from a data object.
* The session file is indeed a standard "ZIP" archive, while the compression algorithm for files inside
* the session archive is ZSTD. A standard archive reader could open a session file, if it is able to handle
* ZIP archive with ZSTD compression
* ZIP archive with ZSTD compression.
*
* The archive can be password protected using AES256 algorithm and the compression level is set individually,
* depending of the type of data to serialize
* depending of the type of data to serialize.
*
*/
......
/************************************************************************
*
* Copyright (C) 2009-2021 IRCAD France
* Copyright (C) 2012-2021 IHU Strasbourg
* Copyright (C) 2021 IRCAD France
*
* This file is part of Sight.
*
......
/************************************************************************
*
* Copyright (C) 2009-2021 IRCAD France
* Copyright (C) 2012-2021 IHU Strasbourg
* Copyright (C) 2021 IRCAD France
*
* This file is part of Sight.
*
......
/************************************************************************
*
* Copyright (C) 2009-2021 IRCAD France
* Copyright (C) 2012-2021 IHU Strasbourg
* Copyright (C) 2021 IRCAD France
*
* This file is part of Sight.
*
......
/************************************************************************
*
* Copyright (C) 2009-2021 IRCAD France
* Copyright (C) 2012-2021 IHU Strasbourg
* Copyright (C) 2021 IRCAD France
*
* This file is part of Sight.
*
......
/************************************************************************
*
* Copyright (C) 2009-2021 IRCAD France
* Copyright (C) 2012-2021 IHU Strasbourg
* Copyright (C) 2021 IRCAD France
*
* This file is part of Sight.
*
......
/************************************************************************
*
* Copyright (C) 2009-2021 IRCAD France
* Copyright (C) 2012-2021 IHU Strasbourg
* Copyright (C) 2021 IRCAD France
*
* This file is part of Sight.
*
......
/************************************************************************
*
* Copyright (C) 2009-2021 IRCAD France
* Copyright (C) 2012-2021 IHU Strasbourg
* Copyright (C) 2021 IRCAD France
*
* This file is part of Sight.
*
......
/************************************************************************
*
* Copyright (C) 2009-2021 IRCAD France
* Copyright (C) 2012-2021 IHU Strasbourg
* Copyright (C) 2021 IRCAD France
*
* This file is part of Sight.
*
......
/************************************************************************
*
* Copyright (C) 2009-2021 IRCAD France
* Copyright (C) 2012-2021 IHU Strasbourg
* Copyright (C) 2021 IRCAD France
*
* This file is part of Sight.
*
......
/************************************************************************
*
* Copyright (C) 2009-2021 IRCAD France
* Copyright (C) 2012-2021 IHU Strasbourg
* Copyright (C) 2021 IRCAD France
*
* This file is part of Sight.
*
......
/************************************************************************
*
* Copyright (C) 2009-2021 IRCAD France
* Copyright (C) 2012-2021 IHU Strasbourg
* Copyright (C) 2021 IRCAD France
*
* This file is part of Sight.
*
......
/************************************************************************
*
* Copyright (C) 2009-2021 IRCAD France
* Copyright (C) 2012-2021 IHU Strasbourg
* Copyright (C) 2021 IRCAD France
*
* This file is part of Sight.
*
......
/************************************************************************
*
* Copyright (C) 2009-2021 IRCAD France
* Copyright (C) 2012-2021 IHU Strasbourg
* Copyright (C) 2021 IRCAD France
*
* This file is part of Sight.
*
......
/************************************************************************
*
* Copyright (C) 2009-2021 IRCAD France
* Copyright (C) 2012-2021 IHU Strasbourg
* Copyright (C) 2021 IRCAD France
*
* This file is part of Sight.
*
......@@ -50,6 +49,7 @@ public:
/// String serialization function
inline std::string toString() const override;
/// Return the default index file path inside the session archive
inline std::filesystem::path getIndexFilePath() const;
/// Salt the password, depending of the encryption level
......
/************************************************************************
*
* Copyright (C) 2009-2021 IRCAD France
* Copyright (C) 2012-2021 IHU Strasbourg
* Copyright (C) 2021 IRCAD France
*
* This file is part of Sight.
*
......
/************************************************************************
*
* Copyright (C) 2009-2021 IRCAD France
* Copyright (C) 2012-2021 IHU Strasbourg
* Copyright (C) 2021 IRCAD France
*
* This file is part of Sight.
*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment