--- /dev/null
+// ANNA - Anna is Not Nothingness Anymore //
+// //
+// (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
+// //
+// See project site at http://redmine.teslayout.com/projects/anna-suite //
+// See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
+
+
+#ifndef dbos_workdir_filesystem_File_hpp
+#define dbos_workdir_filesystem_File_hpp
+
+#include "Abstract.hpp"
+#include "Directory.hpp"
+
+namespace workdir {
+
+namespace filesystem {
+
+using namespace anna;
+
+class File : public Abstract {
+public:
+ File (Directory* parent, const std::string& name) : Abstract (ClassType::File, parent, name) {;}
+
+ void print (const int level) const throw ();
+
+ static File* down_cast (Abstract* abstract) throw () {
+ return (abstract->getClassType () == ClassType::File) ? static_cast <File*> (abstract): NULL;
+ }
+ static const File* down_cast (const Abstract* abstract) throw () {
+ return (abstract->getClassType () == ClassType::File) ? static_cast <const File*> (abstract): NULL;
+ }
+};
+
+}
+}
+
+#endif