GAF Library
Generic Animation Format
 All Classes Functions Pages
Public Member Functions | Public Attributes | List of all members
GAFData Class Reference

#include <GAFData.h>

Inheritance diagram for GAFData:

Public Member Functions

 GAFData (unsigned char *_ptr, int _size, bool _delete_data=false)
 
unsigned char * getBytes () const
 
unsigned long getSize () const
 

Public Attributes

unsigned long size
 
unsigned char * ptr
 
bool delete_data
 

Detailed Description

Simple NSData-like class for internal usage. Made public since it can be useful for GAF Marmalade users. It does NOT release memory by default - be careful. By default it does NOT own data!!!

Constructor & Destructor Documentation

GAFData::GAFData ( unsigned char *  _ptr,
int  _size,
bool  _delete_data = false 
)
inline

By default GAFData does NOT release memory. However, it is possible to delete internal array in destructor.

Parameters
deleteData- delete internal array in destructor or not

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