Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

table.cc

Go to the documentation of this file.
00001 
00002 extern "C"
00003 {
00004 #include "_table.h"
00005 }
00006 #include "table.hh"
00007 
00008 RCS_TABLE::RCS_TABLE (size_t dsize)
00009 {
00010   table_new (&table, dsize);
00011 }
00012 
00013 RCS_TABLE::~RCS_TABLE ()
00014 {
00015   table_delete (&table);
00016 }
00017 
00018 int
00019 RCS_TABLE::add (unsigned long int key, const void *data)
00020 {
00021   return table_add (&table, key, data);
00022 }
00023 
00024 int
00025 RCS_TABLE::get (unsigned long int key, void *data)
00026 {
00027   return table_get (&table, key, data);
00028 }
00029 
00030 int
00031 RCS_TABLE::clear (unsigned long int key)
00032 {
00033   return table_clear (&table, key);
00034 }
00035 
00036 void
00037 RCS_TABLE::print ()
00038 {
00039   table_print (&table);
00040 }

Generated on Sun Dec 2 15:56:52 2001 for rcslib by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001