X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdbos%2Fworkdir%2Ffilesystem%2FDirectory.hpp;fp=example%2Fdbos%2Fworkdir%2Ffilesystem%2FDirectory.hpp;h=0000000000000000000000000000000000000000;hb=a3b95648bd76140ef55e0b5941d423eee6c3856f;hp=95490d7815a63dd4f246d278ff8fbaa24b141b4c;hpb=94fc4366adedbf26ca6ef3104f88d41fa85f5a72;p=anna.git diff --git a/example/dbos/workdir/filesystem/Directory.hpp b/example/dbos/workdir/filesystem/Directory.hpp deleted file mode 100644 index 95490d7..0000000 --- a/example/dbos/workdir/filesystem/Directory.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_Directory_hpp -#define dbos_workdir_filesystem_Directory_hpp - -#include "Abstract.hpp" - -namespace workdir { - -namespace filesystem { - -using namespace anna; - -class Directory : public Abstract { -public: - Directory (const std::string& name) : Abstract (ClassType::Directory, name) {;} - Directory (Directory* parent, const std::string& name) : Abstract (ClassType::Directory, parent, name) {;} - - void print (const int level = 0) const throw (); - - static Directory* down_cast (Abstract* abstract) throw () { - return (abstract->getClassType () == ClassType::Directory) ? static_cast (abstract): NULL; - } - static const Directory* down_cast (const Abstract* abstract) throw () { - return (abstract->getClassType () == ClassType::Directory) ? static_cast (abstract): NULL; - } -}; - -} -} - -#endif