poser
A C framework for POsix SERvices
|
A simple string builder. More...
#include <poser/core/stringbuilder.h>
Public Member Functions | |
PSC_StringBuilder * | PSC_StringBuilder_create (void) |
PSC_StringBuilder default constructor. | |
void | PSC_StringBuilder_append (PSC_StringBuilder *self, const char *str) |
Append a string to the builder. | |
void | PSC_StringBuilder_appendChar (PSC_StringBuilder *self, char c) |
Append a single character to the builder. | |
const char * | PSC_StringBuilder_str (const PSC_StringBuilder *self) |
Get the complete string. | |
void | PSC_StringBuilder_destroy (PSC_StringBuilder *self) |
PSC_StringBuilder destructor. | |
A simple string builder.
void PSC_StringBuilder_append | ( | PSC_StringBuilder * | self, |
const char * | str | ||
) |
Append a string to the builder.
self | the PSC_StringBuilder |
str | the string to append |
void PSC_StringBuilder_appendChar | ( | PSC_StringBuilder * | self, |
char | c | ||
) |
Append a single character to the builder.
self | the PSC_StringBuilder |
c | the character to append |
PSC_StringBuilder * PSC_StringBuilder_create | ( | void | ) |
PSC_StringBuilder default constructor.
Creates a new PSC_StringBuilder
void PSC_StringBuilder_destroy | ( | PSC_StringBuilder * | self | ) |
PSC_StringBuilder destructor.
self | the PSC_StringBuilder |
const char * PSC_StringBuilder_str | ( | const PSC_StringBuilder * | self | ) |