134 for (
int i = 0; i < ssl.
Length(); i++ )
135 stream <<
"line[" << i <<
"]='" << ssl[i] <<
"'\n";
char * CurrentLine()
Return the current line.
char line[eMAX_LINES][eMAX_CHARS]
a fixed length array of lines with fixed length
int Length() const
Return number of lines stored.
cSimpleStringList()
Default constructor: init members.
Interface of class #SDH::cSimpleStringList.
This file contains interface and implementation of class #SDH::cDBG, a class for colorfull debug mess...
#define NAMESPACE_SDH_START
int current_line
the index of the current line. For empty cSimpleStringLists this is -1.
NAMESPACE_SDH_START std::ostream & operator<<(std::ostream &stream, cSimpleStringList const &ssl)
Output of cSimpleStringList objects in 'normal' output streams.
char * NextLine()
Return the next line, this increases current_line.
#define USING_NAMESPACE_SDH
char * operator[](int index)
return ptr to line with index.
A simple string list. (Fixed maximum number of strings of fixed maximum length)
#define NAMESPACE_SDH_END