NanoCanvas
Public Member Functions | Public Attributes | List of all members
NanoCanvas::Memery Struct Reference

The data structure for memery blocks. More...

#include <NanoCanvas.h>

Public Member Functions

bool valid () const
 Check is the data is not NULL and size is not 0. More...
 
void invalidate ()
 Invalidate the memery object. More...
 

Public Attributes

void * data = nullptr
 The data of the memery block. More...
 
unsigned long size = 0UL
 Size of the memery block in bytes. More...
 

Detailed Description

The data structure for memery blocks.

Member Function Documentation

void NanoCanvas::Memery::invalidate ( )
inline

Invalidate the memery object.

Attention
This method does NOT free the memery,you have to do it yourself!
bool NanoCanvas::Memery::valid ( ) const
inline

Check is the data is not NULL and size is not 0.

Member Data Documentation

void* NanoCanvas::Memery::data = nullptr

The data of the memery block.

unsigned long NanoCanvas::Memery::size = 0UL

Size of the memery block in bytes.


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

The documentation was generated by Doxygen

Copyright © 2015 Geequlim. All rights reserved.