Switch from Nz prefix to namespace Nz

What a huge commit


Former-commit-id: 38ac5eebf70adc1180f571f6006192d28fb99897
This commit is contained in:
Lynix
2015-09-25 19:20:05 +02:00
parent c214251ecf
commit df8da275c4
609 changed files with 68265 additions and 66534 deletions

View File

@@ -10,30 +10,33 @@
#include <Nazara/Prerequesites.hpp>
#include <Nazara/Core/InputStream.hpp>
class NAZARA_CORE_API NzMemoryStream : public NzInputStream
namespace Nz
{
public:
NzMemoryStream(const void* ptr, nzUInt64 size);
NzMemoryStream(const NzMemoryStream&) = delete;
NzMemoryStream(NzMemoryStream&&) = delete; ///TODO
~NzMemoryStream();
class NAZARA_CORE_API MemoryStream : public InputStream
{
public:
MemoryStream(const void* ptr, UInt64 size);
MemoryStream(const MemoryStream&) = delete;
MemoryStream(MemoryStream&&) = delete; ///TODO
~MemoryStream();
bool EndOfStream() const;
bool EndOfStream() const;
nzUInt64 GetCursorPos() const;
nzUInt64 GetSize() const;
UInt64 GetCursorPos() const;
UInt64 GetSize() const;
std::size_t Read(void* buffer, std::size_t size);
std::size_t Read(void* buffer, std::size_t size);
bool SetCursorPos(nzUInt64 offset);
bool SetCursorPos(UInt64 offset);
NzMemoryStream& operator=(const NzMemoryStream&) = delete;
NzMemoryStream& operator=(NzMemoryStream&&) = delete; ///TODO
MemoryStream& operator=(const MemoryStream&) = delete;
MemoryStream& operator=(MemoryStream&&) = delete; ///TODO
private:
const nzUInt8* m_ptr;
nzUInt64 m_pos;
nzUInt64 m_size;
};
private:
const UInt8* m_ptr;
UInt64 m_pos;
UInt64 m_size;
};
}
#endif // NAZARA_MEMORYSTREAM_HPP