1 /* === S I N F G =========================================================== */
3 ** \brief Template File
5 ** $Id: uniqueid.cpp,v 1.1.1.1 2005/01/04 01:23:15 darco Exp $
8 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
10 ** This software and associated documentation
11 ** are CONFIDENTIAL and PROPRIETARY property of
12 ** the above-mentioned copyright holder.
14 ** You may not copy, print, publish, or in any
15 ** other way distribute this software without
16 ** a prior written agreement with
17 ** the copyright holder.
20 /* ========================================================================= */
22 /* === H E A D E R S ======================================================= */
35 /* === U S I N G =========================================================== */
38 using namespace sinfg;
40 /* === G L O B A L S ======================================================= */
42 static int uniqueid_pool_(0);
44 /* === M E T H O D S ======================================================= */
47 sinfg::UniqueID::next_id()
49 return ++uniqueid_pool_;