C++依赖注入库 Wallaroo

码农软件 · 软件分类 · 面向方面AOP/IoC · 2019-09-29 08:44:37

软件介绍

Wallaroo 是一个C++的依赖注入库,您可以使用字符串来创建对象,你也可以从配置文件中加载“对象图”。

示例代码:

#include "wallaroo/catalog.h"

using namespace wallaroo;

...
// load classes in shared libraries:
Plugin::Load( "car" + Plugin::Suffix() ); 
// Plugin::Suffix() expands to .dll or .so according to the OS
...
Catalog catalog; // this is the container of your objects

// populate the catalog with some objects:
catalog.Create( "ferrari_f430", "Car" );
catalog.Create( "maserati_granturismo", "Car" );

本文地址:https://www.codercto.com/soft/d/15639.html

Linux内核完全注释

Linux内核完全注释

赵炯 / 机械工业出版社 / 2005-8 / 42.00元

Linux内核完全注释,ISBN:9787111149682,作者:赵炯编著一起来看看 《Linux内核完全注释》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具