Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5176 in orxonox.OLD for trunk/src/lib/shell/shell_buffer.h


Ignore:
Timestamp:
Sep 12, 2005, 12:18:25 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: More clean-up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell_buffer.h

    r5175 r5176  
    2626  inline static ShellBuffer* getInstance() { if (!ShellBuffer::singletonRef) ShellBuffer::singletonRef = new ShellBuffer();  return ShellBuffer::singletonRef; };
    2727  /** @returns true if this class is instanciated, false otherwise */
    28   inline static bool isInstanciated() { return (ShellBuffer::singletonRef == NULL)?true:false; };
     28  inline static bool isInstanciated() { return (ShellBuffer::singletonRef == NULL)?false:true; };
    2929
    3030  // BUFFER //
     
    3737// void moveBufferTo(unsigned int lineNumber);
    3838  const char* getBufferLine(unsigned int lineNumber);
    39   inline tIterator<char>*  getBufferIterator() const { return bufferIterator; };
     39  /** @returns the Buffer Iterator, that enables externals to walk through the Buffer */
     40  inline tIterator<char>* getBufferIterator() const { return bufferIterator; };
     41  /** @returns the Count of lines processed by the Shell.
     42  inline long getLineCount() const { return this->lineCount; };
    4043
    4144  private:
Note: See TracChangeset for help on using the changeset viewer.