Bonjour,

Est ce que quelqu'un peu m'aider à comprendre le code suivant (dans quelles fonctions on entre, type des variables...):
En effet je viens de le recup et j'ai une modif urgente à faire

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
int SimDoc::SetTagValue(const std::string& pattern, const std::string& value)
{
	typedef TagDispatcher<TagValueSetter, TagCollector>	MyDispatcher;
 
	SpSvaTagList	tags;
	SimDevice*	simu = static_cast<SimDevice*>(devices.groups.GetHead());
 
	ApplyIf<SpSvaTag>(simu->tags, MyDispatcher(TagValueSetter(value), TagCollector(tags)),
		MatchTagName(pattern));
 
	......
	return tags.GetCount();
}
merci