8. String vectors

8.1. igraph_strvector_init — Initialize
8.2. igraph_strvector_copy — Initialization by copying.
8.3. igraph_strvector_destroy — Free allocated memory
8.4. STR — Indexing string vectors
8.5. igraph_strvector_get — Indexing
8.6. igraph_strvector_set — Set an element
8.7. igraph_strvector_set2 — Sets an element
8.8. igraph_strvector_remove — Removes a single element from a string vector.
8.9. igraph_strvector_append — Concatenate two string vectors.
8.10. igraph_strvector_clear — Remove all elements
8.11. igraph_strvector_resize — Resize
8.12. igraph_strvector_size — Gives the size of a string vector.
8.13. igraph_strvector_add — Adds an element to the back of a string vector.

The igraph_strvector_t type is a vector of strings. The current implementation is very simple and not too efficient. It works fine for not too many strings, e.g. the list of attribute names is returned in a string vector by igraph_cattribute_list(). Do not expect great performace from this type.