OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::StreamSerialiser::Chunk Struct Reference

Definition of a chunk of data in a file. More...

#include <OgreStreamSerialiser.h>

+ Inheritance diagram for Ogre::StreamSerialiser::Chunk:

Public Member Functions

 Chunk ()
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, const char *, int, const char *)
 
void operator delete (void *ptr, void *)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, const char *, int, const char *)
 
void * operator new (size_t sz)
 
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info More...
 
void * operator new (size_t sz, void *ptr)
 placement operator new More...
 
void * operator new[] (size_t sz)
 
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info More...
 

Public Attributes

uint32 id
 Identifier of the chunk (for example from makeIdentifier) (stored) More...
 
uint32 length
 Length of the chunk data in bytes, excluding the header of this chunk (stored) More...
 
uint32 offset
 Location of the chunk (header) in bytes from the start of a stream (derived) More...
 
uint16 version
 Version of the chunk (stored) More...
 

Detailed Description

Definition of a chunk of data in a file.

Constructor & Destructor Documentation

◆ Chunk()

Ogre::StreamSerialiser::Chunk::Chunk ( )
inline

Member Function Documentation

◆ operator delete() [1/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr)
inlineinherited

◆ operator delete() [2/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

◆ operator delete() [3/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
void *   
)
inlineinherited

◆ operator delete[]() [1/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr)
inlineinherited

◆ operator delete[]() [2/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

◆ operator new() [1/3]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inlineinherited

◆ operator new() [2/3]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

operator new, with debug line info

◆ operator new() [3/3]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void *  ptr 
)
inlineinherited

placement operator new

◆ operator new[]() [1/2]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz)
inlineinherited

◆ operator new[]() [2/2]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

array operator new, with debug line info

Member Data Documentation

◆ id

uint32 Ogre::StreamSerialiser::Chunk::id

Identifier of the chunk (for example from makeIdentifier) (stored)

◆ length

uint32 Ogre::StreamSerialiser::Chunk::length

Length of the chunk data in bytes, excluding the header of this chunk (stored)

◆ offset

uint32 Ogre::StreamSerialiser::Chunk::offset

Location of the chunk (header) in bytes from the start of a stream (derived)

◆ version

uint16 Ogre::StreamSerialiser::Chunk::version

Version of the chunk (stored)


The documentation for this struct was generated from the following file: