22 #include <bbp/sonata/hdf5_reader.h>
23 #include <bbp/sonata/selection.h>
93 const T& defaultValue)
const;
106 template <
typename T>
126 bool translate_enumeration =
false)
const;
141 template <
typename T>
152 template <
typename T>
155 const T& defaultValue)
const;
166 template <
typename T>
167 Selection filterAttribute(
const std::string& name, std::function<
bool(
const T)> pred)
const;
171 const std::string& csvFilePath,
172 const std::string& name,
173 const std::string& prefix,
183 std::unique_ptr<Impl> impl_;
187 std::vector<std::
string>
Population::getAttribute<std::
string>(const std::
string& name,
200 PopulationStorage(
const std::string& h5FilePath,
const std::string& csvFilePath);
203 const std::string& csvFilePath,
226 std::unique_ptr<Impl> impl_;
Definition: hdf5_reader.h:122
Definition: population.h:29
const std::set< std::string > & enumerationNames() const
std::string _attributeDataType(const std::string &name, bool translate_enumeration=false) const
const std::set< std::string > & attributeNames() const
std::vector< std::string > enumerationValues(const std::string &name) const
std::vector< T > getAttribute(const std::string &name, const Selection &selection) const
std::vector< T > getDynamicsAttribute(const std::string &name, const Selection &selection, const T &defaultValue) const
std::vector< T > getEnumeration(const std::string &name, const Selection &selection) const
const std::set< std::string > & dynamicsAttributeNames() const
Selection selectAll() const
std::string _dynamicsAttributeDataType(const std::string &name) const
std::vector< T > getAttribute(const std::string &name, const Selection &selection, const T &defaultValue) const
std::vector< T > getDynamicsAttribute(const std::string &name, const Selection &selection) const
Definition: population.h:197
std::shared_ptr< Population > openPopulation(const std::string &name) const
std::set< std::string > populationNames() const
Definition: selection.h:13