Index: src/libchcore/TPathContainer.h =================================================================== diff -u -N -rb1e03eb232a784d6e2d40f67cbbbb33be0972228 -re96806b7f8ff7ca7e9f4afbea603e6351a3dc3e3 --- src/libchcore/TPathContainer.h (.../TPathContainer.h) (revision b1e03eb232a784d6e2d40f67cbbbb33be0972228) +++ src/libchcore/TPathContainer.h (.../TPathContainer.h) (revision e96806b7f8ff7ca7e9f4afbea603e6351a3dc3e3) @@ -23,43 +23,42 @@ #include "TPath.h" #include "TConfig.h" -BEGIN_CHCORE_NAMESPACE - -class LIBCHCORE_API TPathContainer +namespace chcore { -public: - TPathContainer(); - TPathContainer(const TPathContainer& rSrcContainer); - ~TPathContainer(); + class LIBCHCORE_API TPathContainer + { + public: + TPathContainer(); + TPathContainer(const TPathContainer& rSrcContainer); + ~TPathContainer(); - TPathContainer& operator=(const TPathContainer& rSrcContainer); + TPathContainer& operator=(const TPathContainer& rSrcContainer); - void Add(const TSmartPath& spPath); - void Append(const TPathContainer& vPaths); + void Add(const TSmartPath& spPath); + void Append(const TPathContainer& vPaths); - const TSmartPath& GetAt(size_t stIndex) const; - TSmartPath& GetAt(size_t stIndex); + const TSmartPath& GetAt(size_t stIndex) const; + TSmartPath& GetAt(size_t stIndex); - void SetAt(size_t stIndex, const TSmartPath& spPath); + void SetAt(size_t stIndex, const TSmartPath& spPath); - void DeleteAt(size_t stIndex); - void Clear(); + void DeleteAt(size_t stIndex); + void Clear(); - size_t GetCount() const; - bool IsEmpty() const; + size_t GetCount() const; + bool IsEmpty() const; - void StoreInConfig(TConfig& rConfig, PCTSTR pszPropName) const; - bool ReadFromConfig(const TConfig& rConfig, PCTSTR pszPropName); + void StoreInConfig(TConfig& rConfig, PCTSTR pszPropName) const; + bool ReadFromConfig(const TConfig& rConfig, PCTSTR pszPropName); -private: + private: #pragma warning(push) #pragma warning(disable: 4251) - std::vector m_vPaths; + std::vector m_vPaths; #pragma warning(pop) -}; + }; +} -END_CHCORE_NAMESPACE - CONFIG_MEMBER_SERIALIZATION(TPathContainer) #endif