aboutsummaryrefslogtreecommitdiff
path: root/src/function.cpp
blob: 8debbe9b8a0d699043ef3425c2c9a3517a95f710 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "function.h"

Function::Function()
{
}

Function::~Function()
{
}

void Function::addParam( const char *str )
{
	lParams.push_back( str );
}

void Function::copyData( Function *pSrc, Build &bld, const std::string &cont, VarMap *mExtra )
{
	lParams.clear();
	for( std::list<std::string>::iterator i = pSrc->lParams.begin();
		 i != pSrc->lParams.end(); i++ )
	{
		lParams.push_back( bld.replVars( *i, cont, mExtra ) );
	}
}