ZFFramework
 
Loading...
Searching...
No Matches
ZFObjectUtil.h File Reference

utilities for ZFObject More...

#include "ZFObjectCore.h"
#include "ZFObjectRetain.h"

Go to the source code of this file.

Functions

ZFCompareResult ZFObjectCompare (ZFObject *const &e0, ZFObject *const &e1)
 util method to compare two ZFObject, return ZFCompareEqual if both null, return ZFCompareUncomparable if one null but the other is not null, return compare result by ZFObject::objectCompare if both not null
 
ZFCompareResult ZFObjectCompareValue (ZFObject *const &e0, ZFObject *const &e1)
 util method to ZFObject::objectCompareValue
 
void ZFObjectInfoOfInstanceT (zfstring &ret, ZFObject *obj)
 see ZFObjectInfoOfInstance
 
zfstring ZFObjectInfoOfInstance (ZFObject *obj)
 util method to get info of object or return ZFTOKEN_zfnull if obj is null
 
void ZFObjectInfoT (zfstring &ret, ZFObject *obj)
 see ZFObjectInfo
 
zfstring ZFObjectInfo (ZFObject *obj)
 util method to get info of object or return ZFTOKEN_zfnull if obj is null
 
zfidentity ZFObjectHash (ZFObject *obj)
 util method to calculate hash of object, or return zfidentityInvalid if null
 
zfauto ZFObjectCreator (const ZFListener &impl, const ZFArgs &zfargs=ZFArgs())
 util to create object from custom impl
 

Detailed Description

utilities for ZFObject

Function Documentation

◆ ZFObjectInfoOfInstance()

zfstring ZFObjectInfoOfInstance ( ZFObject * obj)
inline

util method to get info of object or return ZFTOKEN_zfnull if obj is null

See also
ZFObject::objectInfoOfInstance

◆ ZFObjectInfo()

zfstring ZFObjectInfo ( ZFObject * obj)
inline

util method to get info of object or return ZFTOKEN_zfnull if obj is null

See also
ZFObject::objectInfo