blob: 8acd3d85483132125a1b92655d29fcc975c8d034 [file] [log] [blame]
John Edward Broadbent7f2ab642021-11-11 21:00:38 -08001#pragma once
John Edward Broadbente6ffe702021-10-14 14:03:11 -07002#include <string>
3
John Edward Broadbentd3bfa7b2022-01-13 17:41:32 -08004namespace estoraged
5{
John Edward Broadbente6ffe702021-10-14 14:03:11 -07006/** @class Erase
7 * @brief Erase object provides a base class for the specific erase types
8 */
9class Erase
10{
11 public:
12 /** @brief creates an erase object
13 * @param inDevPath the linux path for the block device
14 */
15 Erase(std::string_view inDevPath) : devPath(inDevPath)
16 {}
John Edward Broadbente6ffe702021-10-14 14:03:11 -070017
John Edward Broadbente6ffe702021-10-14 14:03:11 -070018 protected:
19 /* The linux path for the block device */
20 std::string devPath;
21};
John Edward Broadbentd3bfa7b2022-01-13 17:41:32 -080022
23} // namespace estoraged