Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / ACE / apps / drwho / Search_Struct.h
blob1026ed5775dfac8b909c15c9eff7caca285221d0
1 /* -*- C++ -*- */
3 //=============================================================================
4 /**
5 * @file Search_Struct.h
7 * @author Douglas C. Schmidt
8 */
9 //=============================================================================
12 #ifndef _SEARCH_STRUCT_H
13 #define _SEARCH_STRUCT_H
15 #include "Protocol_Record.h"
17 /**
18 * @class Search_Struct
20 * @brief Provides an "Abstract Base Class" lookup table abstraction that
21 * stores and manipulates friend records.
23 class Search_Struct
25 public:
26 Search_Struct ();
27 virtual ~Search_Struct ();
28 virtual int n_elems ();
30 virtual Protocol_Record *insert (const char *key_name,
31 int max_len = MAXUSERIDNAMELEN) = 0;
32 virtual Protocol_Record *get_next_entry () = 0;
33 virtual Protocol_Record *get_each_entry () = 0;
35 protected:
36 int count_;
39 #endif /* _SEARCH_STRUCT_H */