local it = CIntent();
it:set('name','Eroc');
it:set('age','33');
it:dump();
it:dumpKeys();
local sValue = it:get('name');
print(sValue);
local bExist = it:exist('name');
if bExist then
print('exist');
end
local v = CVector();
it:getKeysByVector(v);
v:dump();
local sValue = it:toJson();
print(sValue);
local sValue = it:toString();
print(sValue);
local help= CSelectHelp();
it:toHelp(help);
help:dump();
local help= CSelectHelp();
help:genDebugData();
local it = CIntent();
it:fromHelp(help);
it:dump();
local it = CIntent();
it:set('name','Eroc');
it:set('age','33');
local help = CSelectHelp();
help:genDebugData();
it:setHelp('help',help);
it:dump();
local bIs = it:isHelp('help');
if bIs then
print('is help key');
end
local it2 = CIntent();
it2:set('lang','汉语');
it2:set('company','杭州塔网');
it:setIntent('it2',it2);
local it3 = CIntent();
it:getIntent('it2',it3);
it3:dump();