StringList class

From Solid Graphics Wiki

(Redirected from StringList)
Jump to: navigation, search
StringList class
Namespace: SKL
Base type: (None)
Include: SklString.h
Lib (Release): SKL.lib
Lib (Debug): SKL_D.lib

The StringList class represents an array/list of of single-byte character text strings.


The class provides only basic constructors - a constructor with no parameters and a copy constructor.


The class has no public fields defined.


Method name Description
Clear Removes all strings from the list and sets size of the array to zero.
Append Appends a string on the end of the list.
Insert Insterts a string to specified list position.
Erase Erases string from specified list position.
EraseLast Erases last string in the list.
Count Returns number of strings in the string list.
Sort Sorts strings in the list into ascending order using case-insensitive sort order.
Find Finds string in the list and returns it's index. If the string is not in the list then the method returns -1.
FindEqualOrGreater Finds first string in list equal or greater than specified string. Returns index of such string. If there are no strings in the list then the method returns 0.


= Copies one string array object to another.
[ ] Allows to access strings in the list by array index.

See Also


SolidKit Library Documentation

Personal tools