libSBML C++ API
5.20.2
|
Implementation of SpatialExtension. More...
Functions | |
BoundaryKind_t | BoundaryKind_fromString (const char *code) |
Returns the BoundaryKind_t enumeration corresponding to the given string or SPATIAL_BOUNDARYKIND_INVALID if there is no such match. More... | |
int | BoundaryKind_isValid (BoundaryKind_t bk) |
Predicate returning 1 (true) or 0 (false) depending on whether the given BoundaryKind_t is valid. More... | |
int | BoundaryKind_isValidString (const char *code) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid BoundaryKind_t. More... | |
BoundaryKind_t | BoundaryKind_parse (const char *code) |
const char * | BoundaryKind_toString (BoundaryKind_t bk) |
Returns the string version of the provided BoundaryKind_t enumeration. More... | |
CompressionKind_t | CompressionKind_fromString (const char *code) |
Returns the CompressionKind_t enumeration corresponding to the given string or SPATIAL_COMPRESSIONKIND_INVALID if there is no such match. More... | |
int | CompressionKind_isValid (CompressionKind_t ck) |
Predicate returning 1 (true) or 0 (false) depending on whether the given CompressionKind_t is valid. More... | |
int | CompressionKind_isValidString (const char *code) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid CompressionKind_t. More... | |
CompressionKind_t | CompressionKind_parse (const char *code) |
const char * | CompressionKind_toString (CompressionKind_t ck) |
Returns the string version of the provided CompressionKind_t enumeration. More... | |
CoordinateKind_t | CoordinateKind_fromString (const char *code) |
Returns the CoordinateKind_t enumeration corresponding to the given string or SPATIAL_COORDINATEKIND_INVALID if there is no such match. More... | |
int | CoordinateKind_isValid (CoordinateKind_t ck) |
Predicate returning 1 (true) or 0 (false) depending on whether the given CoordinateKind_t is valid. More... | |
int | CoordinateKind_isValidString (const char *code) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid CoordinateKind_t. More... | |
CoordinateKind_t | CoordinateKind_parse (const char *code) |
const char * | CoordinateKind_toString (CoordinateKind_t ck) |
Returns the string version of the provided CoordinateKind_t enumeration. More... | |
DataKind_t | DataKind_fromString (const char *code) |
Returns the DataKind_t enumeration corresponding to the given string or SPATIAL_DATAKIND_INVALID if there is no such match. More... | |
int | DataKind_isValid (DataKind_t dk) |
Predicate returning 1 (true) or 0 (false) depending on whether the given DataKind_t is valid. More... | |
int | DataKind_isValidString (const char *code) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid DataKind_t. More... | |
DataKind_t | DataKind_parse (const char *code) |
const char * | DataKind_toString (DataKind_t dk) |
Returns the string version of the provided DataKind_t enumeration. More... | |
DiffusionKind_t | DiffusionKind_fromString (const char *code) |
Returns the DiffusionKind_t enumeration corresponding to the given string or SPATIAL_DIFFUSIONKIND_INVALID if there is no such match. More... | |
int | DiffusionKind_isValid (DiffusionKind_t dk) |
Predicate returning 1 (true) or 0 (false) depending on whether the given DiffusionKind_t is valid. More... | |
int | DiffusionKind_isValidString (const char *code) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid DiffusionKind_t. More... | |
DiffusionKind_t | DiffusionKind_parse (const char *code) |
const char * | DiffusionKind_toString (DiffusionKind_t dk) |
Returns the string version of the provided DiffusionKind_t enumeration. More... | |
FunctionKind_t | FunctionKind_fromString (const char *code) |
Returns the FunctionKind_t enumeration corresponding to the given string or SPATIAL_FUNCTIONKIND_INVALID if there is no such match. More... | |
int | FunctionKind_isValid (FunctionKind_t fk) |
Predicate returning 1 (true) or 0 (false) depending on whether the given FunctionKind_t is valid. More... | |
int | FunctionKind_isValidString (const char *code) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid FunctionKind_t. More... | |
FunctionKind_t | FunctionKind_parse (const char *code) |
const char * | FunctionKind_toString (FunctionKind_t fk) |
Returns the string version of the provided FunctionKind_t enumeration. More... | |
GeometryKind_t | GeometryKind_fromString (const char *code) |
Returns the GeometryKind_t enumeration corresponding to the given string or SPATIAL_GEOMETRYKIND_INVALID if there is no such match. More... | |
int | GeometryKind_isValid (GeometryKind_t gk) |
Predicate returning 1 (true) or 0 (false) depending on whether the given GeometryKind_t is valid. More... | |
int | GeometryKind_isValidString (const char *code) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid GeometryKind_t. More... | |
GeometryKind_t | GeometryKind_parse (const char *code) |
const char * | GeometryKind_toString (GeometryKind_t gk) |
Returns the string version of the provided GeometryKind_t enumeration. More... | |
InterpolationKind_t | InterpolationKind_fromString (const char *code) |
Returns the InterpolationKind_t enumeration corresponding to the given string or SPATIAL_INTERPOLATIONKIND_INVALID if there is no such match. More... | |
int | InterpolationKind_isValid (InterpolationKind_t ik) |
Predicate returning 1 (true) or 0 (false) depending on whether the given InterpolationKind_t is valid. More... | |
int | InterpolationKind_isValidString (const char *code) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid InterpolationKind_t. More... | |
InterpolationKind_t | InterpolationKind_parse (const char *code) |
const char * | InterpolationKind_toString (InterpolationKind_t ik) |
Returns the string version of the provided InterpolationKind_t enumeration. More... | |
PolygonKind_t | PolygonKind_fromString (const char *code) |
Returns the PolygonKind_t enumeration corresponding to the given string or SPATIAL_POLYGONKIND_INVALID if there is no such match. More... | |
int | PolygonKind_isValid (PolygonKind_t pk) |
Predicate returning 1 (true) or 0 (false) depending on whether the given PolygonKind_t is valid. More... | |
int | PolygonKind_isValidString (const char *code) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid PolygonKind_t. More... | |
PolygonKind_t | PolygonKind_parse (const char *code) |
const char * | PolygonKind_toString (PolygonKind_t pk) |
Returns the string version of the provided PolygonKind_t enumeration. More... | |
PrimitiveKind_t | PrimitiveKind_fromString (const char *code) |
Returns the PrimitiveKind_t enumeration corresponding to the given string or SPATIAL_PRIMITIVEKIND_INVALID if there is no such match. More... | |
int | PrimitiveKind_isValid (PrimitiveKind_t pk) |
Predicate returning 1 (true) or 0 (false) depending on whether the given PrimitiveKind_t is valid. More... | |
int | PrimitiveKind_isValidString (const char *code) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid PrimitiveKind_t. More... | |
PrimitiveKind_t | PrimitiveKind_parse (const char *code) |
const char * | PrimitiveKind_toString (PrimitiveKind_t pk) |
Returns the string version of the provided PrimitiveKind_t enumeration. More... | |
SetOperation_t | SetOperation_fromString (const char *code) |
Returns the SetOperation_t enumeration corresponding to the given string or SPATIAL_SETOPERATION_INVALID if there is no such match. More... | |
int | SetOperation_isValid (SetOperation_t so) |
Predicate returning 1 (true) or 0 (false) depending on whether the given SetOperation_t is valid. More... | |
int | SetOperation_isValidString (const char *code) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid SetOperation_t. More... | |
SetOperation_t | SetOperation_parse (const char *code) |
const char * | SetOperation_toString (SetOperation_t so) |
Returns the string version of the provided SetOperation_t enumeration. More... | |
Variables | |
static const char * | SBML_BOUNDARY_KIND_STRINGS [] |
static const char * | SBML_COMPRESSION_KIND_STRINGS [] |
static const char * | SBML_COORDINATE_KIND_STRINGS [] |
static const char * | SBML_DATA_KIND_STRINGS [] |
static const char * | SBML_DIFFUSION_KIND_STRINGS [] |
static const char * | SBML_FUNCTION_KIND_STRINGS [] |
static const char * | SBML_GEOMETRY_KIND_STRINGS [] |
static const char * | SBML_INTERPOLATION_KIND_STRINGS [] |
static const char * | SBML_POLYGON_KIND_STRINGS [] |
static const char * | SBML_PRIMITIVE_KIND_STRINGS [] |
static const char * | SBML_SET_OPERATION_STRINGS [] |
static const char * | SBML_SPATIAL_TYPECODE_STRINGS [] |
static SBMLExtensionRegister< SpatialExtension > | spatialExtensionRegistry |
Adds this SpatialExtension to the SBMLExtensionRegistry class. More... | |
Implementation of SpatialExtension.
BoundaryKind_t BoundaryKind_fromString | ( | const char * | code | ) |
Returns the BoundaryKind_t enumeration corresponding to the given string or SPATIAL_BOUNDARYKIND_INVALID if there is no such match.
code | the string to convert to a BoundaryKind_t. |
int BoundaryKind_isValid | ( | BoundaryKind_t | bk | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given BoundaryKind_t is valid.
bk | the BoundaryKind_t enumeration to query. |
1
(true) if the BoundaryKind_t is SPATIAL_BOUNDARYKIND_NEUMANN, or SPATIAL_BOUNDARYKIND_DIRICHLET; 0
(false) otherwise (including SPATIAL_BOUNDARYKIND_INVALID). int BoundaryKind_isValidString | ( | const char * | code | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given string is a valid BoundaryKind_t.
code | the string to query. |
1
(true) if the string is "Neumann", "Dirichlet", or "invalid BoundaryKind value"; 0
(false) otherwise.1
(true), but "neumann" will return 0
(false). BoundaryKind_t BoundaryKind_parse | ( | const char * | code | ) |
const char* BoundaryKind_toString | ( | BoundaryKind_t | bk | ) |
Returns the string version of the provided BoundaryKind_t enumeration.
bk | the BoundaryKind_t enumeration value to convert. |
NULL
if the value is SPATIAL_BOUNDARYKIND_INVALID or another invalid enumeration value.CompressionKind_t CompressionKind_fromString | ( | const char * | code | ) |
Returns the CompressionKind_t enumeration corresponding to the given string or SPATIAL_COMPRESSIONKIND_INVALID if there is no such match.
code | the string to convert to a CompressionKind_t. |
int CompressionKind_isValid | ( | CompressionKind_t | ck | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given CompressionKind_t is valid.
ck | the CompressionKind_t enumeration to query. |
1
(true) if the CompressionKind_t is SPATIAL_COMPRESSIONKIND_UNCOMPRESSED, or SPATIAL_COMPRESSIONKIND_DEFLATED; 0
(false) otherwise (including SPATIAL_COMPRESSIONKIND_INVALID). int CompressionKind_isValidString | ( | const char * | code | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given string is a valid CompressionKind_t.
code | the string to query. |
1
(true) if the string is "uncompressed", or "deflated"; 0
(false) otherwise.1
(true), but "Uncompressed" will return 0
(false). CompressionKind_t CompressionKind_parse | ( | const char * | code | ) |
const char* CompressionKind_toString | ( | CompressionKind_t | ck | ) |
Returns the string version of the provided CompressionKind_t enumeration.
ck | the CompressionKind_t enumeration value to convert. |
NULL
if the value is SPATIAL_COMPRESSIONKIND_INVALID or another invalid enumeration value.CoordinateKind_t CoordinateKind_fromString | ( | const char * | code | ) |
Returns the CoordinateKind_t enumeration corresponding to the given string or SPATIAL_COORDINATEKIND_INVALID if there is no such match.
code | the string to convert to a CoordinateKind_t. |
int CoordinateKind_isValid | ( | CoordinateKind_t | ck | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given CoordinateKind_t is valid.
ck | the CoordinateKind_t enumeration to query. |
1
(true) if the CoordinateKind_t is SPATIAL_COORDINATEKIND_CARTESIAN_X, SPATIAL_COORDINATEKIND_CARTESIAN_Y, or SPATIAL_COORDINATEKIND_CARTESIAN_Z; 0
(false) otherwise (including SPATIAL_COORDINATEKIND_INVALID). int CoordinateKind_isValidString | ( | const char * | code | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given string is a valid CoordinateKind_t.
code | the string to query. |
1
(true) if the string is "cartesianX", "cartesianY", or "cartesianZ"; 0
(false) otherwise.1
(true), but "CartesianX" will return 0
(false). CoordinateKind_t CoordinateKind_parse | ( | const char * | code | ) |
const char* CoordinateKind_toString | ( | CoordinateKind_t | ck | ) |
Returns the string version of the provided CoordinateKind_t enumeration.
ck | the CoordinateKind_t enumeration value to convert. |
NULL
if the value is SPATIAL_COORDINATEKIND_INVALID or another invalid enumeration value.DataKind_t DataKind_fromString | ( | const char * | code | ) |
Returns the DataKind_t enumeration corresponding to the given string or SPATIAL_DATAKIND_INVALID if there is no such match.
code | the string to convert to a DataKind_t. |
int DataKind_isValid | ( | DataKind_t | dk | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given DataKind_t is valid.
dk | the DataKind_t enumeration to query. |
1
(true) if the DataKind_t is SPATIAL_DATAKIND_UINT SPATIAL_DATAKIND_INT SPATIAL_DATAKIND_DOUBLE, SPATIAL_DATAKIND_FLOAT, SPATIAL_DATAKIND_UINT8, SPATIAL_DATAKIND_UINT16, or SPATIAL_DATAKIND_UINT32; 0
(false) otherwise (including SPATIAL_DATAKIND_INVALID). int DataKind_isValidString | ( | const char * | code | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given string is a valid DataKind_t.
code | the string to query. |
1
(true) if the string is "uint", "int", "double", "float", "uint8", "uint16", or "uint32"; 0
(false) otherwise.1
(true), but "Double" will return 0
(false). DataKind_t DataKind_parse | ( | const char * | code | ) |
const char* DataKind_toString | ( | DataKind_t | dk | ) |
Returns the string version of the provided DataKind_t enumeration.
dk | the DataKind_t enumeration value to convert. |
NULL
if the value is SPATIAL_DATAKIND_INVALID or another invalid enumeration value.DiffusionKind_t DiffusionKind_fromString | ( | const char * | code | ) |
Returns the DiffusionKind_t enumeration corresponding to the given string or SPATIAL_DIFFUSIONKIND_INVALID if there is no such match.
code | the string to convert to a DiffusionKind_t. |
int DiffusionKind_isValid | ( | DiffusionKind_t | dk | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given DiffusionKind_t is valid.
dk | the DiffusionKind_t enumeration to query. |
1
(true) if the DiffusionKind_t is SPATIAL_DIFFUSIONKIND_ISOTROPIC, SPATIAL_DIFFUSIONKIND_ANISOTROPIC, or SPATIAL_DIFFUSIONKIND_TENSOR; 0
(false) otherwise (including SPATIAL_DIFFUSIONKIND_INVALID). int DiffusionKind_isValidString | ( | const char * | code | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given string is a valid DiffusionKind_t.
code | the string to query. |
1
(true) if the string is "isotropic", "anisotropic", or "tensor"; 0
(false) otherwise.1
(true), but "Isotropic" will return 0
(false). DiffusionKind_t DiffusionKind_parse | ( | const char * | code | ) |
const char* DiffusionKind_toString | ( | DiffusionKind_t | dk | ) |
Returns the string version of the provided DiffusionKind_t enumeration.
dk | the DiffusionKind_t enumeration value to convert. |
NULL
if the value is SPATIAL_DIFFUSIONKIND_INVALID or another invalid enumeration value.FunctionKind_t FunctionKind_fromString | ( | const char * | code | ) |
Returns the FunctionKind_t enumeration corresponding to the given string or SPATIAL_FUNCTIONKIND_INVALID if there is no such match.
code | the string to convert to a FunctionKind_t. |
int FunctionKind_isValid | ( | FunctionKind_t | fk | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given FunctionKind_t is valid.
fk | the FunctionKind_t enumeration to query. |
1
(true) if the FunctionKind_t is SPATIAL_FUNCTIONKIND_LAYERED; 0
(false) otherwise (including SPATIAL_FUNCTIONKIND_INVALID). int FunctionKind_isValidString | ( | const char * | code | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given string is a valid FunctionKind_t.
code | the string to query. |
1
(true) if the string is "layered"; 0
(false) otherwise.1
(true), but "Layered" will return 0
(false). FunctionKind_t FunctionKind_parse | ( | const char * | code | ) |
const char* FunctionKind_toString | ( | FunctionKind_t | fk | ) |
Returns the string version of the provided FunctionKind_t enumeration.
fk | the FunctionKind_t enumeration value to convert. |
NULL
if the value is SPATIAL_FUNCTIONKIND_INVALID or another invalid enumeration value.GeometryKind_t GeometryKind_fromString | ( | const char * | code | ) |
Returns the GeometryKind_t enumeration corresponding to the given string or SPATIAL_GEOMETRYKIND_INVALID if there is no such match.
code | the string to convert to a GeometryKind_t. |
int GeometryKind_isValid | ( | GeometryKind_t | gk | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given GeometryKind_t is valid.
gk | the GeometryKind_t enumeration to query. |
1
(true) if the GeometryKind_t is SPATIAL_GEOMETRYKIND_CARTESIAN; 0
(false) otherwise (including SPATIAL_GEOMETRYKIND_INVALID). int GeometryKind_isValidString | ( | const char * | code | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given string is a valid GeometryKind_t.
code | the string to query. |
1
(true) if the string is "cartesian"; 0
(false) otherwise.1
(true), but "Cartesian" will return 0
(false). GeometryKind_t GeometryKind_parse | ( | const char * | code | ) |
const char* GeometryKind_toString | ( | GeometryKind_t | gk | ) |
Returns the string version of the provided GeometryKind_t enumeration.
gk | the GeometryKind_t enumeration value to convert. |
NULL
if the value is SPATIAL_GEOMETRYKIND_INVALID or another invalid enumeration value.InterpolationKind_t InterpolationKind_fromString | ( | const char * | code | ) |
Returns the InterpolationKind_t enumeration corresponding to the given string or SPATIAL_INTERPOLATIONKIND_INVALID if there is no such match.
code | the string to convert to a InterpolationKind_t. |
int InterpolationKind_isValid | ( | InterpolationKind_t | ik | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given InterpolationKind_t is valid.
ik | the InterpolationKind_t enumeration to query. |
1
(true) if the InterpolationKind_t is SPATIAL_INTERPOLATIONKIND_NEARESTNEIGHBOR, or SPATIAL_INTERPOLATIONKIND_LINEAR; 0
(false) otherwise (including SPATIAL_INTERPOLATIONKIND_INVALID). int InterpolationKind_isValidString | ( | const char * | code | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given string is a valid InterpolationKind_t.
code | the string to query. |
1
(true) if the string is "nearestNeighbor", or "linear"; 0
(false) otherwise.1
(true), but "NearestNeighbor" will return 0
(false). InterpolationKind_t InterpolationKind_parse | ( | const char * | code | ) |
const char* InterpolationKind_toString | ( | InterpolationKind_t | ik | ) |
Returns the string version of the provided InterpolationKind_t enumeration.
ik | the InterpolationKind_t enumeration value to convert. |
NULL
if the value is SPATIAL_INTERPOLATIONKIND_INVALID or another invalid enumeration value.PolygonKind_t PolygonKind_fromString | ( | const char * | code | ) |
Returns the PolygonKind_t enumeration corresponding to the given string or SPATIAL_POLYGONKIND_INVALID if there is no such match.
code | the string to convert to a PolygonKind_t. |
int PolygonKind_isValid | ( | PolygonKind_t | pk | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given PolygonKind_t is valid.
pk | the PolygonKind_t enumeration to query. |
1
(true) if the PolygonKind_t is SPATIAL_POLYGONKIND_TRIANGLE, or 0
(false) otherwise (including SPATIAL_POLYGONKIND_INVALID). int PolygonKind_isValidString | ( | const char * | code | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given string is a valid PolygonKind_t.
code | the string to query. |
1
(true) if the string is "triangle", or 0
(false) otherwise.1
(true), but "Triangle" will return 0
(false). PolygonKind_t PolygonKind_parse | ( | const char * | code | ) |
const char* PolygonKind_toString | ( | PolygonKind_t | pk | ) |
Returns the string version of the provided PolygonKind_t enumeration.
pk | the PolygonKind_t enumeration value to convert. |
NULL
if the value is SPATIAL_POLYGONKIND_INVALID or another invalid enumeration value.PrimitiveKind_t PrimitiveKind_fromString | ( | const char * | code | ) |
Returns the PrimitiveKind_t enumeration corresponding to the given string or SPATIAL_PRIMITIVEKIND_INVALID if there is no such match.
code | the string to convert to a PrimitiveKind_t. |
int PrimitiveKind_isValid | ( | PrimitiveKind_t | pk | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given PrimitiveKind_t is valid.
pk | the PrimitiveKind_t enumeration to query. |
1
(true) if the PrimitiveKind_t is SPATIAL_PRIMITIVEKIND_SPHERE, SPATIAL_PRIMITIVEKIND_CUBE, SPATIAL_PRIMITIVEKIND_CYLINDER, SPATIAL_PRIMITIVEKIND_CONE, SPATIAL_PRIMITIVEKIND_CIRCLE, SPATIAL_PRIMITIVEKIND_SQUARE, or 0
(false) otherwise (including SPATIAL_PRIMITIVEKIND_INVALID). int PrimitiveKind_isValidString | ( | const char * | code | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given string is a valid PrimitiveKind_t.
code | the string to query. |
1
(true) if the string is "sphere", "cube", "cylinder", "cone", "circle", "square", or 0
(false) otherwise.1
(true), but "Sphere" will return 0
(false). PrimitiveKind_t PrimitiveKind_parse | ( | const char * | code | ) |
const char* PrimitiveKind_toString | ( | PrimitiveKind_t | pk | ) |
Returns the string version of the provided PrimitiveKind_t enumeration.
pk | the PrimitiveKind_t enumeration value to convert. |
NULL
if the value is SPATIAL_PRIMITIVEKIND_INVALID or another invalid enumeration value.SetOperation_t SetOperation_fromString | ( | const char * | code | ) |
Returns the SetOperation_t enumeration corresponding to the given string or SPATIAL_SETOPERATION_INVALID if there is no such match.
code | the string to convert to a SetOperation_t. |
int SetOperation_isValid | ( | SetOperation_t | so | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given SetOperation_t is valid.
so | the SetOperation_t enumeration to query. |
1
(true) if the SetOperation_t is SPATIAL_SETOPERATION_UNION, SPATIAL_SETOPERATION_INTERSECTION, or SPATIAL_SETOPERATION_DIFFERENCE; 0
(false) otherwise (including SPATIAL_SETOPERATION_INVALID). int SetOperation_isValidString | ( | const char * | code | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given string is a valid SetOperation_t.
code | the string to query. |
1
(true) if the string is "union", "intersection", "difference", or "invalid SetOperation value"; 0
(false) otherwise.1
(true), but "Union" will return 0
(false). SetOperation_t SetOperation_parse | ( | const char * | code | ) |
const char* SetOperation_toString | ( | SetOperation_t | so | ) |
Returns the string version of the provided SetOperation_t enumeration.
so | the SetOperation_t enumeration value to convert. |
NULL
if the value is SPATIAL_SETOPERATION_INVALID or another invalid enumeration value.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Adds this SpatialExtension to the SBMLExtensionRegistry class.