Go to the source code of this file.
|
GWENHYWFAR_API int | GWEN_StringList2_AppendString (GWEN_STRINGLIST2 *sl2, const char *s, int take, GWEN_STRINGLIST2_INSERTMODE m) |
|
GWENHYWFAR_API void | GWEN_StringList2_Dump (const GWEN_STRINGLIST2 *sl2) |
|
GWENHYWFAR_API GWEN_STRINGLIST2 * | GWEN_StringList2_dup (GWEN_STRINGLIST2 *sl2) |
|
GWENHYWFAR_API GWEN_STRINGLIST2_ITERATOR * | GWEN_StringList2_First (const GWEN_STRINGLIST2 *l) |
|
GWENHYWFAR_API void | GWEN_StringList2_free (GWEN_STRINGLIST2 *sl2) |
|
GWENHYWFAR_API GWEN_STRINGLIST2 * | GWEN_StringList2_fromDb (GWEN_DB_NODE *db, const char *name, GWEN_STRINGLIST2_INSERTMODE m) |
|
GWENHYWFAR_API GWEN_STRINGLIST2 * | GWEN_StringList2_fromXml (GWEN_XMLNODE *node, GWEN_STRINGLIST2_INSERTMODE m) |
|
GWENHYWFAR_API unsigned int | GWEN_StringList2_GetCount (const GWEN_STRINGLIST2 *l) |
|
GWENHYWFAR_API const char * | GWEN_StringList2_GetStringAt (const GWEN_STRINGLIST2 *sl2, int idx) |
|
GWENHYWFAR_API int | GWEN_StringList2_HasString (const GWEN_STRINGLIST2 *sl2, const char *s) |
|
GWENHYWFAR_API int | GWEN_StringList2_InsertString (GWEN_STRINGLIST2 *sl2, const char *s, int take, GWEN_STRINGLIST2_INSERTMODE m) |
|
GWENHYWFAR_API GWEN_STRINGLIST2_ITERATOR * | GWEN_StringList2_Last (const GWEN_STRINGLIST2 *l) |
|
GWENHYWFAR_API GWEN_STRINGLIST2 * | GWEN_StringList2_new (void) |
|
GWENHYWFAR_API int | GWEN_StringList2_RemoveString (GWEN_STRINGLIST2 *sl2, const char *s) |
|
GWENHYWFAR_API void | GWEN_StringList2_SetIgnoreRefCount (GWEN_STRINGLIST2 *sl2, int i) |
|
GWENHYWFAR_API void | GWEN_StringList2_SetSenseCase (GWEN_STRINGLIST2 *sl2, int i) |
|
GWENHYWFAR_API int | GWEN_StringList2_toDb (GWEN_STRINGLIST2 *sl2, GWEN_DB_NODE *db, const char *varName) |
|
GWENHYWFAR_API int | GWEN_StringList2_toXml (GWEN_STRINGLIST2 *sl2, GWEN_XMLNODE *node) |
|
GWENHYWFAR_API const char * | GWEN_StringList2Iterator_Data (GWEN_STRINGLIST2_ITERATOR *li) |
|
GWENHYWFAR_API GWEN_REFPTR * | GWEN_StringList2Iterator_DataRefPtr (GWEN_STRINGLIST2_ITERATOR *li) |
|
GWENHYWFAR_API void | GWEN_StringList2Iterator_free (GWEN_STRINGLIST2_ITERATOR *li) |
|
GWENHYWFAR_API unsigned int | GWEN_StringList2Iterator_GetLinkCount (const GWEN_STRINGLIST2_ITERATOR *li) |
|
GWENHYWFAR_API const char * | GWEN_StringList2Iterator_Next (GWEN_STRINGLIST2_ITERATOR *li) |
|
GWENHYWFAR_API const char * | GWEN_StringList2Iterator_Previous (GWEN_STRINGLIST2_ITERATOR *li) |
|
◆ GWEN_STRINGLIST2
◆ GWEN_STRINGLIST2_ITERATOR
◆ GWEN_STRINGLIST2_INSERTMODE
Enumerator |
---|
GWEN_StringList2_IntertMode_AlwaysAdd | |
GWEN_StringList2_IntertMode_NoDouble | |
GWEN_StringList2_IntertMode_Reuse | |
Definition at line 47 of file stringlist2.h.
◆ GWEN_StringList2_AppendString()
Appends a string.
- Returns
- 0 if not appended, !=0 if appended
- Parameters
-
take | if true then the StringList takes over ownership of the string |
checkDouble | if true the the string will only be appended if it does not already exist |
◆ GWEN_StringList2_Dump()
◆ GWEN_StringList2_dup()
◆ GWEN_StringList2_First()
◆ GWEN_StringList2_free()
◆ GWEN_StringList2_fromDb()
◆ GWEN_StringList2_fromXml()
◆ GWEN_StringList2_GetCount()
◆ GWEN_StringList2_GetStringAt()
◆ GWEN_StringList2_HasString()
Checks whether the given string already exists within in the string list.
- Returns
- !=0 if found, 0 otherwise
◆ GWEN_StringList2_InsertString()
Inserts a string.
- Returns
- 0 if not inserted, !=0 if inserted
- Parameters
-
take | if true then the StringList takes over ownership of the string |
checkDouble | if true the the string will only be appended if it does not already exist |
◆ GWEN_StringList2_Last()
◆ GWEN_StringList2_new()
◆ GWEN_StringList2_RemoveString()
Removes a given string from the stringlist.
- Returns
- 0 if not found, !=0 if found and removed
◆ GWEN_StringList2_SetIgnoreRefCount()
Normally this group of functions ignores reference counters on stringlist entries when removing a string via GWEN_StringList2_RemoveString. You can change this behaviour here.
- Parameters
-
sl2 | string list |
i | if 0 then reference counters are honoured |
◆ GWEN_StringList2_SetSenseCase()
Normally this group of functions ignores cases when comparing two strings. You can change this behaviour here.
- Parameters
-
sl2 | string list |
i | if 0 then cases are ignored |
◆ GWEN_StringList2_toDb()
◆ GWEN_StringList2_toXml()
◆ GWEN_StringList2Iterator_Data()
◆ GWEN_StringList2Iterator_DataRefPtr()
◆ GWEN_StringList2Iterator_free()
◆ GWEN_StringList2Iterator_GetLinkCount()
◆ GWEN_StringList2Iterator_Next()
◆ GWEN_StringList2Iterator_Previous()