Initial import of the CDE 2.1.30 sources from the Open Group.

This commit is contained in:
Peter Howkins
2012-03-10 18:21:40 +00:00
commit 83b6996daa
18978 changed files with 3945623 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
/* $XConsortium: AttributeList.h /main/3 1996/06/11 17:05:38 cde-hal $ */
#ifndef _AttributeList_h
#define _AttributeList_h
#include "Element.h"
#include "Attribute.h"
/* **************************************************************
class AttributeList
A linked list of Attributes
************************************************************** */
class AttributeList : private CC_TPtrSlist<Attribute>
{
public:
AttributeList();
~AttributeList();
void add(Attribute *);
const Attribute *lookup(const Symbol &name) const;
ostream &print(ostream &) const ;
};
inline
ostream &operator<<(ostream &o, const AttributeList &attrlist)
{
return attrlist.print(o);
}
#endif /* _AttributeList_h */
/* DO NOT ADD ANY LINES AFTER THIS #endif */