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