Syndicate::Data::Raw Class Reference

#include <Syndicate/Data/Raw.h>

Inheritance diagram for Syndicate::Data::Raw:

Syndicate::Data::File List of all members.

Public Member Functions

 Raw (void)
 ~Raw (void)
template<typename TColors>
void get (unsigned id, unsigned width, unsigned height, TColors *pixels, unsigned pitch, const TColors *colors=Colors< TColors >::_default) const
virtual void info (void)
bool load (char const *filename)
unsigned getLength (void)

Protected Attributes

unsigned _data_length

Private Attributes

uint8_t * _data

Constructor & Destructor Documentation

Syndicate::Data::Raw::Raw ( void   )  [inline]

Syndicate::Data::Raw::~Raw ( void   )  [inline]


Member Function Documentation

template<typename TColors>
void Syndicate::Data::Raw::get ( unsigned  id,
unsigned  width,
unsigned  height,
TColors *  pixels,
unsigned  pitch,
const TColors *  colors = Colors< TColors >::_default 
) const [inline]

virtual void Syndicate::Data::File::info ( void   )  [virtual, inherited]

In debug mode it display the informations.

bool Syndicate::Data::File::load ( char const *  filename  )  [inherited]

This method load the content (unpacked) of the file at the adress pointed by _data.

Parameters:
[in] filename the name of the file.
Return values:
true if success.
false if fails. If previous file is loaded, the data keep unaffected.

unsigned Syndicate::Data::File::getLength ( void   )  [inline, inherited]


Member Data Documentation

uint8_t* Syndicate::Data::Raw::_data [private]

Reimplemented from Syndicate::Data::File.

unsigned Syndicate::Data::File::_data_length [protected, inherited]


The documentation for this class was generated from the following file:
Generated on Sun Sep 30 13:08:36 2007 for libSyndicate by  doxygen 1.5.2