[AGENT++] allocate_index

Frank Fock fock at agentpp.com
Tue Apr 24 20:59:06 CEST 2007


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