]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Mippleton.hh
extreme refactoring
[chaz/yoink] / src / Moof / Mippleton.hh
similarity index 91%
rename from src/mippleton.hh
rename to src/Moof/Mippleton.hh
index 16985a3c3bfec3f4066ea8611f8064e76f0219c5..95d3f21577e6e9d444e56cf6a4fb33f50e421b73 100644 (file)
 
 *******************************************************************************/
 
-#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;
@@ -56,7 +56,7 @@ class mippleton
        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
        {
@@ -98,12 +98,12 @@ public:
 };
 
 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: *************************************************/
 
This page took 0.019307 seconds and 4 git commands to generate.