Another Weighted Automata library
Public Member Functions
awali::dyn::any_t Struct Reference

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 () const
bool operator!= (const any_t &a) const
bool operator< (const any_t &a) const
bool operator<= (const any_t &a) const
any_toperator= (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

Detailed Description

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.

Constructor & Destructor Documentation

◆ any_t() [1/5]

template<typename T >
awali::dyn::any_t::any_t ( const T &  t)

◆ any_t() [2/5]

awali::dyn::any_t::any_t ( )

◆ any_t() [3/5]

template<typename H , typename... T>
awali::dyn::any_t::any_t ( const H &  head,
const T &...  tail 

◆ any_t() [4/5]

awali::dyn::any_t::any_t ( const char *  s)

◆ any_t() [5/5]

awali::dyn::any_t::any_t ( const any_t a)

◆ ~any_t()

awali::dyn::any_t::~any_t ( )

Member Function Documentation

◆ operator T()

template<typename T >
awali::dyn::any_t::operator T ( ) const

◆ operator!=()

bool awali::dyn::any_t::operator!= ( const any_t a) const

◆ operator<()

bool awali::dyn::any_t::operator< ( const any_t a) const

◆ operator<=()

bool awali::dyn::any_t::operator<= ( const any_t a) const

◆ operator=()

any_t& awali::dyn::any_t::operator= ( const any_t t)

◆ operator==()

bool awali::dyn::any_t::operator== ( const any_t a) const

◆ operator>()

bool awali::dyn::any_t::operator> ( const any_t a) const

◆ operator>=()

bool awali::dyn::any_t::operator>= ( const any_t a) const

◆ real_type_id()

std::ostream& awali::dyn::any_t::real_type_id ( std::ostream &  o) const

◆ real_type_name()

std::ostream& awali::dyn::any_t::real_type_name ( std::ostream &  o) const

The documentation for this struct was generated from the following file: