Scopira 20080306

scopira::basekit::narray_o< T, DIM > Class Template Reference

#include <narray.h>

Inheritance diagram for scopira::basekit::narray_o< T, DIM >:
scopira::basekit::narray< T, DIM > scopira::tool::object

List of all members.

Public Member Functions

 narray_o (void)
 default
 narray_o (const this_type &src)
 copy ctor
 narray_o (const narray_parent_type &src)
 copy ctor
 narray_o (const nindex< DIM > &sz)
 sizing
 narray_o (size_t width, size_t height)
 sizing
virtual bool load (scopira::tool::iobjflow_i &in)
virtual void save (scopira::tool::oobjflow_i &out) const
void operator= (const this_type &at)
 this turns out to be very handy

Detailed Description

template<class T, int DIM>
class scopira::basekit::narray_o< T, DIM >

This is a descendant of narray that also decends from object thereby adding ref counting and registered serialization abilitites.

The following variants of this type have been registered for serialization:

Author:
Aleksander Demko

Member Function Documentation

template<class T, int DIM>
virtual bool scopira::basekit::narray_o< T, DIM >::load ( scopira::tool::iobjflow_i in) [inline, virtual]

Serialization loader. Tells the object to load its state information from the given stream. object's load however, should not be called. It will assert failure if it is mistakenly called (which is often the base when one tries to serialize a class which lacks its own load method)

Parameters:
inthe stream to load from
Returns:
true on success
Author:
Aleksander Demko

Reimplemented from scopira::tool::object.

template<class T, int DIM>
virtual void scopira::basekit::narray_o< T, DIM >::save ( scopira::tool::oobjflow_i out) const [inline, virtual]

Serialization saver. Writes the object's state information to the given stream. object's save however, should not be called. It will assert failure if it is mistakenly called (which is often the base when one tries to serialize a class which lacks its own save method)

Parameters:
outthe stream to write to
Author:
Aleksander Demko

Reimplemented from scopira::tool::object.


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