Antkeeper  0.0.1
Public Member Functions | Public Attributes | List of all members
ant_gene_base Struct Referenceabstract

Abstract base class for ant genes. More...

#include <ant-gene.hpp>

Inheritance diagram for ant_gene_base:
ant_gene< T >

Public Member Functions

virtual constexpr ant_gene_type type () const noexcept=0
 Returns the ant gene type. More...
 

Public Attributes

hash::fnv1a32_t name
 32-bit FNV-1a hash of gene name. More...
 

Detailed Description

Abstract base class for ant genes.

Definition at line 32 of file ant-gene.hpp.

Member Function Documentation

◆ type()

virtual constexpr ant_gene_type ant_gene_base::type ( ) const
constexprpure virtualnoexcept

Returns the ant gene type.

Implemented in ant_gene< T >.

Member Data Documentation

◆ name

hash::fnv1a32_t ant_gene_base::name

32-bit FNV-1a hash of gene name.

Definition at line 38 of file ant-gene.hpp.


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