RaySupreme Script API
 All Data Structures Functions Pages
Public Member Functions
StringList Class Reference

Public Member Functions

 StringList ()
 
void clear (void)
 
void append (string value)
 
string at (int i)
 
int count (void)
 

Detailed Description

The StringList class contains a list of string values.

Constructor & Destructor Documentation

StringList::StringList ( )

Creates an empty list.

Member Function Documentation

void StringList::append ( string  value)

Appends a string value to the end of the list.

Parameters
itemThe string value to be appended.
string StringList::at ( int  i)

Returns the string at the specified index.

Parameters
Theindex to be retrived.
Returns
The string value at the index position or null if the index was out of bounds.
void StringList::clear ( void  )

Clears the list.

int StringList::count ( void  )

Returns the number of strings inside the list.

Returns
The element count of this list.