Atlas  0.7.0
Networking protocol for the Worldforge system.
Atlas::Message::Element::DataType< C > Class Template Reference

Public Member Functions

 DataType (const C &c)
 
 DataType (C &&c)
 
 DataType (const DataType &)=delete
 
DataTypeoperator= (const C &c)
 
DataTypeoperator= (const C &&c)
 
DataTypeoperator= (const DataType &)=delete
 
bool operator== (const C &c) const
 
void ref ()
 
void unref ()
 
bool unique () const
 
DataTypemakeUnique ()
 
 operator C& ()
 
C && move ()
 

Detailed Description

template<class C>
class Atlas::Message::Element::DataType< C >

Definition at line 545 of file Element.h.

Member Function Documentation

◆ move()

template<class C >
C&& Atlas::Message::Element::DataType< C >::move ( )
inline

Moves the data out of the container.

This will destroy the existing data.

Returns

Definition at line 579 of file Element.h.

Referenced by Atlas::Message::Element::moveList(), Atlas::Message::Element::moveMap(), and Atlas::Message::Element::moveString().


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