Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sratom(3) [debian man page]

Sratom(3)							      Sratom								 Sratom(3)

NAME
Sratom - Opaque Types typedef struct SratomImpl Sratom Functions Sratom * sratom_new (LV2_URID_Map *map) void sratom_free (Sratom *sratom) void sratom_set_sink (Sratom *sratom, const char *base_uri, SerdStatementSink sink, SerdEndSink end_sink, void *handle) void sratom_set_pretty_numbers (Sratom *sratom, bool pretty_numbers) int sratom_write (Sratom *sratom, LV2_URID_Unmap *unmap, uint32_t flags, const SerdNode *subject, const SerdNode *predicate, uint32_t type, uint32_t size, const void *body) void sratom_read (Sratom *sratom, LV2_Atom_Forge *forge, SordWorld *world, SordModel *model, const SordNode *node) char * sratom_to_turtle (Sratom *sratom, LV2_URID_Unmap *unmap, const char *base_uri, const SerdNode *subject, const SerdNode *predicate, uint32_t type, uint32_t size, const void *body) LV2_Atom * sratom_from_turtle (Sratom *sratom, const char *base_uri, const SerdNode *subject, const SerdNode *predicate, const char *str) LV2_Atom_Forge_Ref sratom_forge_sink (LV2_Atom_Forge_Sink_Handle handle, const void *buf, uint32_t size) LV2_Atom * sratom_forge_deref (LV2_Atom_Forge_Sink_Handle handle, LV2_Atom_Forge_Ref ref) Detailed Description An LV2 Atom RDF serialisation library. Typedef Documentation typedef struct SratomImpl Sratom Atom serialiser. Function Documentation Sratom* sratom_new (LV2_URID_Map *map) Create a new Atom serialiser. void sratom_free (Sratom *sratom) Free an Atom serialisation. void sratom_set_sink (Sratom *sratom, const char *base_uri, SerdStatementSinksink, SerdEndSinkend_sink, void *handle) Set the sink(s) where sratom will write its output. This must be called before calling sratom_write(). void sratom_set_pretty_numbers (Sratom *sratom, boolpretty_numbers) Write pretty numeric literals. If pretty_numbers is true, numbers will be written as pretty Turtle literals, rather than string literals with precise types. The cost of this is that the types might get fudged on a round-trip to RDF and back. int sratom_write (Sratom *sratom, LV2_URID_Unmap *unmap, uint32_tflags, const SerdNode *subject, const SerdNode *predicate, uint32_ttype, uint32_tsize, const void *body) Write an Atom to RDF. The serialised atom is written to the sink set by sratom_set_sink(). Returns: 0 on success, or a non-zero error code otherwise. void sratom_read (Sratom *sratom, LV2_Atom_Forge *forge, SordWorld *world, SordModel *model, const SordNode *node) Read an Atom from RDF. The resulting atom will be written to forge. char* sratom_to_turtle (Sratom *sratom, LV2_URID_Unmap *unmap, const char *base_uri, const SerdNode *subject, const SerdNode *predicate, uint32_ttype, uint32_tsize, const void *body) Serialise an Atom to a Turtle string. The returned string must be free()'d by the caller. LV2_Atom* sratom_from_turtle (Sratom *sratom, const char *base_uri, const SerdNode *subject, const SerdNode *predicate, const char *str) Read an Atom from a Turtle string. The returned atom must be free()'d by the caller. LV2_Atom_Forge_Ref sratom_forge_sink (LV2_Atom_Forge_Sink_Handlehandle, const void *buf, uint32_tsize) A convenient resizing sink for LV2_Atom_Forge. The handle must point to an initialized SerdChunk. LV2_Atom* sratom_forge_deref (LV2_Atom_Forge_Sink_Handlehandle, LV2_Atom_Forge_Refref) The corresponding deref function for sratom_forge_sink. Author Generated automatically by Doxygen for Sratom from the source code. Version 0.2.0 Sat May 5 2012 Sratom(3)

Check Out this Related Man Page

cc_string(3)							       Coin							      cc_string(3)

NAME
cc_string - The cc_string type is a C ADT for ASCII string management. This is a Coin extension. SYNOPSIS
#include <Inventor/C/base/string.h> Public Attributes char * pointer size_t bufsize char buffer [CC_STRING_MIN_SIZE] Related Functions (Note that these are not member functions.) void cc_string_remove_substring (cc_string *me, int start, int end) void cc_string_construct (cc_string *me) cc_string * cc_string_construct_new (void) cc_string * cc_string_clone (const cc_string *string) void cc_string_clean (cc_string *string_struct) void cc_string_destruct (cc_string *me) void cc_string_set_text (cc_string *me, const char *text) void cc_string_set_subtext (cc_string *me, const char *text, int start, int end) void cc_string_set_integer (cc_string *me, int integer) void cc_string_set_string (cc_string *me, const cc_string *string) void cc_string_append_string (cc_string *me, const cc_string *string) void cc_string_append_text (cc_string *me, const char *text) void cc_string_append_integer (cc_string *me, const int digits) void cc_string_append_char (cc_string *me, const char c) unsigned int cc_string_length (const cc_string *me) void cc_string_clear (cc_string *me) void cc_string_clear_no_free (cc_string *me) uint32_t cc_string_hash_text (const char *text) uint32_t cc_string_hash (const cc_string *me) const char * cc_string_get_text (const cc_string *me) int cc_string_is (const cc_string *me) int cc_string_compare (const cc_string *lhs, const cc_string *rhs) int cc_string_compare_text (const char *lhs, const char *rhs) int cc_string_compare_subtext (const cc_string *me, const char *text, int offset) void cc_string_apply (cc_string *string, cc_apply_f function) void cc_string_sprintf (cc_string *me, const char *formatstr,...) void cc_string_vsprintf (cc_string *me, const char *formatstr, va_list args) Detailed Description The cc_string type is a C ADT for ASCII string management. This is a Coin extension. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 cc_string(3)
Man Page