tgl_structure_parser : set_variable

Not sure.

Only other methods of this same object can call this method. This is called 'private' access.

The data-type returned is "voidtype";

This method is contained in the object "tgl_structure_parser".

The method takes the following arguments:

var : stringtype

Not sure.

value : stringtype

Not sure.

C++

Set a variable to a value.

	// add or change the variables map.
	std::map<std::string, std::string>::iterator i = _vars.find(var);
	if (i == _vars.end())
		_vars[var] = value;
	else
		i->second = value;

Generated: Wed Apr 5 23:52:12 EST 2006 using "xsltproc ... docbook.xsl". Copyright (c) 2003, 2004, 2005; Paul Hamilton; pHamtec P/L. Use, modification, and distribution is provided free of any limitations.