nlib
nn::nlib::msgpack::MpObjectKv Struct Referencefinal

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.
 
 MpObjectKv (MpObjectKv &&rhs)=default
 Instantiates the object (move constructor). This function is useful when using C++11.
 
MpObjectKvoperator= (MpObjectKv &&rhs)=default
 Move assignment operator. This function is useful when using C++11.
 
 MpObjectKv (MpObjectKv &rhs, move_tag) noexcept
 Corresponds to a move constructor.
 
MpObjectKvassign (MpObjectKv &rhs, move_tag) noexcept
 Corresponds to a move assignment operator.
 
void swap (MpObjectKv &rhs) noexcept
 Swaps the content of the object. More...
 

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 462 of file MpObject.h.

Member Function Documentation

◆ swap()

void nn::nlib::msgpack::MpObjectKv::swap ( MpObjectKv rhs)
inlinenoexcept

Swaps the content of the object.

Deprecated:
This function will be deleted in a future release.

Definition at line 1014 of file MpObject.h.


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