00001
00002
00003
00004
#ifndef EXPAT_TRANSLIBLIST_H
00005
#define EXPAT_TRANSLIBLIST_H
00006
00007
#include <string>
00008
#include <map>
00009
#include <vector>
00010
#include "EConfBase.h"
00011
#include "EConfTransLib.h"
00012
#include "sdp/PayloadTypes.h"
00013
00018 class EConfTransLibList :
public EConfBase{
00019 std::map<string, string> _transLibs;
00020 std::vector<EConfTransLib*> _v;
00021 std::map<SDP::PayloadTypes, string> _ptMap;
00022
public:
00023
EConfTransLibList(
const char* name,
const char* comment=NULL );
00024
virtual ~EConfTransLibList( );
00025
00026
virtual bool start_child_element(
const char* name,
const char** atts, XML_Parser p );
00027
virtual bool end_child_element(
const char* name, XML_Parser p );
00028
bool begin_parse(
const char* name,
const char** atts, XML_Parser p );
00029
virtual void dump(
int depth, ostream& ostr,
bool complete );
00030
00031
void specialize(
const EConfTransLibList& o );
00032
00033 string
getTransLib(
const SDP::PayloadTypes pt);
00034
00035
private:
00036
EConfTransLibList&
operator=(
const EConfTransLibList& );
00037 };
00038
00040
00041
#endif
00042