Atlas 0.7.0
Networking protocol for the Worldforge system.
Atlas::Funky::EncList< B, T > Class Template Reference

#include <FEncoder.h>

Public Member Functions

 EncList (B &b)
 
EncMap< B, EncList< B, T > > operator<< (const BeginMap &)
 Start a map. More...
 
EncList< B, EncList< B, T > > operator<< (const BeginList &)
 Start a list. More...
 
EncList< B, T > operator<< (std::int64_t i)
 Send an integer value. More...
 
EncList< B, T > operator<< (double d)
 Send a double value. More...
 
EncList< B, T > operator<< (const std::string &s)
 Send a string value. More...
 
template<typename Arg >
EncList< B, T > operator<< (const Arg &a)
 If the encoder supports it, send any kind of value. More...
 
operator<< (EndList)
 End this list. More...
 

Protected Attributes

B & b
 The bridge or encoder that is written to. More...
 

Detailed Description

template<class B, class T>
class Atlas::Funky::EncList< B, T >

Encoder in List state

See also
Atlas Funky Encoder

Definition at line 184 of file FEncoder.h.

Constructor & Destructor Documentation

◆ EncList()

template<class B , class T >
Atlas::Funky::EncList< B, T >::EncList ( B &  b)
inline

Definition at line 186 of file FEncoder.h.

Member Function Documentation

◆ operator<<() [1/7]

template<class B , class T >
template<typename Arg >
EncList< B, T > Atlas::Funky::EncList< B, T >::operator<< ( const Arg &  a)
inline

If the encoder supports it, send any kind of value.

Definition at line 186 of file FEncoder.h.

◆ operator<<() [2/7]

template<class B , class T >
EncList< B, EncList< B, T > > Atlas::Funky::EncList< B, T >::operator<< ( const BeginList )
inline

Start a list.

Definition at line 186 of file FEncoder.h.

◆ operator<<() [3/7]

template<class B , class T >
EncMap< B, EncList< B, T > > Atlas::Funky::EncList< B, T >::operator<< ( const BeginMap )
inline

Start a map.

Definition at line 186 of file FEncoder.h.

◆ operator<<() [4/7]

template<class B , class T >
EncList< B, T > Atlas::Funky::EncList< B, T >::operator<< ( const std::string &  s)
inline

Send a string value.

Definition at line 186 of file FEncoder.h.

◆ operator<<() [5/7]

template<class B , class T >
EncList< B, T > Atlas::Funky::EncList< B, T >::operator<< ( double  d)
inline

Send a double value.

Definition at line 186 of file FEncoder.h.

◆ operator<<() [6/7]

template<class B , class T >
T Atlas::Funky::EncList< B, T >::operator<< ( EndList  )
inline

End this list.

Definition at line 232 of file FEncoder.h.

References Atlas::Funky::EncList< B, T >::b.

◆ operator<<() [7/7]

template<class B , class T >
EncList< B, T > Atlas::Funky::EncList< B, T >::operator<< ( std::int64_t  i)
inline

Send an integer value.

Definition at line 186 of file FEncoder.h.

Member Data Documentation

◆ b

template<class B , class T >
B& Atlas::Funky::EncList< B, T >::b
protected

The bridge or encoder that is written to.

Definition at line 240 of file FEncoder.h.

Referenced by Atlas::Funky::EncList< B, T >::operator<<().


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