Atlas 0.7.0
Networking protocol for the Worldforge system.
XMLish Class Reference
Inheritance diagram for XMLish:
Collaboration diagram for XMLish:

Public Member Functions

 XMLish (const Codec< std::iostream >::Parameters &)
 
virtual void poll ()
 
virtual void streamBegin ()
 
virtual void streamMessage ()
 
virtual void streamEnd ()
 
virtual void mapItem (const std::string &name, const Map &)
 
virtual void mapItem (const std::string &name, const List &)
 
virtual void mapItem (const std::string &name, std::int64_t)
 
virtual void mapItem (const std::string &name, double)
 
virtual void mapItem (const std::string &name, const std::string &)
 
virtual void mapEnd ()
 
virtual void listItem (const Map &)
 
virtual void listItem (const List &)
 
virtual void listItem (std::int64_t)
 
virtual void listItem (double)
 
virtual void listItem (const std::string &)
 
virtual void listEnd ()
 

Protected Attributes

std::iostream & socket
 
Bridgebridge
 

Detailed Description

Definition at line 20 of file XMLish.cpp.

Constructor & Destructor Documentation

◆ XMLish()

XMLish::XMLish ( const Codec< std::iostream >::Parameters &  p)
explicit

Definition at line 65 of file XMLish.cpp.

Member Function Documentation

◆ listEnd()

void XMLish::listEnd ( )
virtual

Definition at line 152 of file XMLish.cpp.

◆ listItem() [1/5]

void XMLish::listItem ( const List &  )
virtual

Definition at line 132 of file XMLish.cpp.

◆ listItem() [2/5]

void XMLish::listItem ( const Map &  )
virtual

Definition at line 127 of file XMLish.cpp.

◆ listItem() [3/5]

void XMLish::listItem ( const std::string &  data)
virtual

Definition at line 147 of file XMLish.cpp.

◆ listItem() [4/5]

void XMLish::listItem ( double  data)
virtual

Definition at line 142 of file XMLish.cpp.

◆ listItem() [5/5]

void XMLish::listItem ( std::int64_t  data)
virtual

Definition at line 137 of file XMLish.cpp.

◆ mapEnd()

void XMLish::mapEnd ( )
virtual

Definition at line 122 of file XMLish.cpp.

◆ mapItem() [1/5]

void XMLish::mapItem ( const std::string &  name,
const List &   
)
virtual

Definition at line 102 of file XMLish.cpp.

◆ mapItem() [2/5]

void XMLish::mapItem ( const std::string &  name,
const Map &   
)
virtual

Definition at line 97 of file XMLish.cpp.

◆ mapItem() [3/5]

void XMLish::mapItem ( const std::string &  name,
const std::string &  data 
)
virtual

Definition at line 117 of file XMLish.cpp.

◆ mapItem() [4/5]

void XMLish::mapItem ( const std::string &  name,
double  data 
)
virtual

Definition at line 112 of file XMLish.cpp.

◆ mapItem() [5/5]

void XMLish::mapItem ( const std::string &  name,
std::int64_t  data 
)
virtual

Definition at line 107 of file XMLish.cpp.

◆ poll()

void XMLish::poll ( )
virtual

Implements Atlas::Codec< std::iostream >.

Definition at line 70 of file XMLish.cpp.

◆ streamBegin()

void XMLish::streamBegin ( )
virtual

Definition at line 82 of file XMLish.cpp.

◆ streamEnd()

void XMLish::streamEnd ( )
virtual

Definition at line 92 of file XMLish.cpp.

◆ streamMessage()

void XMLish::streamMessage ( )
virtual

Definition at line 87 of file XMLish.cpp.

Member Data Documentation

◆ bridge

Bridge* XMLish::bridge
protected

Definition at line 49 of file XMLish.cpp.

◆ socket

std::iostream& XMLish::socket
protected

Definition at line 48 of file XMLish.cpp.


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