X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdbos%2Fworkdir%2Ffilesystem%2FFile.hpp;fp=example%2Fdbos%2Fworkdir%2Ffilesystem%2FFile.hpp;h=0000000000000000000000000000000000000000;hb=851ff2962362fd5bad874e8ed91445b296eaca24;hp=f3da2df461d5ecadb2efd4dd0116debf8076f029;hpb=78be86969d2f26a9084b0c4af6ce43d5fa4ed3fd;p=anna.git diff --git a/example/dbos/workdir/filesystem/File.hpp b/example/dbos/workdir/filesystem/File.hpp deleted file mode 100644 index f3da2df..0000000 --- a/example/dbos/workdir/filesystem/File.hpp +++ /dev/null @@ -1,38 +0,0 @@ -// 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 (abstract): NULL; - } - static const File* down_cast (const Abstract* abstract) throw () { - return (abstract->getClassType () == ClassType::File) ? static_cast (abstract): NULL; - } -}; - -} -} - -#endif