Antkeeper
0.0.1
|
Ant gene with caste-specific phenes. More...
#include <ant-gene.hpp>
Public Member Functions | |
constexpr ant_gene_type | type () const noexcept override |
Returns the ant gene type. More... | |
Public Attributes | |
std::vector< T > | phenes |
Phene definitions. More... | |
std::unordered_map< ant_caste_type, T * > | phene_map |
Map of ant caste types to phenes. More... | |
![]() | |
hash::fnv1a32_t | name |
32-bit FNV-1a hash of gene name. More... | |
Ant gene with caste-specific phenes.
T | Ant phene type. |
Definition at line 49 of file ant-gene.hpp.
|
inlineconstexproverridevirtualnoexcept |
Returns the ant gene type.
Implements ant_gene_base.
Definition at line 65 of file ant-antennae-gene.hpp.
std::unordered_map<ant_caste_type, T*> ant_gene< T >::phene_map |
Map of ant caste types to phenes.
Definition at line 57 of file ant-gene.hpp.
std::vector<T> ant_gene< T >::phenes |
Phene definitions.
Definition at line 54 of file ant-gene.hpp.