soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
SObjectFactory.h File Reference

Object Factory Management. More...

#include <core/SCmnMap.h>
#include <helper/obj-ref-impl.hpp>
#include <interface/SObjFactory-i.h>

Go to the source code of this file.

Classes

class  CElementTraits< SObjectInfo >
 SObjectInfo Hash and Comparison Traits. More...
 
class  TplSObjectFactory< T >
 Template-based object factory. More...
 
class  SObjectFactoryMgr
 Manager for object factories. More...
 

Typedefs

typedef IObjectFactory * SObjectFactoryPtr
 

Functions

SNSBEGIN SOUI_EXP SObjectInfo ObjInfo_New (LPCWSTR name, int type, LPCWSTR alise=NULL)
 Creates a new object information structure.
 
SOUI_EXP BOOL ObjInfo_IsValid (const SObjectInfo *pObjInfo)
 Checks if the object information is valid.
 

Detailed Description

Object Factory Management.

Copyright (C) 2014-2050 All rights reserved.

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

Description: Manages object factories for creating and managing objects in SOUI.

Definition in file SObjectFactory.h.

Typedef Documentation

◆ SObjectFactoryPtr

typedef IObjectFactory* SObjectFactoryPtr

Definition at line 134 of file SObjectFactory.h.

Function Documentation

◆ ObjInfo_IsValid()

SOUI_EXP BOOL ObjInfo_IsValid ( const SObjectInfo * pObjInfo)

Checks if the object information is valid.

Parameters
pObjInfoPointer to the object information structure.
Returns
TRUE if valid, FALSE otherwise.

Definition at line 20 of file SObjectFactory.cpp.

◆ ObjInfo_New()

SNSBEGIN SOUI_EXP SObjectInfo ObjInfo_New ( LPCWSTR name,
int type,
LPCWSTR alise = NULL )

Creates a new object information structure.

Parameters
nameName of the object.
typeType of the object.
aliseAlias for the object (optional).
Returns
New object information structure.

Definition at line 8 of file SObjectFactory.cpp.