FreePOOMA  2.4.1
Public Member Functions | Public Attributes
AssertEquals Struct Reference

AssertEquals is a handy class for asserting conformance of an integer value in expressions. More...

#include <AssertEquals.h>

List of all members.

Public Member Functions

 AssertEquals (int ignore=0)

Public Attributes

int ignore_m

Detailed Description

AssertEquals is a handy class for asserting conformance of an integer value in expressions.

An example is the numPatches function that arrays have. For the patch function to make sense on an array containing an expression, all the arrays in the expression must have the same number of patches. Scalars have zero patches, but we wish to ignore them, so AssertEquals allows you to set an integer value that you wish to ignore.


Constructor & Destructor Documentation

AssertEquals::AssertEquals ( int  ignore = 0) [inline]

Member Data Documentation


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