Definition in file varpath.cpp.
#include "stdnet.h"
#include "nel/misc/types_nl.h"
#include <stdio.h>
#include <ctype.h>
#include <math.h>
#include <vector>
#include <map>
#include "nel/misc/debug.h"
#include "nel/misc/config_file.h"
#include "nel/misc/displayer.h"
#include "nel/misc/log.h"
#include "nel/net/varpath.h"
Go to the source code of this file.
Functions | |
NLMISC_COMMAND (varPath,"Test a varpath(for debug purpose)","< rawvarpath >") |
|
Definition at line 217 of file varpath.cpp. References CVarPath::Destination, and uint.
00218 { 00219 if(args.size() != 1) return false; 00220 00221 CVarPath vp (args[0]); 00222 00223 log.displayNL ("VarPath contains %d destination", vp.Destination.size ()); 00224 for (uint i = 0; i < vp.Destination.size (); i++) 00225 { 00226 log.displayNL ("Dest '%s' value '%s'", vp.Destination[i].first.c_str(), vp.Destination[i].second.c_str()); 00227 } 00228 log.displayNL ("End of varpath"); 00229 00230 return true; 00231 } |