classPiiNameValuePair
#include <PiiNameValuePair.h>
A template that wraps a name and a value into a pair.
Description
XML serialization has special use for the name, other implementations typically ignore it.
Constructors and destructor
|
(
Create a new serialization wrapper for the given value. |
Public member functions
|
template<class Archive>
void
|
(
|
|
template<class T>
PiiNameValuePair< T
>
|
(
Create a PiiNameValuePair wrapper
for a type automatically determined by the |
Function details
-
PiiNameValuePair
(- const char * n
- const T & v
[inline]Create a new serialization wrapper for the given value.
Parameters
- n
-
name
- v
-
data
-
template<class Archive>
void serialize
(- Archive & archive
- const unsigned int
[inline] -
Create a PiiNameValuePair wrapper for a type automatically determined by the
valueparameter.Parameters
- name
-
the name of the variable
- value
-
the value
Add a note
Not a single note added yet. Be the first, add yours.