/////////////////////////////////////////////////////////////////////////////
// output1.cc
//
// SIMLIB version: 2.18
// Date: 2004-01-25
//
// Copyright (c) 1991-2004 Petr Peringer 
//
// This library is licensed under GNU Library GPL. See the file COPYING.
//

//
//  Output methods for all continuous-part classes
//#error Split into parts!!!!
//

////////////////////////////////////////////////////////////////////////////
//  interface
//

#include "simlib.h"
#include "internal.h"

#include <cstdio>    // sprintf()


////////////////////////////////////////////////////////////////////////////
//  implementation
//

SIMLIB_IMPLEMENTATION

////////////////////////////////////////////////////////////////////////////
//  Event::Output
//
void Event::Output()
{
  Print(" EVENT %-48s \n",Name());
}


////////////////////////////////////////////////////////////////////////////
//  List::Output
//
void List::Output()
{
  Print("+----------------------------------------------------------+\n");
  Print("| LIST %-51s |\n",Name());
  Print("+----------------------------------------------------------+\n");
#ifdef XXX_PRINT_LIST_
  {
    Print("Contents:\n");
    unsigned u;
    iterator p;
    for(p=begin(), u=1; p!=end(); ++p, u++) {
      Print("  [%u]:\t",u);
      (*p)->Output();
    }
    Print("End of list.\n");
  }
#endif  
}

// end of output1.cc



syntax highlighted by Code2HTML, v. 0.9.1