libSBML C++ API  5.20.4
SubListOfSpeciesFeatures.cpp File Reference

: Implementation of the SubListOfSpeciesFeatures class More...

Include dependency graph for SubListOfSpeciesFeatures.cpp:

Functions

Relation_t Relation_fromString (const char *s)
 Returns the Relation_t enumeration corresponding to the given string or MULTI_RELATION_UNKNOWN if there is no such match. More...
 
int Relation_isValid (Relation_t r)
 
int Relation_isValidString (const char *code)
 
const char * Relation_toString (Relation_t relation)
 Returns the string version of the provided Relation_t enumeration. More...
 
SubListOfSpeciesFeatures_tSubListOfSpeciesFeatures_clone (const SubListOfSpeciesFeatures_t *slosf)
 
SubListOfSpeciesFeatures_tSubListOfSpeciesFeatures_create (unsigned int level, unsigned int version, unsigned int pkgVersion)
 
SpeciesFeature_tSubListOfSpeciesFeatures_createSpeciesFeature (SubListOfSpeciesFeatures_t *slosf)
 
void SubListOfSpeciesFeatures_free (SubListOfSpeciesFeatures_t *slosf)
 
char * SubListOfSpeciesFeatures_getComponent (const SubListOfSpeciesFeatures_t *slosf)
 
char * SubListOfSpeciesFeatures_getId (const SubListOfSpeciesFeatures_t *slosf)
 
char * SubListOfSpeciesFeatures_getName (const SubListOfSpeciesFeatures_t *slosf)
 
unsigned int SubListOfSpeciesFeatures_getNumSpeciesFeatures (SubListOfSpeciesFeatures_t *slosf)
 
Relation_t SubListOfSpeciesFeatures_getRelation (const SubListOfSpeciesFeatures_t *slosf)
 
const char * SubListOfSpeciesFeatures_getRelationAsString (const SubListOfSpeciesFeatures_t *slosf)
 
int SubListOfSpeciesFeatures_hasRequiredAttributes (const SubListOfSpeciesFeatures_t *slosf)
 
int SubListOfSpeciesFeatures_isSetComponent (const SubListOfSpeciesFeatures_t *slosf)
 
int SubListOfSpeciesFeatures_isSetId (const SubListOfSpeciesFeatures_t *slosf)
 
int SubListOfSpeciesFeatures_isSetName (const SubListOfSpeciesFeatures_t *slosf)
 
int SubListOfSpeciesFeatures_isSetRelation (const SubListOfSpeciesFeatures_t *slosf)
 
int SubListOfSpeciesFeatures_isValidRelation (Relation_t relation)
 
int SubListOfSpeciesFeatures_isValidRelationString (const char *s)
 
int SubListOfSpeciesFeatures_setComponent (SubListOfSpeciesFeatures_t *slosf, const char *component)
 
int SubListOfSpeciesFeatures_setId (SubListOfSpeciesFeatures_t *slosf, const char *id)
 
int SubListOfSpeciesFeatures_setName (SubListOfSpeciesFeatures_t *slosf, const char *name)
 
int SubListOfSpeciesFeatures_setRelation (SubListOfSpeciesFeatures_t *slosf, Relation_t relation)
 
int SubListOfSpeciesFeatures_setRelationAsString (SubListOfSpeciesFeatures_t *slosf, const char *relation)
 
int SubListOfSpeciesFeatures_unsetComponent (SubListOfSpeciesFeatures_t *slosf)
 
int SubListOfSpeciesFeatures_unsetId (SubListOfSpeciesFeatures_t *slosf)
 
int SubListOfSpeciesFeatures_unsetName (SubListOfSpeciesFeatures_t *slosf)
 
int SubListOfSpeciesFeatures_unsetRelation (SubListOfSpeciesFeatures_t *slosf)
 

Variables

static const char * RELATION_STRINGS []
 

Detailed Description

: Implementation of the SubListOfSpeciesFeatures class

Author
: SBMLTeam

Function Documentation

◆ Relation_fromString()

Relation_t Relation_fromString ( const char *  code)

Returns the Relation_t enumeration corresponding to the given string or MULTI_RELATION_UNKNOWN if there is no such match.

Parameters
codethe string to convert to a Relation_t.
Returns
the corresponding Relation_t or MULTI_RELATION_UNKNOWN if no match is found.
Note
The matching is case-sensitive: "and" will return MULTI_RELATION_AND, but "And" will return MULTI_RELATION_UNKNOWN.

◆ Relation_isValid()

int Relation_isValid ( Relation_t  r)

◆ Relation_isValidString()

int Relation_isValidString ( const char *  code)

◆ Relation_toString()

const char* Relation_toString ( Relation_t  r)

Returns the string version of the provided Relation_t enumeration.

Parameters
rthe Relation_t enumeration value to convert.
Returns
A string corresponding to the given type: "and", "or", "not", or NULL if the value is MULTI_RELATION_UNKNOWN or another invalid enumeration value.
Note
The string returned by this function is a pointer to a string literal defined in the libSBML library, and may not be modified or deleted.

◆ SubListOfSpeciesFeatures_clone()

SubListOfSpeciesFeatures_t* SubListOfSpeciesFeatures_clone ( const SubListOfSpeciesFeatures_t slosf)

◆ SubListOfSpeciesFeatures_create()

SubListOfSpeciesFeatures_t* SubListOfSpeciesFeatures_create ( unsigned int  level,
unsigned int  version,
unsigned int  pkgVersion 
)

◆ SubListOfSpeciesFeatures_createSpeciesFeature()

SpeciesFeature_t* SubListOfSpeciesFeatures_createSpeciesFeature ( SubListOfSpeciesFeatures_t slosf)

◆ SubListOfSpeciesFeatures_free()

void SubListOfSpeciesFeatures_free ( SubListOfSpeciesFeatures_t slosf)

◆ SubListOfSpeciesFeatures_getComponent()

char* SubListOfSpeciesFeatures_getComponent ( const SubListOfSpeciesFeatures_t slosf)

◆ SubListOfSpeciesFeatures_getId()

char* SubListOfSpeciesFeatures_getId ( const SubListOfSpeciesFeatures_t slosf)

◆ SubListOfSpeciesFeatures_getName()

char* SubListOfSpeciesFeatures_getName ( const SubListOfSpeciesFeatures_t slosf)

◆ SubListOfSpeciesFeatures_getNumSpeciesFeatures()

unsigned int SubListOfSpeciesFeatures_getNumSpeciesFeatures ( SubListOfSpeciesFeatures_t slosf)

◆ SubListOfSpeciesFeatures_getRelation()

Relation_t SubListOfSpeciesFeatures_getRelation ( const SubListOfSpeciesFeatures_t slosf)

◆ SubListOfSpeciesFeatures_getRelationAsString()

const char* SubListOfSpeciesFeatures_getRelationAsString ( const SubListOfSpeciesFeatures_t slosf)

◆ SubListOfSpeciesFeatures_hasRequiredAttributes()

int SubListOfSpeciesFeatures_hasRequiredAttributes ( const SubListOfSpeciesFeatures_t slosf)

◆ SubListOfSpeciesFeatures_isSetComponent()

int SubListOfSpeciesFeatures_isSetComponent ( const SubListOfSpeciesFeatures_t slosf)

◆ SubListOfSpeciesFeatures_isSetId()

int SubListOfSpeciesFeatures_isSetId ( const SubListOfSpeciesFeatures_t slosf)

◆ SubListOfSpeciesFeatures_isSetName()

int SubListOfSpeciesFeatures_isSetName ( const SubListOfSpeciesFeatures_t slosf)

◆ SubListOfSpeciesFeatures_isSetRelation()

int SubListOfSpeciesFeatures_isSetRelation ( const SubListOfSpeciesFeatures_t slosf)

◆ SubListOfSpeciesFeatures_isValidRelation()

int SubListOfSpeciesFeatures_isValidRelation ( Relation_t  relation)

◆ SubListOfSpeciesFeatures_isValidRelationString()

int SubListOfSpeciesFeatures_isValidRelationString ( const char *  s)

◆ SubListOfSpeciesFeatures_setComponent()

int SubListOfSpeciesFeatures_setComponent ( SubListOfSpeciesFeatures_t slosf,
const char *  component 
)

◆ SubListOfSpeciesFeatures_setId()

int SubListOfSpeciesFeatures_setId ( SubListOfSpeciesFeatures_t slosf,
const char *  id 
)

◆ SubListOfSpeciesFeatures_setName()

int SubListOfSpeciesFeatures_setName ( SubListOfSpeciesFeatures_t slosf,
const char *  name 
)

◆ SubListOfSpeciesFeatures_setRelation()

int SubListOfSpeciesFeatures_setRelation ( SubListOfSpeciesFeatures_t slosf,
Relation_t  relation 
)

◆ SubListOfSpeciesFeatures_setRelationAsString()

int SubListOfSpeciesFeatures_setRelationAsString ( SubListOfSpeciesFeatures_t slosf,
const char *  relation 
)

◆ SubListOfSpeciesFeatures_unsetComponent()

int SubListOfSpeciesFeatures_unsetComponent ( SubListOfSpeciesFeatures_t slosf)

◆ SubListOfSpeciesFeatures_unsetId()

int SubListOfSpeciesFeatures_unsetId ( SubListOfSpeciesFeatures_t slosf)

◆ SubListOfSpeciesFeatures_unsetName()

int SubListOfSpeciesFeatures_unsetName ( SubListOfSpeciesFeatures_t slosf)

◆ SubListOfSpeciesFeatures_unsetRelation()

int SubListOfSpeciesFeatures_unsetRelation ( SubListOfSpeciesFeatures_t slosf)

Variable Documentation

◆ RELATION_STRINGS

const char* RELATION_STRINGS[]
static
Initial value:
=
{
"and"
, "or"
, "not"
, "unknown"
}