Exemplo n.º 1
0
//------------------------------------------------------------------------------
// bool Interpret(GmatCommand *inCmd, std::istringstream *ss)
//------------------------------------------------------------------------------
bool GuiInterpreter::Interpret(GmatCommand *inCmd, std::istringstream *ss)
{   
   SetInStream(ss);
   inScriptEvent = true;
   // We don't want parse first comment as header, so set skipHeader to true.
   bool retval = ScriptInterpreter::Interpret(inCmd, true);
   inScriptEvent = false;
   return retval;
}
Exemplo n.º 2
0
HRESULT CCoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream,
    const UInt64 * /* inSize */, const UInt64 *outSize, ICompressProgressInfo *progress)
{
  SetInStream(inStream);
  SetOutStreamSize(outSize);
  HRESULT res = CodeReal(outStream, outSize, progress);
  ReleaseInStream();
  return res;
}