📄 attributed.h
字号:
// Copyright (c) 1994 James Clark// See the file COPYING for copying permission.#ifndef Attributed_INCLUDED#define Attributed_INCLUDED 1#include "Ptr.h"#include "Attribute.h"// This is used for things that have attribute definitions// that notations and elements.#ifdef SP_NAMESPACEnamespace SP_NAMESPACE {#endifclass SP_API Attributed {public: Attributed() { } ConstPtr<AttributeDefinitionList> attributeDef() const; const AttributeDefinitionList *attributeDefTemp() const; Ptr<AttributeDefinitionList> attributeDef(); void setAttributeDef(const Ptr<AttributeDefinitionList> &);private: Ptr<AttributeDefinitionList> attributeDef_;};inlineConstPtr<AttributeDefinitionList> Attributed::attributeDef() const{ return attributeDef_;}inlineconst AttributeDefinitionList *Attributed::attributeDefTemp() const{ return attributeDef_.pointer();}inlinePtr<AttributeDefinitionList> Attributed::attributeDef(){ return attributeDef_;}inlinevoid Attributed::setAttributeDef(const Ptr<AttributeDefinitionList> &def){ attributeDef_ = def;}#ifdef SP_NAMESPACE}#endif#endif /* not Attributed_INCLUDED */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -