Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ResourceMatrix Class Reference

A mathematical matrix that can be multiplied with a Resources instance (which is mathematically a vector) to form a new Resources vector. 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 that can be multiplied with a Resources instance (which is mathematically a vector) to form a new Resources vector.

Definition at line 137 of file typen.h.


Constructor & Destructor Documentation

ResourceMatrix::ResourceMatrix  ) 
 

Definition at line 95 of file typen.cpp.

References resourceTypeNum.

ResourceMatrix::ResourceMatrix const float *  f  ) 
 

Definition at line 105 of file typen.cpp.

References resourceTypeNum.


Member Function Documentation

Resources ResourceMatrix::operator * const Resources r  )  const
 

Definition at line 115 of file typen.cpp.

References Resources::resource(), and resourceTypeNum.

void ResourceMatrix::read tnstream stream  ) 
 

Definition at line 125 of file typen.cpp.

References resourceTypeNum.

Referenced by ContainerBaseType::read().

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

Definition at line 161 of file typen.cpp.

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

void ResourceMatrix::runTextIO const ASCString name,
PropertyContainer pc
 

Definition at line 141 of file typen.cpp.

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

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

void ResourceMatrix::write tnstream stream  )  const
 

Definition at line 133 of file typen.cpp.

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

Referenced by ContainerBaseType::write().


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:20:21 2008 for Advanced Strategic Command by  doxygen 1.4.2