X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FMippleton.hh;fp=src%2Fmippleton.hh;h=95d3f21577e6e9d444e56cf6a4fb33f50e421b73;hp=16985a3c3bfec3f4066ea8611f8064e76f0219c5;hb=c2321281bf12a7efaedde930422c7ddbc92080d4;hpb=87bc17e55b0c1dc73ecc66df856d3f08fd7a7724 diff --git a/src/mippleton.hh b/src/Moof/Mippleton.hh similarity index 91% rename from src/mippleton.hh rename to src/Moof/Mippleton.hh index 16985a3..95d3f21 100644 --- a/src/mippleton.hh +++ b/src/Moof/Mippleton.hh @@ -26,11 +26,11 @@ *******************************************************************************/ -#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 @@ -42,11 +42,11 @@ #include -namespace dc { +namespace Mf { template -class mippleton +class Mippleton { typedef std::pair ptr_value_t; typedef std::pair 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 -std::map > mippleton::ptrs_; +std::map > Mippleton::ptrs_; -} // namespace dc +} // namespace Mf -#endif // _MIPPLETON_HH_ +#endif // _MOOF_MIPPLETON_HH_ /** vim: set ts=4 sw=4 tw=80: *************************************************/