Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
express
hashGeneratorBase.I
1
// Filename: hashGeneratorBase.I
2
// Created by: drose (14May01)
3
//
4
////////////////////////////////////////////////////////////////////
5
//
6
// PANDA 3D SOFTWARE
7
// Copyright (c) Carnegie Mellon University. All rights reserved.
8
//
9
// All use of this software is subject to the terms of the revised BSD
10
// license. You should have received a copy of this license along
11
// with this source code in a file named "LICENSE."
12
//
13
////////////////////////////////////////////////////////////////////
14
15
16
////////////////////////////////////////////////////////////////////
17
// Function: HashGeneratorBase::Constructor
18
// Access: Public
19
// Description:
20
////////////////////////////////////////////////////////////////////
21
INLINE HashGeneratorBase::
22
HashGeneratorBase() {
23
_hash = 0;
24
}
25
26
////////////////////////////////////////////////////////////////////
27
// Function: HashGeneratorBase::Destructor
28
// Access: Public
29
// Description:
30
////////////////////////////////////////////////////////////////////
31
INLINE HashGeneratorBase::
32
~HashGeneratorBase() {
33
}
34
35
////////////////////////////////////////////////////////////////////
36
// Function: HashGeneratorBase::get_hash
37
// Access: Public
38
// Description: Returns the hash number generated.
39
////////////////////////////////////////////////////////////////////
40
INLINE
size_t
HashGeneratorBase::
41
get_hash
()
const
{
42
return
_hash;
43
}
HashGeneratorBase::get_hash
size_t get_hash() const
Returns the hash number generated.
Definition:
hashGeneratorBase.I:41
Generated on Mon Feb 1 2016 13:44:24 for Panda3D by
1.8.5