void clConsole::clCommandsHistory::SaveToStream( iOStream* OStream ) { for ( int i = GetCommandsCount(); i != 0; --i ) { OStream->WriteLine( GetCommand( i ) ); } }
bool CommandLineParser::CheckPosition(int32 commandPosition) { if( (INVALID_POSITION == commandPosition) || (GetCommandsCount() < commandPosition + 2)) { return false; } return true; }