blob: 5000641c4b39f8b4d7a5b96df8c89846f9e9d7f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
// -*- C++ -*-
//=============================================================================
/**
* @file Hasher_i.h
*
* $Id$
*
* @author Ossama Othman <ossama@uci.edu>
*/
//=============================================================================
#ifndef TAO_HASHER_I_H
#define TAO_HASHER_I_H
#include "HasherS.h"
/**
* @class Hasher_i
*
* @brief Simple implementation of the "Hasher" interface.
*
* This implementation simply invokes the hash utility functions in
* the ACE class (i.e. those in `ace/ACE.h').
*/
class Hasher_i
: public virtual POA_Hasher
{
public:
/// Perform a simple hashing operation on the input string and
/// return the computed hash.
virtual CORBA::ULong hash_string (const char * str,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException));
};
#endif /* TAO_HASHER_I_H */
|