diff options
Diffstat (limited to 'src/uscxml/plugins/element/file/FileElement.h')
-rw-r--r-- | src/uscxml/plugins/element/file/FileElement.h | 35 |
1 files changed, 27 insertions, 8 deletions
diff --git a/src/uscxml/plugins/element/file/FileElement.h b/src/uscxml/plugins/element/file/FileElement.h index b9e43bc..987ae11 100644 --- a/src/uscxml/plugins/element/file/FileElement.h +++ b/src/uscxml/plugins/element/file/FileElement.h @@ -1,3 +1,22 @@ +/** + * @file + * @author 2012-2013 Stefan Radomski (stefan.radomski@cs.tu-darmstadt.de) + * @copyright Simplified BSD + * + * @cond + * This program is free software: you can redistribute it and/or modify + * it under the terms of the FreeBSD license as published by the FreeBSD + * project. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * You should have received a copy of the FreeBSD license along with this + * program. If not, see <http://www.opensource.org/licenses/bsd-license>. + * @endcond + */ + #ifndef FILEELEMENT_H_VJ3JIMEJ #define FILEELEMENT_H_VJ3JIMEJ @@ -13,16 +32,16 @@ namespace uscxml { class FileElement : public ExecutableContentImpl { public: enum Operation { - READ, - WRITE, - APPEND + READ, + WRITE, + APPEND }; enum Type { - XML, - JSON, - TEXT, - BINARY + XML, + JSON, + TEXT, + BINARY }; FileElement() { @@ -47,7 +66,7 @@ public: void exitElement(const Arabica::DOM::Node<std::string>& node); protected: - + bool _sandBoxed; std::string _givenUrl; URL _actualUrl; |