property.h

来自「开放源码的编译器open watcom 1.6.0版的源代码」· C头文件 代码 · 共 43 行

H
43
字号
//
// Copyright (C) 1992 General Electric Company.
//
// Permission is granted to any individual or institution to use, copy, modify,
// and distribute this software, provided that this complete copyright and
// permission notice is maintained, intact, in all copies and supporting
// documentation.
//
// General Electric Company provides this software "as is" without
// express or implied warranty.
//
// Changed: VDN 04/15/92 -- Lice version
// Updated: JAM 08/19/92 -- modernized template syntax, remove macro hacks
//
// In Lisp, property list provides a flexible way of storing intermediate
// information, without changing the data structures. A property list is
// implemented as a association vector between names and values.
// Values can be pointers, ints, longs, float, double, and void* of course.

#ifndef PROPERTYH
#define PROPERTYH

#ifndef STRINGH
#include <cool/String.h>
#endif

#ifndef VALUEH
#include <cool/Value.h>
#endif

#ifndef ASSOCIATIONH
#include <cool/Association.h>
#endif

typedef CoolPair<CoolString, CoolValue> HackProperty; //## BC++ requires this for Association
typedef CoolAssociation<CoolString, CoolValue> CoolProperty;

#endif




⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?