ZeroErr
zeroerr::DomainConvertable< ValueType, CorpusType > Class Template Reference

#include <domain.h>

Inheritance diagram for zeroerr::DomainConvertable< ValueType, CorpusType >:
Collaboration diagram for zeroerr::DomainConvertable< ValueType, CorpusType >:

Public Member Functions

virtual ValueType GetValue (const CorpusType &v) const
 
virtual CorpusType FromValue (const ValueType &v) const
 
- Public Member Functions inherited from zeroerr::Domain< ValueType, ValueType >
virtual ~Domain ()=default
 
virtual ValueType GetRandomCorpus (Rng &rng) const=0
 
virtual ValueType GetRandomValue (Rng &rng) const
 
virtual ValueType GetValue (const ValueType &v) const=0
 
virtual ValueType ParseCorpus (IRObject v) const
 
virtual IRObject SerializeCorpus (const ValueType &v) const
 
virtual void Mutate (Rng &rng, ValueType &v, bool only_shrink=false) const=0
 

Member Function Documentation

◆ FromValue()

template<typename ValueType , typename CorpusType = ValueType>
virtual CorpusType zeroerr::DomainConvertable< ValueType, CorpusType >::FromValue ( const ValueType &  v) const
inlinevirtual

◆ GetValue()

template<typename ValueType , typename CorpusType = ValueType>
virtual ValueType zeroerr::DomainConvertable< ValueType, CorpusType >::GetValue ( const CorpusType &  v) const
inlinevirtual

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