00001 00002 // 00003 // Title : Console.h 00004 // Project : OSCAR Version 2.0 00005 // Created : 10/15/02 00006 // Author : Chetan Kapoor 00007 // Platforms : 00008 // Copyright : Copyright The University of Texas at Austin, 2002. All rights reserved. 00009 // 00010 // This software and documentation constitute an unpublished work 00011 // and contain valuable trade secrets and proprietary information 00012 // belonging to the University. None of the foregoing material may be 00013 // copied or duplicated or disclosed without the express, written 00014 // permission of University. THE UNIVERSITY EXPRESSLY DISCLAIMS ANY 00015 // AND ALL WARRANTIES CONCERNING THIS SOFTWARE AND DOCUMENTATION, 00016 // INCLUDING ANY WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 00017 // PARTICULAR PURPOSE, AND WARRANTIES OF PERFORMANCE, AND ANY WARRANTY 00018 // THAT MIGHT OTHERWISE ARISE FROM COURSE OF DEALING OR USAGE OF TRADE. 00019 // NO WARRANTY IS EITHER EXPRESS OR IMPLIED WITH RESPECT TO THE USE OF 00020 // THE SOFTWARE OR DOCUMENTATION. Under no circumstances shall the 00021 // University be liable for incidental, special, indirect, direct or 00022 // consequential damages or loss of profits, interruption of business, 00023 // or related expenses which may arise from use of software or documentation, 00024 // including but not limited to those resulting from defects in software 00025 // and/or documentation, or loss or inaccuracy of data of any kind. 00026 // 00027 // Purpose: Contains utility functions related to Console IO. 00028 // 00029 //------------------------------------------------------------------------------ 00030 // 00031 // $Revisions$ 00032 // 00033 // $Log: Console.h,v $ 00034 // Revision 1.9 2005/04/08 21:11:23 chetan 00035 // Commented out Input method to remove Linux compile error 00036 // 00037 // Revision 1.8 2005/04/08 20:53:34 chetan 00038 // Moved functionality from Console.ipp 00039 // 00040 // Revision 1.7 2005/03/14 21:50:07 pmarch 00041 // Added to namespace OSCAR and removed "RR" from front of class names. 00042 // 00043 // Revision 1.6 2004/07/15 20:55:09 djung 00044 // added missing new-line at end of file 00045 // 00046 // Revision 1.5 2004/05/26 19:40:08 pmarch 00047 // no message 00048 // 00049 // Revision 1.3 2003/09/05 15:36:17 eswint 00050 // - Changed default arguments OSCARError(0,"No Error"...) to OSCARError(noError) and String(" ") to String("") 00051 // - Commented, format 00052 // 00053 // Revision 1.2 2003/08/14 18:03:43 chetan 00054 // Modified Documentation 00055 // 00056 // Revision 1.1 2003/08/14 16:20:21 pmarch 00057 // Added files to module 00058 // 00059 // 00061 #ifndef Console_hpp 00062 #define Console_hpp 00063 00064 #include "String.h" 00065 00067 namespace OSCAR { 00068 00069 class OSCARError; 00083 void DisplayError(const String& eString); 00084 00098 void DisplayDebug(const String& debugString); 00099 00113 void DisplayTrace(const String& traceString); 00114 00127 void DisplayError(const OSCARError& err); 00128 00141 void Display(const String& dispString); 00142 00150 template<class T> 00151 void Input(T& t) 00152 { 00153 // std::cin >> t; 00154 return; 00155 } 00156 } 00157 #endif
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |