librnr  1.14.5
RoadNarrows Robotics Common Library 1
Nvp_T Struct Reference

#include <assoc.h>

Public Attributes

const char * m_sName
 null-terminated string name
 
int m_iVal
 associated integer value
 

Detailed Description

Simple Name-Value Pair (Nvp) associative map entry structure.

Association:
name <–> value where name is a string and value is an integer.
Note
Although there are no restrictions to either the names or the values, be careful about shadowing. The library searches always return the first match, hiding any potential subsequent matches.

Definition at line 151 of file assoc.h.


The documentation for this struct was generated from the following file: