MCPcopy Create free account
hub / github.com/cinience/RedisStudio / RedisModelFactory

Method RedisModelFactory

RedisStudio/Redis/RedisModelFactory.cpp:10–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include "RedisHashModel.h"
9
10RedisModelFactory::RedisModelFactory(RedisClient* client)
11{
12 Register("string", new RedisStringModel(client));
13 Register("list", new RedisListModel(client));
14 Register("set", new RedisSetModel(client));
15 Register("zset", new RedisZSetModel(client));
16 Register("hash", new RedisHashModel(client));
17}
18
19RedisModelFactory::~RedisModelFactory()
20{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected