OpendTect  6.6
Public Member Functions | Protected Attributes | 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 ()
 
void close ()
 
uiString errMsg () const
 
void finish (const XMLItem &)
 
bool isOK () const
 
bool open (const char *fnm)
 
void setElemName (const char *nm)
 
void setSurveyName (const char *nm)
 
void start (const XMLItem &)
 
od_ostreamstrm ()
 
const od_ostreamstrm () const
 
void writeIconStyles (const char *iconnm, int xpixoffs, const char *ins=0)
 
void writeLine (const char *iconnm, const TypeSet< Coord > &, const char *nm)
 
void writePlaceMark (const char *iconnm, const Coord &, const char *nm)
 
void writePlaceMark (const char *iconnm, const Coord &, const char *nm, float hght)
 
void writePlaceMark (const char *iconnm, const LatLong &, const char *nm, float hght, const char *desc=0)
 
void writePoly (const char *stlnm, const char *polynm, const TypeSet< Coord > &, float hght, const SurveyInfo *si=0)
 
void writePolyStyle (const char *stlnm, const Color &, int wdth)
 

Protected Attributes

BufferString elemnm_
 
uiString errmsg_
 
od_ostreamstrm_
 
BufferString survnm_
 

Detailed Description

XML Writer.

<>

Constructor & Destructor Documentation

◆ XMLWriter()

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

◆ ~XMLWriter()

ODGoogle::XMLWriter::~XMLWriter ( )
inline

Member Function Documentation

◆ close()

void ODGoogle::XMLWriter::close ( )

◆ errMsg()

uiString ODGoogle::XMLWriter::errMsg ( ) const
inline

◆ finish()

void ODGoogle::XMLWriter::finish ( const XMLItem &  )

◆ isOK()

bool ODGoogle::XMLWriter::isOK ( ) const

◆ open()

bool ODGoogle::XMLWriter::open ( const char *  fnm)

◆ setElemName()

void ODGoogle::XMLWriter::setElemName ( const char *  nm)
inline
Parameters
nmbefore open()

◆ setSurveyName()

void ODGoogle::XMLWriter::setSurveyName ( const char *  nm)
inline
Parameters
nmbefore open()

◆ start()

void ODGoogle::XMLWriter::start ( const XMLItem &  )

◆ strm() [1/2]

od_ostream& ODGoogle::XMLWriter::strm ( )
inline

◆ strm() [2/2]

const od_ostream& ODGoogle::XMLWriter::strm ( ) const
inline

◆ writeIconStyles()

void ODGoogle::XMLWriter::writeIconStyles ( const char *  iconnm,
int  xpixoffs,
const char *  ins = 0 
)

◆ writeLine()

void ODGoogle::XMLWriter::writeLine ( const char *  iconnm,
const TypeSet< Coord > &  ,
const char *  nm 
)

◆ writePlaceMark() [1/3]

void ODGoogle::XMLWriter::writePlaceMark ( const char *  iconnm,
const Coord ,
const char *  nm 
)

◆ writePlaceMark() [2/3]

void ODGoogle::XMLWriter::writePlaceMark ( const char *  iconnm,
const Coord ,
const char *  nm,
float  hght 
)

◆ writePlaceMark() [3/3]

void ODGoogle::XMLWriter::writePlaceMark ( const char *  iconnm,
const LatLong ,
const char *  nm,
float  hght,
const char *  desc = 0 
)

◆ writePoly()

void ODGoogle::XMLWriter::writePoly ( const char *  stlnm,
const char *  polynm,
const TypeSet< Coord > &  ,
float  hght,
const SurveyInfo si = 0 
)

◆ writePolyStyle()

void ODGoogle::XMLWriter::writePolyStyle ( const char *  stlnm,
const Color ,
int  wdth 
)

Member Data Documentation

◆ elemnm_

BufferString ODGoogle::XMLWriter::elemnm_
protected

◆ errmsg_

uiString ODGoogle::XMLWriter::errmsg_
protected

◆ strm_

od_ostream* ODGoogle::XMLWriter::strm_
protected

◆ survnm_

BufferString ODGoogle::XMLWriter::survnm_
protected

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