1 /* $XConsortium: Attributed.h /main/1 1996/07/29 16:46:44 cde-hp $ */
2 // Copyright (c) 1994 James Clark
3 // See the file COPYING for copying permission.
5 #ifndef Attributed_INCLUDED
6 #define Attributed_INCLUDED 1
11 // This is used for things that have attribute definitions
12 // that notations and elements.
15 namespace SP_NAMESPACE {
18 class SP_API Attributed {
21 ConstPtr<AttributeDefinitionList> attributeDef() const;
22 const AttributeDefinitionList *attributeDefTemp() const;
23 Ptr<AttributeDefinitionList> attributeDef();
24 void setAttributeDef(const Ptr<AttributeDefinitionList> &);
26 Ptr<AttributeDefinitionList> attributeDef_;
31 ConstPtr<AttributeDefinitionList> Attributed::attributeDef() const
37 const AttributeDefinitionList *Attributed::attributeDefTemp() const
39 return attributeDef_.pointer();
43 Ptr<AttributeDefinitionList> Attributed::attributeDef()
49 void Attributed::setAttributeDef(const Ptr<AttributeDefinitionList> &def)
58 #endif /* not Attributed_INCLUDED */