Please send questions to
st10@humboldt.edu .
// DATA DEFINITION for a blah:
/*
a blah is a class:
new blah(data_field_type data_field, etc )
...representing a blah with:
a data_field that is ...,
*/
/* a template for function that expects a blah parameter a_blah:
ret_type process_blah(blah a_blah)
{
return ... a_blah.get_data_field() ...
... ;
}
*/
#include "blah.h"
using namespace std;
//--------------------
// constructor(s)
blah::blah(type a_data_field, )
{
data_field = a_data_field;
}
//--------------------
// selectors
type blah::get_data_field() const
{
return data_field;
}