Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

PlainTextInterp.C

Go to the documentation of this file.
00001 /***************************************************************************
00002 *cr
00003 *cr (C) Copyright 1995-2019 The Board of Trustees of the
00004 *cr University of Illinois
00005 *cr All Rights Reserved
00006 *cr
00007 ***************************************************************************/
00008 
00009 /***************************************************************************
00010 * RCS INFORMATION:
00011 *
00012 * $RCSfile: PlainTextInterp.C,v $
00013 * $Author: johns $ $Locker: $ $State: Exp $
00014 * $Revision: 1.13 $ $Date: 2019年01月17日 21:21:01 $
00015 *
00016 ***************************************************************************
00017 * DESCRIPTION:
00018 * Last resort text interpreter if no other is available
00019 ***************************************************************************/
00020 
00021 #include "PlainTextInterp.h"
00022 #include "Inform.h"
00023 #include "utilities.h"
00024 #include <stdlib.h>
00025 
00026 PlainTextInterp::PlainTextInterp() {
00027 msgInfo << "Starting VMD text interpreter..." << sendmsg; 
00028 }
00029 
00030 PlainTextInterp::~PlainTextInterp() {
00031 msgInfo << "Exiting VMD text interpreter." << sendmsg;
00032 }
00033 
00034 int PlainTextInterp::evalString(const char *s) {
00035 vmd_system(s);
00036 return 0;
00037 }
00038 
00039 void PlainTextInterp::appendString(const char *s) {
00040 msgInfo << s << sendmsg;
00041 }
00042 
00043 void PlainTextInterp::appendList(const char *s) {
00044 msgInfo << s << sendmsg;
00045 }
00046 
00047 

Generated on Mon Nov 17 02:47:00 2025 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002

AltStyle によって変換されたページ (->オリジナル) /