MCPcopy Create free account
hub / github.com/devosoft/avida / BoolValue

Method BoolValue

avida-core/source/data/Package.cc:44–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42// --------------------------------------------------------------------------------------------------------------
43
44bool Avida::Data::ArrayPackage::BoolValue() const { return (m_entries.GetSize() != 0); }
45int Avida::Data::ArrayPackage::IntValue() const { return m_entries.GetSize(); }
46double Avida::Data::ArrayPackage::DoubleValue() const { return std::numeric_limits<double>::quiet_NaN(); }
47

Callers 1

NotifyDataMethod · 0.45

Calls 1

GetSizeMethod · 0.45

Tested by

no test coverage detected