Beautified source code of appfw/src/base/inc
[platform/framework/native/appfw.git] / src / base / inc / FBase_ObjectManagerT.h
index 3010f89..e039dd1 100644 (file)
@@ -20,8 +20,6 @@
  *
  * This file contains the declarations of the %_ObjectManagerT class.
  */
-
-
 #ifndef _FBASE_INTERNAL_OBJECT_MANAGER_TEMPLATE_H_
 #define _FBASE_INTERNAL_OBJECT_MANAGER_TEMPLATE_H_
 
@@ -30,8 +28,6 @@
 #include "FBase_HandleT.h"
 #include "FBase_ObjectManagerImpl.h"
 
-
-
 namespace Tizen { namespace Base
 {
 
@@ -76,7 +72,7 @@ namespace Tizen { namespace Base
  * }
  * @endcode
  */
-template<typename T>
+template< typename T >
 class _ObjectManagerT
        : Tizen::Base::Object
 {
@@ -110,12 +106,12 @@ public:
         * @exception   E_SUCCESS       The method was successful.
         * @see Unregister()
         */
-       _HandleT <T> Register(const T& object)
+       _HandleT< T > Register(const T& object)
        {
-               _HandleT <T> handle;
+               _HandleT< T > handle;
                unsigned int rawHandle = 0;
 
-               rawHandle = __pImpl->Register((void*)&object);
+               rawHandle = __pImpl->Register((void*) &object);
                handle.Initialize(rawHandle, __pImpl);
 
                return handle;
@@ -131,7 +127,7 @@ public:
         * @exception   E_OBJ_NOT_FOUND The specified handle was not found.
         * @see Register()
         */
-       T* Unregister(const _HandleT <T>& handle)
+       T* Unregister(const _HandleT< T >& handle)
        {
                void* pObject = __pImpl->Unregister(handle.__handle);
 
@@ -145,10 +141,10 @@ public:
         * @return              Handle specifed by a signed @c integer
         * @param[in]   value           A signed @c integer value;
         */
-       _HandleT<T> GetHandle(int value)
+       _HandleT< T > GetHandle(int value)
        {
-               _HandleT<T> handle;
-               handle.Initialize((unsigned int)value, __pImpl);
+               _HandleT< T > handle;
+               handle.Initialize((unsigned int) value, __pImpl);
 
                return handle;
        }
@@ -162,7 +158,7 @@ public:
         * @exception   E_SUCCESS       The method was successful.
         * @exception   E_OBJ_NOT_FOUND The specified handle was not found.
         */
-       T* GetObject(const _HandleT <T>& handle)
+       T* GetObject(const _HandleT< T >& handle)
        {
                void* pObject = null;
 
@@ -174,7 +170,6 @@ public:
                return (T*)pObject;
        }
 
-
        /**
         * Gets an object specified by the handle.
         *
@@ -184,7 +179,7 @@ public:
         * @exception   E_SUCCESS       The method was successful.
         * @exception   E_OBJ_NOT_FOUND The specified handle was not found.
         */
-       const T* GetObject(const _HandleT <T>& handle) const
+       const T* GetObject(const _HandleT< T >& handle) const
        {
                if (handle.IsNull())
                        return null;
@@ -194,7 +189,6 @@ public:
                return (const T*)pObject;
        }
 
-
        /**
         * Gets the number of objects in the object manager.
         *
@@ -209,7 +203,5 @@ public:
 private:
        _ObjectManagerImpl* __pImpl;
 }; // _ObjectManagerT
-
 }} // Tizen::Base
-
-#endif // _FBASE_INTERNAL_OBJECT_MANAGER_TEMPLATE_H_
+#endif // _FBASE_INTERNAL_OBJECT_MANAGER_TEMPLATE_H_
\ No newline at end of file