17 #ifndef AWALI_CORE_KIND_HH 
   18 # define AWALI_CORE_KIND_HH 
   22 # include <type_traits> 
   26 namespace awali { 
namespace sttc {
 
   43 # define DEFINE(Abbrev, Name)                                           \ 
   44   struct labels_are_ ## Name                                            \ 
   46     static std::string name()                                           \ 
   48       return "labels_are_" #Name;                                       \
 
   50     static std::string sname()                                          \
 
   55     static void make(std::istream& is)                                  \
 
   70       is.get(kind, sizeof kind);                                        \ 
   71       if (sname() != kind)                                              \ 
   72         throw std::runtime_error("kind::make: unexpected: "             \
 
   74                                  + ", expected: " + sname());           \
 
#define DEFINE(Abbrev, Name)
Define the kinds, and auxiliary tools.
Definition: kind.hh:43
 
sttc::tupleset< ValueSets... > lat
Definition: lat.hh:22
 
nullableset< T > lan
Definition: lan.hh:28
 
oneset lao
Definition: lao.hh:26
 
Main namespace of Awali.
Definition: ato.hh:22