2 * Copyright (c) 2014 <copyright holder> <email>
4 * For license details, see the LICENSE file in the root of this project.
14 #include "datamodel/GSSName.h"
16 typedef std::map<std::string, GSSName*> NameMap;
21 static GSSNameCache* instance();
23 GSSNameCache& operator= ( const GSSNameCache& other );
25 std::string store(GSSName &data, const std::string key = "");
26 GSSName &retrieve(std::string key);
27 NameMap getNames() { return(names); };
31 GSSNameCache ( const GSSNameCache& other );
36 bool generateKey(std::string &key);
37 static GSSNameCache* _instance;
40 #endif // GSSNAMECACHE_H