OpendTect-6_4  6.4
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
ODGoogle::XMLWriter Class Reference

XML Writer. More...

Public Member Functions

 XMLWriter (const char *elemname, const char *fnm=0, const char *survnm=0)
 
 ~XMLWriter ()
 
bool isOK () const
 
uiString errMsg () const
 
void setElemName (const char *nm)
 
void setSurveyName (const char *nm)
 
bool open (const char *fnm)
 
void close ()
 
void start (const XMLItem &)
 
void finish (const XMLItem &)
 
od_ostreamstrm ()
 
const od_ostreamstrm () const
 
void writeIconStyles (const char *iconnm, int xpixoffs, const char *ins=0)
 
void writePlaceMark (const char *iconnm, const Coord &, const char *nm)
 
void writePlaceMark (const char *iconnm, const LatLong &, const char *nm, const char *desc=0)
 
void writeLine (const char *iconnm, const TypeSet< Coord > &, const char *nm)
 
void writePolyStyle (const char *stlnm, const Color &, int wdth)
 
void writePoly (const char *stlnm, const char *polynm, const TypeSet< Coord > &, float hght, const SurveyInfo *si=0)
 

Protected Attributes

BufferString elemnm_
 
BufferString survnm_
 
od_ostreamstrm_
 
uiString errmsg_
 

Private Member Functions

 mODTextTranslationClass (XMLWriter)
 

Detailed Description

XML Writer.

Constructor & Destructor Documentation

ODGoogle::XMLWriter::XMLWriter ( const char *  elemname,
const char *  fnm = 0,
const char *  survnm = 0 
)
ODGoogle::XMLWriter::~XMLWriter ( )
inline

Member Function Documentation

void ODGoogle::XMLWriter::close ( )
uiString ODGoogle::XMLWriter::errMsg ( ) const
inline
void ODGoogle::XMLWriter::finish ( const XMLItem &  )
bool ODGoogle::XMLWriter::isOK ( ) const
ODGoogle::XMLWriter::mODTextTranslationClass ( XMLWriter  )
private
bool ODGoogle::XMLWriter::open ( const char *  fnm)
void ODGoogle::XMLWriter::setElemName ( const char *  nm)
inline
Parameters
nmbefore open()
void ODGoogle::XMLWriter::setSurveyName ( const char *  nm)
inline
Parameters
nmbefore open()
void ODGoogle::XMLWriter::start ( const XMLItem &  )
od_ostream& ODGoogle::XMLWriter::strm ( )
inline
const od_ostream& ODGoogle::XMLWriter::strm ( ) const
inline
void ODGoogle::XMLWriter::writeIconStyles ( const char *  iconnm,
int  xpixoffs,
const char *  ins = 0 
)
void ODGoogle::XMLWriter::writeLine ( const char *  iconnm,
const TypeSet< Coord > &  ,
const char *  nm 
)
void ODGoogle::XMLWriter::writePlaceMark ( const char *  iconnm,
const Coord ,
const char *  nm 
)
void ODGoogle::XMLWriter::writePlaceMark ( const char *  iconnm,
const LatLong ,
const char *  nm,
const char *  desc = 0 
)
void ODGoogle::XMLWriter::writePoly ( const char *  stlnm,
const char *  polynm,
const TypeSet< Coord > &  ,
float  hght,
const SurveyInfo si = 0 
)
void ODGoogle::XMLWriter::writePolyStyle ( const char *  stlnm,
const Color ,
int  wdth 
)

Member Data Documentation

BufferString ODGoogle::XMLWriter::elemnm_
protected
uiString ODGoogle::XMLWriter::errmsg_
protected
od_ostream* ODGoogle::XMLWriter::strm_
protected
BufferString ODGoogle::XMLWriter::survnm_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019