Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | Related Pages

Atlas::Bridge Class Reference

Atlas stream bridge. More...

#include <Bridge.h>

Inheritance diagram for Atlas::Bridge:

Atlas::Codec< Stream > Atlas::Codec< std::iostream > Atlas::EncoderBase Atlas::Message::DecoderBase Atlas::Message::Encoder Atlas::Objects::Encoder Atlas::Message::QueuedDecoder Atlas::Objects::Decoder Atlas::Message::Layer< Decoder > List of all members.

Public Member Functions

virtual void streamBegin ()=0
virtual void streamMessage (const Map &)=0
virtual void streamEnd ()=0
virtual void mapItem (const std::string &name, const Map &)=0
virtual void mapItem (const std::string &name, const List &)=0
virtual void mapItem (const std::string &name, long)=0
virtual void mapItem (const std::string &name, double)=0
virtual void mapItem (const std::string &name, const std::string &)=0
virtual void mapEnd ()=0
virtual void listItem (const Map &)=0
virtual void listItem (const List &)=0
virtual void listItem (long)=0
virtual void listItem (double)=0
virtual void listItem (const std::string &)=0
virtual void listEnd ()=0

Static Public Attributes

Map MapBegin
List ListBegin

Detailed Description

Atlas stream bridge.

This class presents an interface that accepts an Atlas stream. The stream begins with a call to StreamBegin() and finishes with StreamEnd(). While the Bridge is in this stream context, a message can be sent using StreamMessage(). This puts the Bridge into a map context, allowing various MapItem() calls.

Several classes are derived from Bridge, the most notable of which is Codec, which accepts an Atlas stream for encoding and transmission.

See also:
Codec


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

Copyright 2000 the respective authors.

This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.