Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

schpack.hpp

Go to the documentation of this file.
00001 // +-------------------------------------------------------------------------+
00002 // |               I__n__t__e__L__i__b           0.6.10 development          |
00003 // | Copyright (c) Andrey Vikt. Stolyarov <crocodil_AT_croco.net> 2000-2007. |
00004 // |                                                                         |
00005 // | This is free software. The library part is available under              |
00006 // |                               GNU LESSER GENERAL PUBLIC LICENSE v.2.1.  |
00007 // | GNU LGPL v2.1 is found in docs/gnu_gpl2.txt,  or at  http://www.gnu.org |
00008 // |     Please see also docs/readme.txt and visit http://www.intelib.org    |
00009 // |                                                                         |
00010 // | !!! THERE IS NO WARRANTY OF ANY KIND, NEITHER EXPRESSED NOR IMPLIED !!! |
00011 // +-------------------------------------------------------------------------+
00012 
00013 
00014 
00015 
00021 #ifndef INTELIB_SCHPACK_HPP_SENTRY
00022 #define INTELIB_SCHPACK_HPP_SENTRY
00023 
00024 #include "../sexpress/iexcept.hpp"
00025 #include "../sexpress/sexpress.hpp"
00026 #include "../sexpress/gensref.hpp"
00027 #include "../tools/spkghsh.hpp"
00028 #include "../tools/sreader.hpp"
00029 #include "scheme.hpp"
00030 
00031 class SchExpressionPackage;
00032 
00034 typedef GenericSReference<SchExpressionPackage, IntelibX_not_a_package> 
00035 SchPackage;
00036 
00038 
00044 class SchExpressionPackage : public SExpressionHashPackage
00045 {
00046 public:
00048     static IntelibTypeId TypeId;
00049 
00051     SchExpressionPackage();
00053     SchExpressionPackage(const SchPackage& a_parent);
00054 
00055 protected:
00056     ~SchExpressionPackage();
00057 
00058     // please note TextRepresentation() needn't to be reimplemented
00059 private:
00060     virtual SReference CreateNewSymbolObject(const char *name) const;
00061 };
00062 
00064 
00067 class SchExpressionPackageIntelib : public SchExpressionPackage {
00068 public:
00069     SchExpressionPackageIntelib();
00070 protected:
00071     ~SchExpressionPackageIntelib() {}
00072 };
00073 
00074 #endif        // sentry

Generated on Tue Dec 18 00:39:44 2007 for InteLib by  doxygen 1.4.1