Advanced Strategic Command
Public Member Functions | Public Attributes | List of all members
StringArray Class Reference

#include <common.h>

Public Member Functions

 StringArray ()
 
void add (const ASCString &s)
 
ASCString getItem (int n)
 
int size ()
 

Public Attributes

vector< ASCStringvalues
 

Detailed Description

Definition at line 42 of file common.h.

Constructor & Destructor Documentation

StringArray::StringArray ( )
inline

Definition at line 45 of file common.h.

Member Function Documentation

void StringArray::add ( const ASCString s)
inline

Definition at line 46 of file common.h.

References values.

ASCString StringArray::getItem ( int  n)
inline
Parameters
n1 based, in best LUA tradition

Definition at line 47 of file common.h.

References values.

int StringArray::size ( )
inline

Definition at line 51 of file common.h.

References values.

Member Data Documentation

vector<ASCString> StringArray::values

Definition at line 44 of file common.h.

Referenced by add(), PropertyDialog::addIntDropdown(), getItem(), selectString(), and size().


The documentation for this class was generated from the following file: