20#ifndef _SOURCE_STATE_TFSPECIESLIST_H_
21#define _SOURCE_STATE_TFSPECIESLIST_H_
112 typedef std::map<std::string, TissueForge::state::Species*> Map;
HRESULT toFile(const T &dataElement, const MetaData &metaData, IOElement &fileElement)
Convert an object to an intermediate I/O object.
HRESULT fromFile(const IOElement &fileElement, const MetaData &metaData, T *dataElement)
Instantiate an object from an intermediate I/O object.
Include Python header, disable linking to pythonX_d.lib on Windows in debug mode.
Definition tfAngleConfig.h:26
The Tissue Forge species object.
Definition tfSpecies.h:58
Definition tfSpeciesList.h:37
TissueForge::state::Species * item(const std::string &s)
Get a species by name.
std::string str()
Get a string representation.
HRESULT insert(const std::string &s)
Insert a species by name.
HRESULT insert(TissueForge::state::Species *s)
Insert a species.
static SpeciesList * fromString(const std::string &str)
Create from a JSON string representation.
TissueForge::state::Species * item(int32_t index)
Get a species by index.
std::string toString()
Get a JSON string representation.
int32_t size()
Get the size of the species.
int32_t index_of(const std::string &s)
Get the index of a species name.
int32_t HRESULT
Definition tf_port.h:255