00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef SIENA_BXTABLE_H
00030 #define SIENA_BXTABLE_H
00031
00032 #include <cstddef>
00033
00034 #include <siena/forwarding.h>
00035 #include <siena/allocator.h>
00036
00037 namespace siena {
00038
00039 class BXPredicate;
00040
00052 class BXTable : public ForwardingTable {
00053 public:
00054 BXTable() throw();
00055
00056 virtual ~BXTable() throw();
00057
00058 virtual void ifconfig(if_t, const predicate &) throw(bad_constraint);
00059 virtual void consolidate() throw();
00060
00061 virtual void match(const message &, MatchHandler &) const throw();
00062 virtual void match(const message &, MatchMessageHandler &) const throw();
00063
00064 virtual void clear() throw();
00065 virtual void clear_recycle() throw();
00066
00067 virtual size_t allocated_bytesize() const throw();
00068 virtual size_t bytesize() const throw();
00069
00070 protected:
00076 FTAllocator memory;
00077
00082 BXPredicate * plist;
00083 };
00084
00085 }
00086
00087 #endif