📄 pymlengine.hpp
字号:
//// This file is part of the "More for C++" library//// Copyright (c) 1999-2003 by Thorsten Goertz (thorsten@morefor.org)//// The "More for C++" library is free software; you can redistribute it and/or// modify it under the terms of the license that comes with this package.//// Read "license.txt" for more details.//// THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED// WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES// OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.////////////////////////////////////////////////////////////////////////////////#ifndef MORE_PYML_PYMLENGINE_HPP#define MORE_PYML_PYMLENGINE_HPP////////////////////////////////////////////////////////////////////////////////#include <more/pointer.hpp>#include <more/string.hpp>#include <more/io/streams.hpp>#include <more/os/file.hpp>#include <more/script/pythoninterpreter.hpp>////////////////////////////////////////////////////////////////////////////////namespace more{ namespace pyml { class PymlEngine { public: static p<PymlEngine> create( ) throw( more::script::Interpreter::NotAvailable ); virtual p<more::script::PythonInterpreter> getInterpreter( ) = 0; virtual void transform( const String& sPyml, const p<more::io::OutputStream>&, const p<more::os::Directory>& pWorkingDirectory = 0 ) throw( more::io::IOException ) = 0; virtual void interrupt( ) = 0; virtual bool hasBeenInterrupted( ) = 0; protected: virtual ~PymlEngine( ); }; }}////////////////////////////////////////////////////////////////////////////////#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -