eid-viewer
eid-viewer library
Loading...
Searching...
No Matches
convertor.h
1#ifndef EID_VWR_CONVERTOR_H
2#define EID_VWR_CONVERTOR_H
3
4#include <conversions.h>
5#include <eid-util/utftranslate.h>
6#include "cppeidstring.h"
7#include <map>
8#include <string>
9
11
13{
14private:
15 static std::map < EID_STRING, ConversionWorker * >convertors;
16 static std::map < EID_STRING, ConversionWorker * >to_xml;
17 static std::map < EID_STRING, ConversionWorker * >from_xml;
18public:
19 Convertor();
20 EID_CHAR *convert(const EID_CHAR * label, const EID_CHAR * normal);
21 EID_CHAR *convert_to_xml(const EID_CHAR * label,
22 const EID_CHAR * normal);
23 void *convert_from_xml(const EID_CHAR * name, const EID_CHAR * value,
24 int *len_return);
25 int can_convert(const EID_CHAR * label);
26};
27
28#endif
Definition convworker.h:11
Definition convertor.h:13