LLFIO  v2.00
llfio_v2_xxx::storage_profile Namespace Reference

YAML databaseable empirical testing of a storage's behaviour. More...

Classes

struct  item_base
 Common base class for items. More...
 
struct  item
 A tag-value item in the storage profile where T is the type of value stored. More...
 
struct  item_erased
 A type erased tag-value item. More...
 
struct  storage_profile
 A (possibly incomplet) profile of storage. More...
 

Enumerations

enum class  storage_types {
  unknown , extent_type , unsigned_int , unsigned_long_long ,
  float_ , string
}
 Types potentially storable in a storage profile.
 

Functions

template<class T >
constexpr storage_types map_to_storage_type ()
 Returns the enum matching type T.
 
template<class T >
constexpr T default_value ()
 Specialise for a different default value for T.
 
template<>
constexpr storage_types map_to_storage_type< byte_io_handle::extent_type > ()
 
template<>
constexpr byte_io_handle::extent_type default_value< byte_io_handle::extent_type > ()
 
template<>
constexpr storage_types map_to_storage_type< unsigned int > ()
 
template<>
constexpr unsigned int default_value< unsigned int > ()
 
template<>
constexpr storage_types map_to_storage_type< float > ()
 
template<>
constexpr storage_types map_to_storage_type< std::string > ()
 

Detailed Description

YAML databaseable empirical testing of a storage's behaviour.