|
libSBML C API
5.18.0
|
The OutwardBindingSite_t object is a child of a Species_t (via the MultiSpeciesPlugin_t). It has two optional attributes, "id" and "name", and two required attributes, "bindingStatus" and "component". A binding site not involved in any InSpeciesTypeBond_t object in the MultiSpeciesType_t referenced by a Species_t is an OutwardBindingSite_t. The bindingStatus attribute is of type BindingStatus_t. The component attribute, of type SIdRef, references a component which ultimately references a BindingSiteSpeciesType_t object. The attribute value must be the identifier of a SpeciesTypeInstance_t, SpeciesTypeComponentIndex_t or MultiSpeciesType_t object. An OutwardBindingSite_t cannot be a binding site referenced by any InSpeciesTypeBond_t in the species. There are three scenarios for the component attribute to have the value of an identifier of MultiSpeciesType_t, SpeciesTypeInstance_t, or SpeciesTypeComponentIndex_t respectively:
Public Member Functions | |
| OutwardBindingSite_t * | OutwardBindingSite_clone (OutwardBindingSite_t *obs) |
| Creates and returns a deep copy of this OutwardBindingSite_t object. More... | |
| OutwardBindingSite_t * | OutwardBindingSite_create (unsigned int level, unsigned int version, unsigned int pkgVersion) |
| Creates a new OutwardBindingSite_t using the given SBML Level, Version and “multi” package version. More... | |
| void | OutwardBindingSite_free (OutwardBindingSite_t *obs) |
| Frees this OutwardBindingSite_t object. More... | |
| BindingStatus_t | OutwardBindingSite_getBindingStatus (const OutwardBindingSite_t *obs) |
| Returns the value of the "bindingStatus" attribute of this OutwardBindingSite_t. More... | |
| const char * | OutwardBindingSite_getBindingStatusAsString (const OutwardBindingSite_t *obs) |
| Returns the value of the "bindingStatus" attribute of this OutwardBindingSite_t. More... | |
| char * | OutwardBindingSite_getComponent (const OutwardBindingSite_t *obs) |
| Returns the value of the "component" attribute of this OutwardBindingSite_t. More... | |
| char * | OutwardBindingSite_getId (const OutwardBindingSite_t *obs) |
| Returns the value of the "id" attribute of this OutwardBindingSite_t. More... | |
| char * | OutwardBindingSite_getName (const OutwardBindingSite_t *obs) |
| Returns the value of the "name" attribute of this OutwardBindingSite_t. More... | |
| int | OutwardBindingSite_hasRequiredAttributes (OutwardBindingSite_t *obs) |
Predicate returning 1 (true) if all the required attributes for this OutwardBindingSite_t object have been set. More... | |
| int | OutwardBindingSite_isSetBindingStatus (const OutwardBindingSite_t *obs) |
Predicate returning 1 (true) if this OutwardBindingSite_t's "bindingStatus" attribute is set. More... | |
| int | OutwardBindingSite_isSetComponent (const OutwardBindingSite_t *obs) |
Predicate returning 1 (true) if this OutwardBindingSite_t's "component" attribute is set. More... | |
| int | OutwardBindingSite_isSetId (const OutwardBindingSite_t *obs) |
Predicate returning 1 (true) if this OutwardBindingSite_t's "id" attribute is set. More... | |
| int | OutwardBindingSite_isSetName (const OutwardBindingSite_t *obs) |
Predicate returning 1 (true) if this OutwardBindingSite_t's "name" attribute is set. More... | |
| int | OutwardBindingSite_isValidBindingStatus (BindingStatus_t bindigStatus) |
| int | OutwardBindingSite_isValidBindingStatusString (const char *s) |
| int | OutwardBindingSite_setBindingStatus (OutwardBindingSite_t *obs, BindingStatus_t bindingStatus) |
| Sets the value of the "bindingStatus" attribute of this OutwardBindingSite_t. More... | |
| int | OutwardBindingSite_setBindingStatusAsString (OutwardBindingSite_t *obs, const char *bindingStatus) |
| Sets the value of the "bindingStatus" attribute of this OutwardBindingSite_t. More... | |
| int | OutwardBindingSite_setComponent (OutwardBindingSite_t *obs, const char *component) |
| Sets the value of the "component" attribute of this OutwardBindingSite_t. More... | |
| int | OutwardBindingSite_setId (OutwardBindingSite_t *obs, const char *id) |
| Sets the value of the "id" attribute of this OutwardBindingSite_t. More... | |
| int | OutwardBindingSite_setName (OutwardBindingSite_t *obs, const char *name) |
| Sets the value of the "name" attribute of this OutwardBindingSite_t. More... | |
| int | OutwardBindingSite_unsetBindingStatus (OutwardBindingSite_t *obs) |
| Unsets the value of the "bindingStatus" attribute of this OutwardBindingSite_t. More... | |
| int | OutwardBindingSite_unsetComponent (OutwardBindingSite_t *obs) |
| Unsets the value of the "component" attribute of this OutwardBindingSite_t. More... | |
| int | OutwardBindingSite_unsetId (OutwardBindingSite_t *obs) |
| Unsets the value of the "id" attribute of this OutwardBindingSite_t. More... | |
| int | OutwardBindingSite_unsetName (OutwardBindingSite_t *obs) |
| Unsets the value of the "name" attribute of this OutwardBindingSite_t. More... | |
| OutwardBindingSite_t * OutwardBindingSite_clone | ( | OutwardBindingSite_t * | obs | ) |
Creates and returns a deep copy of this OutwardBindingSite_t object.
| obs | the OutwardBindingSite_t structure. |
| OutwardBindingSite_t * OutwardBindingSite_create | ( | unsigned int | level, |
| unsigned int | version, | ||
| unsigned int | pkgVersion | ||
| ) |
Creates a new OutwardBindingSite_t using the given SBML Level, Version and “multi” package version.
| level | an unsigned int, the SBML Level to assign to this OutwardBindingSite_t. |
| version | an unsigned int, the SBML Version to assign to this OutwardBindingSite_t. |
| pkgVersion | an unsigned int, the SBML Multi Version to assign to this OutwardBindingSite_t. |
| void OutwardBindingSite_free | ( | OutwardBindingSite_t * | obs | ) |
Frees this OutwardBindingSite_t object.
| obs | the OutwardBindingSite_t structure. |
| BindingStatus_t OutwardBindingSite_getBindingStatus | ( | const OutwardBindingSite_t * | obs | ) |
Returns the value of the "bindingStatus" attribute of this OutwardBindingSite_t.
| obs | the OutwardBindingSite_t structure whose bindingStatus is sought. |
In the SBML Level 3 Version 1 Multi specification, the following are the allowable values for "bindingStatus":
"bound", the binding site is bound.
"unbound", the binding site is not bound.
"either", the binding site may either be bound or unbound.
The value is drawn from the enumeration BindingStatus_t The possible values returned by this method are:
| const char * OutwardBindingSite_getBindingStatusAsString | ( | const OutwardBindingSite_t * | obs | ) |
Returns the value of the "bindingStatus" attribute of this OutwardBindingSite_t.
| obs | the OutwardBindingSite_t structure whose bindingStatus is sought. |
In the SBML Level 3 Version 1 Multi specification, the following are the allowable values for "bindingStatus":
"bound", the binding site is bound.
"unbound", the binding site is not bound.
"either", the binding site may either be bound or unbound.
The possible values returned by this method are:
"bound" "unbound" "either" NULL | char * OutwardBindingSite_getComponent | ( | const OutwardBindingSite_t * | obs | ) |
Returns the value of the "component" attribute of this OutwardBindingSite_t.
| obs | the OutwardBindingSite_t structure whose component is sought. |
| char * OutwardBindingSite_getId | ( | const OutwardBindingSite_t * | obs | ) |
Returns the value of the "id" attribute of this OutwardBindingSite_t.
| obs | the OutwardBindingSite_t structure whose id is sought. |
| char * OutwardBindingSite_getName | ( | const OutwardBindingSite_t * | obs | ) |
Returns the value of the "name" attribute of this OutwardBindingSite_t.
| obs | the OutwardBindingSite_t structure whose name is sought. |
| int OutwardBindingSite_hasRequiredAttributes | ( | OutwardBindingSite_t * | obs | ) |
Predicate returning 1 (true) if all the required attributes for this OutwardBindingSite_t object have been set.
| obs | the OutwardBindingSite_t structure. |
1 (true) to indicate that all the required attributes of this OutwardBindingSite_t have been set, otherwise 0 (false) is returned.| int OutwardBindingSite_isSetBindingStatus | ( | const OutwardBindingSite_t * | obs | ) |
Predicate returning 1 (true) if this OutwardBindingSite_t's "bindingStatus" attribute is set.
| obs | the OutwardBindingSite_t structure. |
1 (true) if this OutwardBindingSite_t's "bindingStatus" attribute has been set, otherwise 0 (false) is returned.In the SBML Level 3 Version 1 Multi specification, the following are the allowable values for "bindingStatus":
"bound", the binding site is bound.
"unbound", the binding site is not bound.
"either", the binding site may either be bound or unbound.
| int OutwardBindingSite_isSetComponent | ( | const OutwardBindingSite_t * | obs | ) |
Predicate returning 1 (true) if this OutwardBindingSite_t's "component" attribute is set.
| obs | the OutwardBindingSite_t structure. |
1 (true) if this OutwardBindingSite_t's "component" attribute has been set, otherwise 0 (false) is returned. | int OutwardBindingSite_isSetId | ( | const OutwardBindingSite_t * | obs | ) |
Predicate returning 1 (true) if this OutwardBindingSite_t's "id" attribute is set.
| obs | the OutwardBindingSite_t structure. |
1 (true) if this OutwardBindingSite_t's "id" attribute has been set, otherwise 0 (false) is returned. | int OutwardBindingSite_isSetName | ( | const OutwardBindingSite_t * | obs | ) |
Predicate returning 1 (true) if this OutwardBindingSite_t's "name" attribute is set.
| obs | the OutwardBindingSite_t structure. |
1 (true) if this OutwardBindingSite_t's "name" attribute has been set, otherwise 0 (false) is returned. | int OutwardBindingSite_isValidBindingStatus | ( | BindingStatus_t | bindigStatus | ) |
| int OutwardBindingSite_isValidBindingStatusString | ( | const char * | s | ) |
| int OutwardBindingSite_setBindingStatus | ( | OutwardBindingSite_t * | obs, |
| BindingStatus_t | bindingStatus | ||
| ) |
Sets the value of the "bindingStatus" attribute of this OutwardBindingSite_t.
| obs | the OutwardBindingSite_t structure. |
| bindingStatus | BindingStatus_t value of the "bindingStatus" attribute to be set. |
In the SBML Level 3 Version 1 Multi specification, the following are the allowable values for "bindingStatus":
"bound", the binding site is bound.
"unbound", the binding site is not bound.
"either", the binding site may either be bound or unbound.
| int OutwardBindingSite_setBindingStatusAsString | ( | OutwardBindingSite_t * | obs, |
| const char * | bindingStatus | ||
| ) |
Sets the value of the "bindingStatus" attribute of this OutwardBindingSite_t.
| obs | the OutwardBindingSite_t structure. |
| bindingStatus | const char * of the "bindingStatus" attribute to be set. |
In the SBML Level 3 Version 1 Multi specification, the following are the allowable values for "bindingStatus":
"bound", the binding site is bound.
"unbound", the binding site is not bound.
"either", the binding site may either be bound or unbound.
| int OutwardBindingSite_setComponent | ( | OutwardBindingSite_t * | obs, |
| const char * | component | ||
| ) |
Sets the value of the "component" attribute of this OutwardBindingSite_t.
| obs | the OutwardBindingSite_t structure. |
| component | const char * value of the "component" attribute to be set. |
| int OutwardBindingSite_setId | ( | OutwardBindingSite_t * | obs, |
| const char * | id | ||
| ) |
Sets the value of the "id" attribute of this OutwardBindingSite_t.
| obs | the OutwardBindingSite_t structure. |
| id | const char * value of the "id" attribute to be set. |
id = NULL or an empty string is equivalent to calling OutwardBindingSite_unsetId(). | int OutwardBindingSite_setName | ( | OutwardBindingSite_t * | obs, |
| const char * | name | ||
| ) |
Sets the value of the "name" attribute of this OutwardBindingSite_t.
| obs | the OutwardBindingSite_t structure. |
| name | const char * value of the "name" attribute to be set. |
name = NULL or an empty string is equivalent to calling OutwardBindingSite_unsetName(). | int OutwardBindingSite_unsetBindingStatus | ( | OutwardBindingSite_t * | obs | ) |
Unsets the value of the "bindingStatus" attribute of this OutwardBindingSite_t.
| obs | the OutwardBindingSite_t structure. |
In the SBML Level 3 Version 1 Multi specification, the following are the allowable values for "bindingStatus":
"bound", the binding site is bound.
"unbound", the binding site is not bound.
"either", the binding site may either be bound or unbound.
| int OutwardBindingSite_unsetComponent | ( | OutwardBindingSite_t * | obs | ) |
Unsets the value of the "component" attribute of this OutwardBindingSite_t.
| obs | the OutwardBindingSite_t structure. |
| int OutwardBindingSite_unsetId | ( | OutwardBindingSite_t * | obs | ) |
Unsets the value of the "id" attribute of this OutwardBindingSite_t.
| obs | the OutwardBindingSite_t structure. |
| int OutwardBindingSite_unsetName | ( | OutwardBindingSite_t * | obs | ) |
Unsets the value of the "name" attribute of this OutwardBindingSite_t.
| obs | the OutwardBindingSite_t structure. |