soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
sobject-i.h File Reference
#include <interface/obj-ref-i.h>
#include <interface/sstring-i.h>
#include <interface/sxml-i.h>
#include <stdint.h>
#include <interface/SobjectApi.h>

Go to the source code of this file.

Macros

#define WIDESTR_HELPER(x)
 
#define WIDESTR(x)
 
#define DEF_OBJ_BASE(clsName, clsType)
 
#define DEF_SOBJECT_EX(baseCls, clsName, clsAlise)
 
#define DEF_SOBJECT(baseCls, clsName)
 
#define INTERFACE   IObject
 

Typedefs

typedef struct IObject IObject
 
typedef HRESULT(* FunAttrHandler) (IObject *pObj, const IStringW *attrName, const IStringW *attrValue, BOOL bLoading)
 
typedef enum _SObjectType SObjectType
 

Enumerations

enum  _SObjectType {
  Undef = 0 , Window , Skin , Layout ,
  LayoutParam , Event , Interpolator , Animation ,
  ValueAnimator , UserType
}
 

Detailed Description

Copyright (C) 2014-2050 All rights reserved.

Version
v1.0
Author
SOUI group
Date
2014/08/01

Describe the base class used in SOUI, which provides type identify of class in runtime and implement attributes dispatcher described in XML.

Definition in file sobject-i.h.

Macro Definition Documentation

◆ DEF_OBJ_BASE

#define DEF_OBJ_BASE ( clsName,
clsType )

Definition at line 45 of file sobject-i.h.

◆ DEF_SOBJECT

#define DEF_SOBJECT ( baseCls,
clsName )
Value:
DEF_SOBJECT_EX(baseCls, clsName, NULL)

Definition at line 82 of file sobject-i.h.

◆ DEF_SOBJECT_EX

#define DEF_SOBJECT_EX ( baseCls,
clsName,
clsAlise )

Definition at line 49 of file sobject-i.h.

◆ INTERFACE

#define INTERFACE   IObject

Definition at line 109 of file sobject-i.h.

◆ WIDESTR

#define WIDESTR ( x)
Value:
WIDESTR_HELPER(#x)

Definition at line 27 of file sobject-i.h.

◆ WIDESTR_HELPER

#define WIDESTR_HELPER ( x)
Value:
L##x

Definition at line 26 of file sobject-i.h.

Typedef Documentation

◆ FunAttrHandler

typedef HRESULT(* FunAttrHandler) (IObject *pObj, const IStringW *attrName, const IStringW *attrValue, BOOL bLoading)

Definition at line 86 of file sobject-i.h.

◆ IObject

typedef struct IObject IObject

Definition at line 84 of file sobject-i.h.

Enumeration Type Documentation

◆ _SObjectType

enum _SObjectType

Definition at line 88 of file sobject-i.h.