00001 #ifndef _INSTRUCTIONS_LIST_BODY_2_BODY_CONTACTS_H_ 00002 #define _INSTRUCTIONS_LIST_BODY_2_BODY_CONTACTS_H_ 00003 /* 00004 * ListBody2BodyForces.h 00005 * 00006 * Copyright (c) 2007, 2008, 2009, University of Karlsruhe (for members see AUTHORS file) 00007 * Copyright (c) 2011, Karlsruhe Institute of Technology (for members see AUTHORS file) 00008 * 00009 * ISC License 00010 * 00011 * Permission to use, copy, modify, and/or distribute this software for any 00012 * purpose with or without fee is hereby granted, provided that the above 00013 * copyright notice and this permission notice appear in all copies. 00014 * 00015 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 00016 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 00017 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 00018 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 00019 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 00020 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 00021 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 00022 * 00023 * Created by Alexander Bierbaum 00024 */ 00025 00030 #include "../../IPSA.h" 00031 #include "Instruction.h" 00032 #include <vector> 00033 #include <string> 00034 00035 class IpsaViewer; 00036 00037 class IPSA_VIEWER_IMPORT_EXPORT ListBody2BodyForces : public Instruction 00038 { 00039 public: 00040 ListBody2BodyForces(IpsaViewer *viewer,const std::string& code = std::string("getb2bforces <nodename> <nodename>")) 00041 :Instruction(code), lviewer(viewer) {;} 00042 protected: 00043 virtual tExecResultType vExecute(std::vector<std::string>& Instr, std::ostringstream& answer, unsigned int& numberOfReturnValues); 00044 IpsaViewer *lviewer; 00045 }; 00046 00047 #endif // _INSTRUCTIONS_LIST_BODY_2_BODY_CONTACTS_H_
Generated on Sat Mar 10 20:00:14 2012 for IPSA by 1.5.8 |