Awali
Another Weighted Automata library
|
Structure used to erase the type of labels/weights at the dyn layer. More...
#include <any.hh>
Public Member Functions | |
any_t () | |
any_t (const any_t &a) | |
any_t (const char *s) | |
template<typename H , typename... T> | |
any_t (const H &head, const T &... tail) | |
template<typename T > | |
any_t (const T &t) | |
~any_t () | |
template<typename T > | |
operator T () && | |
template<typename T > | |
operator T () const & | |
bool | operator!= (const any_t &a) const |
bool | operator< (const any_t &a) const |
bool | operator<= (const any_t &a) const |
any_t & | operator= (const any_t &t) |
bool | operator== (const any_t &a) const |
bool | operator> (const any_t &a) const |
bool | operator>= (const any_t &a) const |
std::ostream & | real_type_id (std::ostream &o) const |
std::ostream & | real_type_name (std::ostream &o) const |
Structure used to erase the type of labels/weights at the dyn layer.
Anything may be stored into an any_t but it should be of exactly the correct type expected by the automaton. Usually, automatic type conversion will not work (typically long->int, etc) and provoke a runtime error.
awali::dyn::any_t::any_t | ( | const T & | t | ) |
awali::dyn::any_t::any_t | ( | ) |
awali::dyn::any_t::any_t | ( | const H & | head, |
const T &... | tail | ||
) |
awali::dyn::any_t::any_t | ( | const char * | s | ) |
awali::dyn::any_t::any_t | ( | const any_t & | a | ) |
awali::dyn::any_t::~any_t | ( | ) |
|
explicit |
|
explicit |
bool awali::dyn::any_t::operator!= | ( | const any_t & | a | ) | const |
bool awali::dyn::any_t::operator< | ( | const any_t & | a | ) | const |
bool awali::dyn::any_t::operator<= | ( | const any_t & | a | ) | const |
bool awali::dyn::any_t::operator== | ( | const any_t & | a | ) | const |
bool awali::dyn::any_t::operator> | ( | const any_t & | a | ) | const |
bool awali::dyn::any_t::operator>= | ( | const any_t & | a | ) | const |
std::ostream& awali::dyn::any_t::real_type_id | ( | std::ostream & | o | ) | const |
std::ostream& awali::dyn::any_t::real_type_name | ( | std::ostream & | o | ) | const |