FileFactory::FileFactory()	 : mpConf(0)
	 ,mpSerialStrategy(0)
	 ,mpRepository(0)
	{
		SerialStrategyBase* pStrat = GetSerializationStrategy();
		RepositoryBase* pRep = GetRepository();
		pRep->Deserialize( pStrat );
	}
Beispiel #2
0
boolean RHBapi_emitter::generate(RHBoutput *out,char const *f)
{
	out_printf(out,"/* %s for %s */\n",__FILE__,f);

	idl_name=f;

	cplusplus=1;
	internal=0;

	preflight_macros_from_idl_filename(f);

	generate_classes(out,GetRepository(),0,1);

	return 1;
}