1 #ifndef googlexmlwriter_h 2 #define googlexmlwriter_h 10 #include "generalmod.h" 30 XMLWriter(
const char* elemname,
const char* fnm=0,
31 const char* survnm=0);
42 bool open(
const char* fnm);
45 void start(
const XMLItem&);
46 void finish(
const XMLItem&);
51 void writeIconStyles(
const char* iconnm,
int xpixoffs,
53 void writePlaceMark(
const char* iconnm,
const Coord&,
55 void writePlaceMark(
const char* iconnm,
const LatLong&,
56 const char* nm,
const char* desc=0);
60 void writePolyStyle(
const char* stlnm,
const Color&,
int wdth);
61 void writePoly(
const char* stlnm,
const char* polynm,
#define mExpClass(module)
Definition: commondefs.h:160
OD class for stream write common access to the user log file, or std::cout in batch progs...
Definition: od_ostream.h:26
od_ostream * strm_
Definition: googlexmlwriter.h:69
BufferString elemnm_
Definition: googlexmlwriter.h:67
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Definition: googlexmlwriter.h:18
Definition: uistring.h:89
Holds survey general information.
Definition: survinfo.h:45
A cartesian coordinate in 2D space.
Definition: coord.h:25
Geographical coordinates in Decimal Degrees but with conv to deg, min, sec.
Definition: latlong.h:27
~XMLWriter()
Definition: googlexmlwriter.h:32
void setSurveyName(const char *nm)
Definition: googlexmlwriter.h:39
BufferString survnm_
Definition: googlexmlwriter.h:68
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
BufferString errmsg_
Definition: horizontracker.h:119
uiString errmsg_
Definition: googlexmlwriter.h:70
const od_ostream & strm() const
Definition: googlexmlwriter.h:49
void setElemName(const char *nm)
Definition: googlexmlwriter.h:37
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
od_ostream & strm()
Definition: googlexmlwriter.h:48
uiString errMsg() const
Definition: googlexmlwriter.h:35
XML Writer.
Definition: googlexmlwriter.h:26