25#ifndef _WRAPS_C_TFCSPECIES_H_
26#define _WRAPS_C_TFCSPECIES_H_
Handle to a ParticleList instance.
Definition tfCParticle.h:127
Handle to a state::Species instance.
Definition tfCSpecies.h:39
Handle to a state::SpeciesList instance.
Definition tfCSpecies.h:47
Handle to a state::SpeciesValue instance.
Definition tfCSpecies.h:55
Handle to a state::StateVector instance.
Definition tfCStateVector.h:36
HRESULT tfStateSpecies_getUnits(struct tfStateSpeciesHandle *handle, char **str, unsigned int *numChars)
Get the units.
HRESULT tfStateSpecies_unsetCompartment(struct tfStateSpeciesHandle *handle)
Unset the species compartment.
HRESULT tfStateSpecies_isSetName(struct tfStateSpeciesHandle *handle, bool *value)
Test whether the species name is set.
HRESULT tfStateSpeciesValue_getValue(struct tfStateSpeciesValueHandle *handle, tfFloatP_t *value)
Get the value.
HRESULT tfStateSpecies_initS(struct tfStateSpeciesHandle *handle, const char *s)
Initialize an instance.
HRESULT tfStateSpeciesList_getStr(struct tfStateSpeciesListHandle *handle, char **str, unsigned int *numChars)
Get a string representation.
HRESULT tfStateSpecies_setSpatialSizeUnits(struct tfStateSpeciesHandle *handle, const char *sid)
Set the spatial size units.
HRESULT tfStateSpecies_isSetCompartment(struct tfStateSpeciesHandle *handle, bool *value)
Test whether the species compartment is set.
HRESULT tfStateSpecies_getCompartment(struct tfStateSpeciesHandle *handle, char **str, unsigned int *numChars)
Get the species compartment.
HRESULT tfStateSpecies_unsetHasOnlySubstanceUnits(struct tfStateSpeciesHandle *handle)
Unset the species has only substance units flag.
HRESULT tfStateSpecies_setInitialConcentration(struct tfStateSpeciesHandle *handle, tfFloatP_t value)
Set the initial concentration.
HRESULT tfStateSpecies_setCharge(struct tfStateSpeciesHandle *handle, int value)
Set the species charge.
HRESULT tfStateSpecies_isSetConversionFactor(struct tfStateSpeciesHandle *handle, bool *value)
Test whether the species conversion factor is set.
HRESULT tfStateSpecies_unsetBoundaryCondition(struct tfStateSpeciesHandle *handle)
Unset the species boundary condition.
HRESULT tfStateSpecies_getSpeciesType(struct tfStateSpeciesHandle *handle, char **str, unsigned int *numChars)
Get the species type.
HRESULT tfStateSpecies_getConversionFactor(struct tfStateSpeciesHandle *handle, char **str, unsigned int *numChars)
Get the species conversion factor.
HRESULT tfStateSpecies_unsetId(struct tfStateSpeciesHandle *handle)
Unset the species id.
HRESULT tfStateSpecies_isSetInitialConcentration(struct tfStateSpeciesHandle *handle, bool *value)
Test whether the species initial concentration is set.
HRESULT tfStateSpecies_isSetConstant(struct tfStateSpeciesHandle *handle, bool *value)
Test whether the species is constant.
HRESULT tfStateSpecies_getInitialAmount(struct tfStateSpeciesHandle *handle, tfFloatP_t *value)
Get the initial amount.
HRESULT tfStateSpecies_isSetSpatialSizeUnits(struct tfStateSpeciesHandle *handle, bool *value)
Test whether the species spatial size units are set.
HRESULT tfStateSpeciesValue_setValue(struct tfStateSpeciesValueHandle *handle, tfFloatP_t value)
Set the value.
HRESULT tfStateSpeciesList_toString(struct tfStateSpeciesListHandle *handle, char **str, unsigned int *numChars)
Get a JSON string representation.
HRESULT tfStateSpeciesValue_getConstant(struct tfStateSpeciesValueHandle *handle, bool *value)
Test whether the species is constant.
HRESULT tfStateSpeciesList_init(struct tfStateSpeciesListHandle *handle)
Initialize an instance.
HRESULT tfStateSpeciesList_getItem(struct tfStateSpeciesListHandle *handle, unsigned int index, struct tfStateSpeciesHandle *species)
Get a species by index.
HRESULT tfStateSpecies_isSetUnits(struct tfStateSpeciesHandle *handle, bool *value)
Test whether the species units are set.
HRESULT tfStateSpeciesValue_setInitialAmount(struct tfStateSpeciesValueHandle *handle, tfFloatP_t value)
Set the species initial amount.
HRESULT tfStateSpecies_getBoundaryCondition(struct tfStateSpeciesHandle *handle, bool *value)
Get whether a species has a boundary condition.
HRESULT tfStateSpecies_isSetSubstanceUnits(struct tfStateSpeciesHandle *handle, bool *value)
Test whether the species substance units are set.
HRESULT tfStateSpecies_destroy(struct tfStateSpeciesHandle *handle)
Destroy an instance.
HRESULT tfStateSpecies_isSetHasOnlySubstanceUnits(struct tfStateSpeciesHandle *handle, bool *value)
Test whether a species has only substance units.
HRESULT tfStateSpeciesList_getItemS(struct tfStateSpeciesListHandle *handle, const char *s, struct tfStateSpeciesHandle *species)
Get a species by name.
HRESULT tfStateSpecies_getInitialConcentration(struct tfStateSpeciesHandle *handle, tfFloatP_t *value)
Get the initial concentration.
HRESULT tfStateSpecies_getId(struct tfStateSpeciesHandle *handle, char **str, unsigned int *numChars)
Get the species id.
HRESULT tfStateSpecies_isSetId(struct tfStateSpeciesHandle *handle, bool *value)
Test whether the species id is set.
HRESULT tfStateSpecies_unsetName(struct tfStateSpeciesHandle *handle)
Unset the species name.
HRESULT tfStateSpecies_getConstant(struct tfStateSpeciesHandle *handle, bool *value)
Get whether a species is constnat.
HRESULT tfStateSpecies_setConversionFactor(struct tfStateSpeciesHandle *handle, const char *sid)
Set the species conversion factor.
HRESULT tfStateSpecies_unsetInitialAmount(struct tfStateSpeciesHandle *handle)
Unset the species initial amount.
HRESULT tfStateSpecies_copy(struct tfStateSpeciesHandle *source, struct tfStateSpeciesHandle *destination)
Copy an instance.
HRESULT tfStateSpeciesList_getSize(struct tfStateSpeciesListHandle *handle, unsigned int *size)
Get the size of a list.
HRESULT tfStateSpecies_setId(struct tfStateSpeciesHandle *handle, const char *sid)
Set the species id.
HRESULT tfStateSpeciesValue_getStateVector(struct tfStateSpeciesValueHandle *handle, struct tfStateStateVectorHandle *state_vector)
Get the state vector.
HRESULT tfStateSpeciesList_destroy(struct tfStateSpeciesListHandle *handle)
Destroy an instance.
HRESULT tfStateSpecies_isSetCharge(struct tfStateSpeciesHandle *handle, bool *value)
Test whether the species charge is set.
HRESULT tfStateSpecies_setName(struct tfStateSpeciesHandle *handle, const char *name)
Set the species name.
HRESULT tfStateSpecies_isSetInitialAmount(struct tfStateSpeciesHandle *handle, bool *value)
Test whether the species initial amount is set.
HRESULT tfStateSpecies_setBoundaryCondition(struct tfStateSpeciesHandle *handle, bool value)
Set whether a species has a boundary condition.
HRESULT tfStateSpeciesValue_secreteL(struct tfStateSpeciesValueHandle *handle, tfFloatP_t amount, struct tfParticleListHandle *to, tfFloatP_t *secreted)
Secrete this species into a neighborhood.
HRESULT tfStateSpecies_init(struct tfStateSpeciesHandle *handle)
Initialize an instance.
HRESULT tfStateSpeciesValue_setBoundaryCondition(struct tfStateSpeciesValueHandle *handle, bool value)
Set whether the species has a boundary condition.
HRESULT tfStateSpeciesList_fromString(struct tfStateSpeciesListHandle *handle, const char *str)
Create from a JSON string representation.
HRESULT tfStateSpecies_unsetCharge(struct tfStateSpeciesHandle *handle)
Unset the species charge.
HRESULT tfStateSpeciesList_indexOf(struct tfStateSpeciesListHandle *handle, const char *s, unsigned int *i)
Get the index of a species name.
HRESULT tfStateSpecies_getCharge(struct tfStateSpeciesHandle *handle, int *charge)
Get the species charge.
HRESULT tfStateSpeciesValue_setInitialConcentration(struct tfStateSpeciesValueHandle *handle, tfFloatP_t value)
Set the species initial concentration.
HRESULT tfStateSpecies_setInitialAmount(struct tfStateSpeciesHandle *handle, tfFloatP_t value)
Set the initial amount.
HRESULT tfStateSpecies_setCompartment(struct tfStateSpeciesHandle *handle, const char *sid)
Set the species compartment.
HRESULT tfStateSpeciesList_insertS(struct tfStateSpeciesListHandle *handle, const char *s)
Insert a species by name.
HRESULT tfStateSpeciesList_insert(struct tfStateSpeciesListHandle *handle, struct tfStateSpeciesHandle *species)
Insert a species.
HRESULT tfStateSpeciesValue_secreteD(struct tfStateSpeciesValueHandle *handle, tfFloatP_t amount, tfFloatP_t distance, tfFloatP_t *secreted)
Secrete this species into a neighborhood.
HRESULT tfStateSpeciesValue_getBoundaryCondition(struct tfStateSpeciesValueHandle *handle, bool *value)
Test whether the species has a boundary condition.
HRESULT tfStateSpecies_isSetBoundaryCondition(struct tfStateSpeciesHandle *handle, bool *value)
Test whether the species boundary condition is set.
HRESULT tfStateSpeciesValue_getSpecies(struct tfStateSpeciesValueHandle *handle, struct tfStateSpeciesHandle *species)
Get the species.
HRESULT tfStateSpecies_getName(struct tfStateSpeciesHandle *handle, char **str, unsigned int *numChars)
Get the species name.
HRESULT tfStateSpecies_unsetSpatialSizeUnits(struct tfStateSpeciesHandle *handle)
Unset the species spatial size units.
HRESULT tfStateSpecies_fromString(struct tfStateSpeciesHandle *handle, const char *str)
Create from a JSON string representation.
HRESULT tfStateSpecies_setSpeciesType(struct tfStateSpeciesHandle *handle, const char *sid)
Set the species type.
HRESULT tfStateSpecies_setSubstanceUnits(struct tfStateSpeciesHandle *handle, const char *sid)
Set the substance units.
HRESULT tfStateSpecies_unsetSubstanceUnits(struct tfStateSpeciesHandle *handle)
Unset the species substance units.
HRESULT tfStateSpeciesValue_setConstant(struct tfStateSpeciesValueHandle *handle, int value)
Set whether the species is constant.
HRESULT tfStateSpecies_getSubstanceUnits(struct tfStateSpeciesHandle *handle, char **str, unsigned int *numChars)
Get the substance units.
HRESULT tfStateSpecies_getSpatialSizeUnits(struct tfStateSpeciesHandle *handle, char **str, unsigned int *numChars)
Get the spatial size units.
HRESULT tfStateSpeciesValue_getIndex(struct tfStateSpeciesValueHandle *handle, unsigned int *index)
Get the species index.
HRESULT tfStateSpecies_hasRequiredAttributes(struct tfStateSpeciesHandle *handle, bool *value)
Test whether a species has required attributes.
HRESULT tfStateSpecies_setHasOnlySubstanceUnits(struct tfStateSpeciesHandle *handle, bool value)
Set whether a species has only substance units.
HRESULT tfStateSpeciesValue_init(struct tfStateSpeciesValueHandle *handle, struct tfStateStateVectorHandle *state_vector, unsigned int index)
Initialize an instance.
HRESULT tfStateSpeciesValue_getInitialConcentration(struct tfStateSpeciesValueHandle *handle, tfFloatP_t *value)
Get the species initial concentration.
HRESULT tfStateSpecies_getHasOnlySubstanceUnits(struct tfStateSpeciesHandle *handle, bool *value)
Get whether a species has only substance units.
HRESULT tfStateSpeciesValue_getInitialAmount(struct tfStateSpeciesValueHandle *handle, tfFloatP_t *value)
Get the species initial amount.
HRESULT tfStateSpecies_toString(struct tfStateSpeciesHandle *handle, char **str, unsigned int *numChars)
Get a JSON string representation.
HRESULT tfStateSpecies_unsetConstant(struct tfStateSpeciesHandle *handle)
Unset the species constant flag.
HRESULT tfStateSpecies_unsetConversionFactor(struct tfStateSpeciesHandle *handle)
Unset the species conversion factor.
HRESULT tfStateSpecies_unsetInitialConcentration(struct tfStateSpeciesHandle *handle)
Unset the species initial concentration.
HRESULT tfStateSpecies_setUnits(struct tfStateSpeciesHandle *handle, const char *sname)
Set the units.
HRESULT tfStateSpecies_setConstant(struct tfStateSpeciesHandle *handle, int value)
Set whether a species is constnat.
HRESULT tfStateSpecies_unsetSpeciesType(struct tfStateSpeciesHandle *handle)
Unset the species type.
HRESULT tfStateSpecies_isSetSpeciesType(struct tfStateSpeciesHandle *handle, bool *value)
Test whether the species type is set.
HRESULT tfStateSpecies_unsetUnits(struct tfStateSpeciesHandle *handle)
Unset the species units.