[AGENT++] allocate_index

michael.carr at bt.com michael.carr at bt.com
Wed Apr 25 08:47:58 CEST 2007


Thanks Frank, it does indeed do the trick.

-----Original Message-----
From: Frank Fock [mailto:fock at agentpp.com] 
Sent: Tuesday, April 24, 2007 7:59 PM
To: Carr,M,Michael,JGFTY C
Cc: agentpp at agentpp.org
Subject: Re: [AGENT++] allocate_index

Hi Mike,

Oidx::from_string does the trick:
http://www.agentpp.com/doc3.x/classOidx.html#e2

Cheers,
Frank

michael.carr at bt.com wrote:
> A quick question... I'm using a shared table that has an octet string 
> as it's index so I'm working along the lines that I have to use 
> allocate_index using a known index, I know what the index is in a 
> string format (such as "App 1") but  allocate_index needs an Oidx so 
> how do I convert my string into this?
> 
> Cheers,
> Mike
> 
> 
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the AGENTPP mailing list