blob: 6e4f1d746b7321c0a4e6284452f2b5c97c9ec686 (
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 StringList *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 ) );
}
}
|