*******************************************************************************/
-#ifndef _MIPPLETON_HH_
-#define _MIPPLETON_HH_
+#ifndef _MOOF_MIPPLETON_HH_
+#define _MOOF_MIPPLETON_HH_
/**
- * @file mippleton.hh
+ * @file Mippleton.hh
* Related to singletons, a mippleton is an object which can be obtained
* globally using a unique name. Unlike singletons, there can be multiple
* mippletons per class, each with a different name or identifier. Mippletons
#include <string>
-namespace dc {
+namespace Mf {
template <class T>
-class mippleton
+class Mippleton
{
typedef std::pair<unsigned,T*> ptr_value_t;
typedef std::pair<std::string,ptr_value_t> ptr_map_pair_t;
std::string name_;
public:
- explicit mippleton(const std::string& name) : name_(name) {}
+ explicit Mippleton(const std::string& name) : name_(name) {}
inline const std::string& getName() const
{
};
template <class T>
-std::map<std::string,std::pair<unsigned,T*> > mippleton<T>::ptrs_;
+std::map<std::string,std::pair<unsigned,T*> > Mippleton<T>::ptrs_;
-} // namespace dc
+} // namespace Mf
-#endif // _MIPPLETON_HH_
+#endif // _MOOF_MIPPLETON_HH_
/** vim: set ts=4 sw=4 tw=80: *************************************************/