00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef FLC_OBJECT_FACTORY_H
00017 #define FLC_OBJECT_FACTORY_H
00018
00019 #include <falcon/setup.h>
00020
00021 namespace Falcon
00022 {
00023
00024 class CoreObject;
00025 class CoreClass;
00026
00037 typedef CoreObject* (*ObjectFactory)( const CoreClass *cls, void *user_data, bool bDeserializing );
00038
00043 CoreObject* OpaqueObjectFactory( const CoreClass *cls, void *data, bool bDeserializing );
00044
00052 CoreObject* FalconObjectFactory( const CoreClass *cls, void *data, bool bDeserializing );
00053
00058 CoreObject* FalconSequenceFactory( const CoreClass *cls, void *data, bool bDeserializing );
00059
00068 CoreObject* ReflectOpaqueFactory( const CoreClass *cls, void *user_data, bool );
00069
00080 CoreObject* ReflectFalconFactory( const CoreClass *cls, void *user_data, bool );
00081
00089 CoreObject* ReflectSequenceFactory( const CoreClass *cls, void *user_data, bool );
00090
00099 CoreObject* CROpaqueFactory( const CoreClass *cls, void *user_data, bool bDeserial );
00100
00111 CoreObject* CRFalconFactory( const CoreClass *cls, void *user_data, bool bDeserial );
00112
00120 CoreObject* CRSequenceFactory( const CoreClass *cls, void *user_data, bool bDeserial );
00121 }
00122 #endif
00123
00124