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

#include <FEncoder.h>

Collaboration diagram for Atlas::Funky::EncMapValue< B, T >:

Public Member Functions

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

Protected Attributes

B & b
 The bridge or encoder that is written to. More...
 
std::string name
 The name of this item. More...
 

Detailed Description

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

Encoder in map value state

See also
Atlas Funky Encoder

Definition at line 88 of file FEncoder.h.

Member Function Documentation

◆ operator<<() [1/6]

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

Begin a map.

Definition at line 101 of file FEncoder.h.

◆ operator<<() [2/6]

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

Begin a list.

Definition at line 108 of file FEncoder.h.

◆ operator<<() [3/6]

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

Send an integer value.

Definition at line 115 of file FEncoder.h.

◆ operator<<() [4/6]

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

Send a double value.

Definition at line 122 of file FEncoder.h.

◆ operator<<() [5/6]

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

Send a string value.

Definition at line 129 of file FEncoder.h.

◆ operator<<() [6/6]

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

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

Definition at line 137 of file FEncoder.h.

Member Data Documentation

◆ b

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

The bridge or encoder that is written to.

Definition at line 145 of file FEncoder.h.

◆ name

template<class B, class T>
std::string Atlas::Funky::EncMapValue< B, T >::name
protected

The name of this item.

Definition at line 147 of file FEncoder.h.

Referenced by atlas.codecs.bach.BachParser::eos().


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