yast2-storage
Classes | Namespaces | Functions

Enum.h File Reference

#include <assert.h>
#include <string>
#include <vector>
#include <algorithm>
#include "storage/StorageInterface.h"
#include "storage/AppUtil.h"

Go to the source code of this file.

Classes

struct  storage::EnumInfo< EnumType >
struct  storage::EnumInfo< FsType >
struct  storage::EnumInfo< PartitionType >
struct  storage::EnumInfo< MountByType >
struct  storage::EnumInfo< EncryptType >
struct  storage::EnumInfo< MdType >
struct  storage::EnumInfo< MdParity >
struct  storage::EnumInfo< MdArrayState >
struct  storage::EnumInfo< UsedByType >
struct  storage::EnumInfo< CType >
struct  storage::EnumInfo< Transport >
struct  storage::EnumInfo< ImsmDriver >
struct  storage::EnumInfo< MultipathAutostart >
struct  storage::EnumInfo< PartAlign >

Namespaces

namespace  storage

Functions

template<typename EnumType >
const string & storage::toString (EnumType value)
template<typename EnumType >
bool storage::toValue (const string &str, EnumType &value, bool log_error=true)
template<typename EnumType >
EnumType storage::toValueWithFallback (const string &str, EnumType fallback, bool log_error=true)