ApraLinuxUtils
1.0.0
C++ utility library for embedded Linux systems
Loading...
Searching...
No Matches
StorageType.h
Go to the documentation of this file.
1
/*
2
* StorageType.h
3
*
4
* Copyright (c) 2024 Apra Labs
5
*
6
* This file is part of ApraUtils.
7
*
8
* Licensed under the MIT License.
9
* See LICENSE file in the project root for full license information.
10
*/
11
12
#ifndef INCLUDES_APRA_CONSTANTS_STORAGETYPE_H_
13
#define INCLUDES_APRA_CONSTANTS_STORAGETYPE_H_
14
#include <string>
15
16
namespace
apra
17
{
18
enum
STORAGE_TYPE
19
{
20
FAT32
,
NTFS
,
EXT4
,
UNSUPPORTED
21
};
22
23
class
STORAGE_TYPE_STRING
24
{
25
public
:
26
static
std::string
getString
(
STORAGE_TYPE
type);
27
static
STORAGE_TYPE
getEnum
(std::string typeStr);
28
};
29
30
}
/* namespace apra */
31
32
#endif
/* INCLUDES_APRA_CONSTANTS_STORAGETYPE_H_ */
apra::STORAGE_TYPE_STRING
Definition
StorageType.h:24
apra::STORAGE_TYPE_STRING::getEnum
static STORAGE_TYPE getEnum(std::string typeStr)
Definition
StorageType.cpp:34
apra::STORAGE_TYPE_STRING::getString
static std::string getString(STORAGE_TYPE type)
Definition
StorageType.cpp:17
apra
Definition
EventCallbacks.h:16
apra::STORAGE_TYPE
STORAGE_TYPE
Definition
StorageType.h:19
apra::NTFS
@ NTFS
Definition
StorageType.h:20
apra::UNSUPPORTED
@ UNSUPPORTED
Definition
StorageType.h:20
apra::EXT4
@ EXT4
Definition
StorageType.h:20
apra::FAT32
@ FAT32
Definition
StorageType.h:20
includes
constants
StorageType.h
Generated by
1.9.8