Contains a version number for an SBOL object.
The VersionProperty follows Maven versioning semantics and includes a major, minor, and patch version number.
|
|
void | incrementMajor () |
| | Increment major version.
|
| |
|
void | incrementMinor () |
| | Increment minor version.
|
| |
|
void | incrementPatch () |
| | Increment patch version.
|
| |
|
void | decrementMinor () |
| | Decrement major version.
|
| |
|
void | decrementMajor () |
| | Decrement major version.
|
| |
|
void | decrementPatch () |
| | Decrement major version.
|
| |
| int | major () |
| | Get major version. More...
|
| |
| int | minor () |
| | Get minor version. More...
|
| |
| int | patch () |
| | Get patch version. More...
|
| |
| | VersionProperty (void *property_owner, rdf_type type_uri, char lower_bound, char upper_bound, std::string initial_value) |
| | Initialize the VersionProperty with a version string. More...
|
| |
| virtual std::string | get () |
| | Basic getter for all SBOL literal properties. More...
|
| |
| virtual void | set (std::string new_value) |
| | Basic setter for SBOL TextProperty and URIProperty. More...
|
| |
| virtual void | set (int new_value) |
| | Basic setter for SBOL IntProperty, but can be used with TextProperty as well. More...
|
| |
| virtual void | set (double new_value) |
| | Basic setter for SBOL IntProperty, but can be used with TextProperty as well. More...
|
| |
| void | add (std::string new_value) |
| | Appends the new value to a list of values, for properties that allow it. More...
|
| |
|
virtual void | remove (int index=0) |
| | Remove a property value.
|
| |
|
virtual void | clear () |
| | Clear all property values.
|
| |
|
virtual bool | find (std::string query) |
| | Check if a value in this property matches the query.
|
| |
| std::string | operator[] (const int nIndex) |
| | Retrieve the indexed value in a list container. More...
|
| |
|
void | copy (Property< std::string > &target_property) |
| | Copy property values to a target object's property fields.
|
| |