ResourceMatrix Class Reference

A mathematical matrix for transforming Resources instance (which is mathematically a vector) into a different Resources . More...

#include <typen.h>

List of all members.

Public Member Functions

 ResourceMatrix ()
 ResourceMatrix (const float *f)
Resources operator * (const Resources &r) const
void read (tnstream &stream)
void write (tnstream &stream) const
void runTextIO (const ASCString &name, PropertyContainer &pc)
void runTextIO (const ASCString &name, PropertyContainer &pc, const ResourceMatrix &defaultValue)


Detailed Description

A mathematical matrix for transforming Resources instance (which is mathematically a vector) into a different Resources .

Definition at line 158 of file typen.h.


Constructor & Destructor Documentation

ResourceMatrix::ResourceMatrix (  ) 

Definition at line 111 of file typen.cpp.

References resourceTypeNum.

ResourceMatrix::ResourceMatrix ( const float *  f  ) 

Definition at line 121 of file typen.cpp.

References resourceTypeNum.


Member Function Documentation

Resources ResourceMatrix::operator * ( const Resources r  )  const

Definition at line 131 of file typen.cpp.

References Resources::resource(), and resourceTypeNum.

void ResourceMatrix::read ( tnstream stream  ) 

Definition at line 141 of file typen.cpp.

References tnstream::readFloat(), tnstream::readInt(), and resourceTypeNum.

Referenced by ContainerBaseType::read().

void ResourceMatrix::write ( tnstream stream  )  const

Definition at line 149 of file typen.cpp.

References resourceTypeNum, tnstream::writeFloat(), and tnstream::writeInt().

Referenced by ContainerBaseType::write().

void ResourceMatrix::runTextIO ( const ASCString name,
PropertyContainer pc 
)

Definition at line 157 of file typen.cpp.

References PropertyContainer::addDFloatArray(), PropertyContainer::error(), PropertyContainer::isReading(), and resourceTypeNum.

Referenced by runTextIO(), and ContainerBaseType::runTextIO().

void ResourceMatrix::runTextIO ( const ASCString name,
PropertyContainer pc,
const ResourceMatrix defaultValue 
)

Definition at line 177 of file typen.cpp.

References e, PropertyContainer::find(), PropertyContainer::isReading(), resourceTypeNum, and runTextIO().


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:47:23 2012 for Advanced Strategic Command by  doxygen 1.5.1