summaryrefslogtreecommitdiffstats
path: root/slv2/value.h
diff options
context:
space:
mode:
Diffstat (limited to 'slv2/value.h')
-rw-r--r--slv2/value.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/slv2/value.h b/slv2/value.h
index e9d1966..541c3de 100644
--- a/slv2/value.h
+++ b/slv2/value.h
@@ -30,7 +30,6 @@ extern "C" {
* @{
*/
-
/** Create a new URI value.
*
* Returned value must be freed by caller with slv2_value_free.
@@ -39,7 +38,6 @@ SLV2_API
SLV2Value
slv2_value_new_uri(SLV2World world, const char* uri);
-
/** Create a new string value (with no language).
*
* Returned value must be freed by caller with slv2_value_free.
@@ -48,7 +46,6 @@ SLV2_API
SLV2Value
slv2_value_new_string(SLV2World world, const char* str);
-
/** Create a new integer value.
*
* Returned value must be freed by caller with slv2_value_free.
@@ -57,7 +54,6 @@ SLV2_API
SLV2Value
slv2_value_new_int(SLV2World world, int val);
-
/** Create a new floating point value.
*
* Returned value must be freed by caller with slv2_value_free.
@@ -66,28 +62,24 @@ SLV2_API
SLV2Value
slv2_value_new_float(SLV2World world, float val);
-
/** Free an SLV2Value.
*/
SLV2_API
void
slv2_value_free(SLV2Value val);
-
/** Duplicate an SLV2Value.
*/
SLV2_API
SLV2Value
slv2_value_duplicate(SLV2Value val);
-
/** Return whether two values are equivalent.
*/
SLV2_API
bool
slv2_value_equals(SLV2Value value, SLV2Value other);
-
/** Return this value as a Turtle/SPARQL token.
* Examples:
* <http://example.org/foo>
@@ -102,7 +94,6 @@ SLV2_API
char*
slv2_value_get_turtle_token(SLV2Value value);
-
/** Return whether the value is a URI (resource).
*
* Time = O(1)
@@ -111,7 +102,6 @@ SLV2_API
bool
slv2_value_is_uri(SLV2Value value);
-
/** Return this value as a URI string, e.g. "http://example.org/foo".
*
* Valid to call only if slv2_value_is_uri(\a value) returns true.
@@ -123,7 +113,6 @@ SLV2_API
const char*
slv2_value_as_uri(SLV2Value value);
-
/** Return whether the value is a blank node (resource with no URI).
*
* Time = O(1)
@@ -132,7 +121,6 @@ SLV2_API
bool
slv2_value_is_blank(SLV2Value value);
-
/** Return this value as a blank node identifier, e.g. "genid03".
*
* Valid to call only if slv2_value_is_blank(\a value) returns true.
@@ -144,7 +132,6 @@ SLV2_API
const char*
slv2_value_as_blank(SLV2Value value);
-
/** Return whether this value is a literal (i.e. not a URI).
*
* Returns true if \a value is a string or numeric value.
@@ -155,7 +142,6 @@ SLV2_API
bool
slv2_value_is_literal(SLV2Value value);
-
/** Return whether this value is a string literal.
*
* Returns true if \a value is a string (but not numeric) value.
@@ -166,7 +152,6 @@ SLV2_API
bool
slv2_value_is_string(SLV2Value value);
-
/** Return \a value as a string.
*
* Time = O(1)
@@ -175,7 +160,6 @@ SLV2_API
const char*
slv2_value_as_string(SLV2Value value);
-
/** Return whether this value is a decimal literal.
*
* Time = O(1)
@@ -184,7 +168,6 @@ SLV2_API
bool
slv2_value_is_float(SLV2Value value);
-
/** Return \a value as a float.
*
* Valid to call only if slv2_value_is_float(\a value) or
@@ -196,7 +179,6 @@ SLV2_API
float
slv2_value_as_float(SLV2Value value);
-
/** Return whether this value is an integer literal.
*
* Time = O(1)
@@ -205,7 +187,6 @@ SLV2_API
bool
slv2_value_is_int(SLV2Value value);
-
/** Return \a value as an integer.
*
* Valid to call only if slv2_value_is_int(\a value) returns true.
@@ -216,7 +197,6 @@ SLV2_API
int
slv2_value_as_int(SLV2Value value);
-
/** @} */
#ifdef __cplusplus