nlib
nn::nlib::msgpack::MpObjectKv Struct Reference

A pair consisting of an MpObject-type key and value. Used to store an associative array. More...

#include "nn/nlib/msgpack/MpObject.h"

Public Member Functions

 MpObjectKv () noexcept
 Instantiates the object with default parameters (default constructor).
 
 ~MpObjectKv () noexcept
 Destructor.
 
MpObjectKvassign (MpObjectKv &rhs, move_tag)
 Assigns the object by using swap for a move.
 
 MpObjectKv (MpObjectKv &rhs, move_tag)
 Instantiates the object by using swap for a move.
 
 MpObjectKv (MpObjectKv &&rhs)
 Instantiates the object (move constructor). This function is useful when using C++11.
 
MpObjectKvoperator= (MpObjectKv &&rhs)
 Move assignment operator. This function is useful when using C++11.
 
void swap (MpObjectKv &rhs) noexcept
 Swaps the content of the object.
 

Public Attributes

MpObject first
 Object used as a key.
 
MpObject second
 Object used as a value.
 

Detailed Description

A pair consisting of an MpObject-type key and value. Used to store an associative array.

Definition at line 406 of file MpObject.h.


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