$darkmode
struct.hpp File Reference
#include <map>
#include <memory>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>
#include <fable/schema/interface.hpp>
Include dependency graph for struct.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fable::schema::Struct
 

Typedefs

template<typename S = Box>
using fable::schema::PropertyList = std::initializer_list< std::pair< std::string const, S > >
 
template<typename T , typename S = Box>
using fable::schema::enable_if_property_list_t = std::enable_if_t< std::is_same< PropertyList< S >, T >::value >
 

Functions

template<typename T , typename = enable_if_property_list_t<T>>
Struct fable::schema::make_schema (T &&props)
 
template<typename T , typename = enable_if_property_list_t<T>>
Struct fable::schema::make_schema (std::string &&desc, T &&props)
 
template<typename T , typename = enable_if_property_list_t<T>>
Struct fable::schema::make_schema (std::string &&desc, const Box &base, T &&props)
 
template<typename T , typename = enable_if_property_list_t<T>>
Struct fable::schema::make_schema (std::string &&desc, const Struct &base, T &&props)
 

Detailed Description