soui 5.0.0.1
 
Loading...
Searching...
No Matches
IAttrStorage Struct Reference
Inheritance diagram for IAttrStorage:
IObjRef

Public Member Functions

long AddRef () PURE
 添加引用
 
long Release () PURE
 释放引用
 
void OnFinalRelease () PURE
 释放对象
 
void OnSetAttribute (const IStringW *strName, const IStringW *strValue, BOOL bHandled) PURE
 响应IObject::SetAttribute的时保存attribute值的方法
 
BOOL OnGetAttribute (const IStringW *strName, IStringW *strValue) SCONST PURE
 响应IObject::GetAttribute调用
 
- Public Member Functions inherited from IObjRef
long AddRef () PURE
 Increases the reference count.
 
long Release () PURE
 Decreases the reference count.
 
void OnFinalRelease () PURE
 Called when the reference count reaches zero and the object is about to be released.
 

Detailed Description

Definition at line 12 of file SAttrStorage-i.h.

Member Function Documentation

◆ AddRef()

long IAttrStorage::AddRef ( )

添加引用

Returns
long – 引用计数

◆ OnFinalRelease()

void IAttrStorage::OnFinalRelease ( )

释放对象

Returns
void

◆ OnGetAttribute()

BOOL IAttrStorage::OnGetAttribute ( const IStringW * strName,
IStringW * strValue )

响应IObject::GetAttribute调用

Parameters
strNameconst IStringW* – 属性名
[out]strValueIStringW* – 返回的属性值
Returns
BOOL – TRUE: 成功

◆ OnSetAttribute()

void IAttrStorage::OnSetAttribute ( const IStringW * strName,
const IStringW * strValue,
BOOL bHandled )

响应IObject::SetAttribute的时保存attribute值的方法

Parameters
strNameconst IStringW* – 属性名
strValueconst IStringW* – 属性值
bHandledBOOL – 该属性是否已经被处理
Returns
void

◆ Release()

long IAttrStorage::Release ( )

释放引用

Returns
long – 引用计数

The documentation for this struct was generated from the following file: