6#ifndef _ZFI_ZFSigName_h_
7#define _ZFI_ZFSigName_h_
51 return ((
const zfstring &)(*
this)).compare(s);
60 operator const zfchar * (void)
const {
return this->cString();}
61 operator const zfstring & (void)
const;
85 _ZFP_ZFSigNamePrivate *d;
#define ZFLIB_ZFCore
used to export symbols
Definition ZFCoreEnvDef.h:30
_ZFT_t_zfchar zfchar
char wrapper
Definition ZFCoreTypeDef_CharType.h:17
zfint zfscmp(const zfchar *s1, const zfchar *s2)
strcmp wrapper as zfchar type
Definition ZFCoreTypeDef_CharType.h:152
#define zffinal
dummy macro shows that a method or class is designed must not to be overrided
Definition ZFCoreTypeDef_ClassType.h:63
#define zfclassLikePOD
shows the class is not a POD type, but you may use it like a POD except memset it to 0
Definition ZFCoreTypeDef_ClassType.h:41
#define ZF_IN
dummy macro that shows the param used as required input
Definition ZFCoreTypeDef_ClassType.h:180
#define ZF_OUT
dummy macro that shows the param used as required output
Definition ZFCoreTypeDef_ClassType.h:188
#define zfclassFwd
forward declaration of a class type
Definition ZFCoreTypeDef_ClassType.h:31
#define zfnullT
type for zfnull, can be used for function overload
Definition ZFCoreTypeDef_CoreType.h:85
_ZFT_t_zfbool zfbool
bool type
Definition ZFCoreTypeDef_CoreType.h:103
_ZFT_t_zfindex zfindex
similar to size_t, used for index and size only
Definition ZFCoreTypeDef_CoreType.h:154
_ZFT_t_zfint zfint
same as int, see zfindex
Definition ZFCoreTypeDef_CoreType.h:165
_zft_zfidentity zfidentity
identity type, ensured at least 32 bit, ensured unsigned
Definition ZFCoreTypeDef_CoreType.h:225
#define ZFOUTPUT_TYPE(T_Type, outputAction)
declare your custom type conversion to string, convenient for debug
Definition ZFCoreTypeDef_OtherType.h:221
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
#define ZFHASH_DECLARE(Type, action)
see zftHash
Definition ZFCoreUtilTemplate.h:520
zfidentity zfidentityCalcString(const zfchar *src, zfindex srcLen=((zfindex) -1))
calculate identity from string
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
void ZFSigNameInfoT(zfstring &ret)
print all state, for debug use only
zfstring ZFSigNameInfo(void)
print all state, for debug use only
zfstring ZFSigNameFromId(zfidentity sigId)
for debug use only
zfidentity ZFSigNameToId(const zfstring &name)
for debug use only
readonly string container for internal use only
Definition ZFSigName.h:17
zfbool isEmpty(void) const
whether empty
const zfchar * cString(void) const
access string value, return empty string if empty
zfint compare(const zfchar *s) const
string comparation
Definition ZFSigName.h:55
zfidentity sigId(void) const
internal id for the string content
zfint compare(const zfstring &s) const
string comparation
Definition ZFSigName.h:50
zfindex length(void) const
length of string content
zfint compare(const ZFSigName &ref) const
string comparation