cc_string(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

✨ cc_string(3) β€” the Coin manual, section 3, bestie edition ✨

okay so picture this: you're out here in C, and you need a string that isn't gonna ghost you. that's cc_string. it's from the Coin manual, section 3, and it's genuinely iconic. let's get into it. πŸ’–


🌸 NAME 🌸

cc_string β€” The cc_string type is a C ADT for ASCII string management.

like, it's a whole abstract data type for handling ASCII strings in C. no cap. πŸ¦‹


🌈 SYNOPSIS 🌈

#include <Inventor/C/base/string.h>

πŸ‘‘ Public Attributes πŸ‘‘

here's what's inside the struct, bestie:

  • char * pointer β€” a pointer, classic.
  • size_t bufsize β€” how big the buffer is, in size_t units, obviously.
  • char buffer [CC_STRING_MIN_SIZE] β€” the actual little starter buffer, sized at CC_STRING_MIN_SIZE.

heads up, these are not member symbols. they're just hanging out nearby, being useful. πŸ’…
  • 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. so if you're wondering "is this standard C?" β€” nope, it's a Coin thing, and we love that for it. 🫢


🧚 Author 🧚

Generated automatically by Doxygen for Coin from the source code.

like, nobody hand-wrote this, the robot did it, and honestly? it ate. πŸ€–βœ¨


πŸ“ Version πŸ“

4.0.10 β€” dated Thu Jun 25 2026 00:00:00.

and that's the whole page, bestie!! πŸ’– you now officially know everything the manual says about cc_string, every symbol, every attribute, every vibe. go forth and manage your ASCII strings. slay. πŸ‘‘πŸŒˆπŸ’…

πŸ“¦ where this page comes from