filename_tree.h

Go to the documentation of this file.
00001 #ifndef FILENAME_TREE_CLASS
00002 #define FILENAME_TREE_CLASS
00003 
00004 /*****************************************************************************\
00005 *                                                                             *
00006 *  Name   : filename_tree                                                     *
00007 *  Author : Chris Koeritz                                                     *
00008 *                                                                             *
00009 *******************************************************************************
00010 * Copyright (c) 2004-$now By Author.  This program is free software; you can  *
00011 * redistribute it and/or modify it under the terms of the GNU General Public  *
00012 * License as published by the Free Software Foundation; either version 2 of   *
00013 * the License or (at your option) any later version.  This is online at:      *
00014 *     http://www.fsf.org/copyleft/gpl.html                                    *
00015 * Please send any updates to: fred@gruntose.com                               *
00016 \*****************************************************************************/
00017 
00019 
00026 #include "filename_list.h"
00027 
00028 #include <nodes/packable_tree.h>
00029 
00030 class OPSYSTEM_CLASS_STYLE filename_tree : public nodes::packable_tree
00031 {
00032 public:
00033   filename _dirname;  
00034   filename_list _files;  
00035   int _depth;  
00036 
00037   filename_tree();
00038 
00039   virtual ~filename_tree();
00040 
00041   virtual void pack(byte_array &packed_form) const;
00042 
00043   virtual bool unpack(byte_array &packed_form);
00044 };
00045 
00047 
00048 class OPSYSTEM_CLASS_STYLE fname_tree_creator
00049 : public nodes::packable_tree_factory
00050 {
00051 public:
00052   virtual nodes::packable_tree *create();
00054 };
00055 
00056 #endif
00057 

Generated on Thu Nov 20 04:29:03 2008 for HOOPLE Libraries by  doxygen 1.5.1