Merge branch 'master' into verilog-ams
[sverilog.git] / named.h
blob66575dc21e844e5123c882f5e4dfc7a1f6f446e9
1 #ifndef __named_H
2 #define __named_H
3 /*
4 * Copyright (c) 2000-2004 Stephen Williams (steve@icarus.com)
6 * This source code is free software; you can redistribute it
7 * and/or modify it in source code form under the terms of the GNU
8 * General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
10 * any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
21 #ifdef HAVE_CVS_IDENT
22 #ident "$Id: named.h,v 1.4 2004/02/20 06:22:56 steve Exp $"
23 #endif
25 # include "StringHeap.h"
28 * There are lots of places where names are attached to objects. This
29 * simple template expresses the lot.
32 template <class T> struct named {
33 perm_string name;
34 T parm;
38 * $Log: named.h,v $
39 * Revision 1.4 2004/02/20 06:22:56 steve
40 * parameter keys are per_strings.
42 * Revision 1.3 2002/08/12 01:34:59 steve
43 * conditional ident string using autoconfig.
45 * Revision 1.2 2000/02/23 02:56:54 steve
46 * Macintosh compilers do not support ident.
48 * Revision 1.1 2000/01/09 05:50:49 steve
49 * Support named parameter override lists.
52 #endif