OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ODGoogle::KMLWriter Class Reference

XML Writer. More...

Inheritance diagram for ODGoogle::KMLWriter:
[legend]

Public Member Functions

 KMLWriter ()
 
 ~KMLWriter ()
 
bool close () override
 
uiString errMsg () const override
 
BufferString getExtension () override
 
void setDesc (const BufferString &desc)
 
void setElemName (const char *nm)
 
void setStream (const BufferString &fnm) override
 
void setSurveyName (const char *nm)
 
bool writeLine (const RefObjectSet< const Pick::Set > &) override
 
bool writeLine (const TypeSet< Coord > &, const char *nm=nullptr) override
 
bool writePoint (const Coord &, const char *nm=nullptr) override
 
bool writePoint (const LatLong &, const char *nm=nullptr) override
 
bool writePoint (const RefObjectSet< const Pick::Set > &) override
 
bool writePoints (const TypeSet< Coord > &, const BufferStringSet &nms) override
 
bool writePolygon (const RefObjectSet< const Pick::Set > &) override
 
bool writePolygon (const TypeSet< Coord > &, const char *nm=nullptr) override
 
bool writePolygon (const TypeSet< Coord3 > &, const char *nm=nullptr) override
 
- Public Member Functions inherited from GISWriter
virtual ~GISWriter ()
 
void coordConverter (TypeSet< Coord > &crdset)
 
void coordConverter (TypeSet< Coord3 > &crdset)
 
uiString errMsg ()
 
ConstRefMan< Coords::CoordSystemgetCoordSys ()
 
bool isOK () const
 
void setCoordSys (Coords::CoordSystem *crs)
 
void setProperties (const GISWriter::Property &)
 
od_ostreamstrm ()
 
const od_ostreamstrm () const
 
uiString successMsg ()
 

Protected Member Functions

bool open (const char *fnm)
 
bool putIconStyles ()
 
bool putLine (const TypeSet< Coord > &, const char *nm)
 
bool putPlaceMark (const Coord &, const char *nm)
 
bool putPlaceMark (const LatLong &, const char *nm)
 
bool putPoly (const TypeSet< Coord3 > &, const char *nm=nullptr)
 
bool putPolyStyle ()
 
- Protected Member Functions inherited from GISWriter
 GISWriter ()
 

Protected Attributes

BufferString desc_
 
BufferString elemnm_
 
uiString errmsg_
 
BufferString survnm_
 
- Protected Attributes inherited from GISWriter
ConstRefMan< Coords::CoordSystemcoordsys_
 
ConstRefMan< Coords::CoordSysteminpcrs_
 
Property properties_
 
od_ostreamstrm_ = nullptr
 

Additional Inherited Members

- Public Attributes inherited from GISWriter
RefObjectSet< const Pick::Setpicks_
 

Detailed Description

XML Writer.

<>

Constructor & Destructor Documentation

◆ KMLWriter()

ODGoogle::KMLWriter::KMLWriter ( )

◆ ~KMLWriter()

ODGoogle::KMLWriter::~KMLWriter ( )

Member Function Documentation

◆ close()

bool ODGoogle::KMLWriter::close ( )
overridevirtual

Reimplemented from GISWriter.

◆ errMsg()

uiString ODGoogle::KMLWriter::errMsg ( ) const
inlineoverridevirtual

Implements GISWriter.

◆ getExtension()

BufferString ODGoogle::KMLWriter::getExtension ( )
inlineoverridevirtual

Implements GISWriter.

◆ open()

bool ODGoogle::KMLWriter::open ( const char *  fnm)
protected

◆ putIconStyles()

bool ODGoogle::KMLWriter::putIconStyles ( )
protected

◆ putLine()

bool ODGoogle::KMLWriter::putLine ( const TypeSet< Coord > &  ,
const char *  nm 
)
protected

◆ putPlaceMark() [1/2]

bool ODGoogle::KMLWriter::putPlaceMark ( const Coord ,
const char *  nm 
)
protected

◆ putPlaceMark() [2/2]

bool ODGoogle::KMLWriter::putPlaceMark ( const LatLong ,
const char *  nm 
)
protected

◆ putPoly()

bool ODGoogle::KMLWriter::putPoly ( const TypeSet< Coord3 > &  ,
const char *  nm = nullptr 
)
protected

◆ putPolyStyle()

bool ODGoogle::KMLWriter::putPolyStyle ( )
protected

◆ setDesc()

void ODGoogle::KMLWriter::setDesc ( const BufferString desc)
inline

◆ setElemName()

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

◆ setStream()

void ODGoogle::KMLWriter::setStream ( const BufferString fnm)
overridevirtual

Implements GISWriter.

◆ setSurveyName()

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

◆ writeLine() [1/2]

bool ODGoogle::KMLWriter::writeLine ( const RefObjectSet< const Pick::Set > &  )
overridevirtual

Implements GISWriter.

◆ writeLine() [2/2]

bool ODGoogle::KMLWriter::writeLine ( const TypeSet< Coord > &  ,
const char *  nm = nullptr 
)
overridevirtual

Implements GISWriter.

◆ writePoint() [1/3]

bool ODGoogle::KMLWriter::writePoint ( const Coord ,
const char *  nm = nullptr 
)
overridevirtual

Implements GISWriter.

◆ writePoint() [2/3]

bool ODGoogle::KMLWriter::writePoint ( const LatLong ,
const char *  nm = nullptr 
)
overridevirtual

Implements GISWriter.

◆ writePoint() [3/3]

bool ODGoogle::KMLWriter::writePoint ( const RefObjectSet< const Pick::Set > &  )
overridevirtual

Implements GISWriter.

◆ writePoints()

bool ODGoogle::KMLWriter::writePoints ( const TypeSet< Coord > &  ,
const BufferStringSet nms 
)
overridevirtual

Implements GISWriter.

◆ writePolygon() [1/3]

bool ODGoogle::KMLWriter::writePolygon ( const RefObjectSet< const Pick::Set > &  )
overridevirtual

Implements GISWriter.

◆ writePolygon() [2/3]

bool ODGoogle::KMLWriter::writePolygon ( const TypeSet< Coord > &  ,
const char *  nm = nullptr 
)
overridevirtual

Implements GISWriter.

◆ writePolygon() [3/3]

bool ODGoogle::KMLWriter::writePolygon ( const TypeSet< Coord3 > &  ,
const char *  nm = nullptr 
)
overridevirtual

Implements GISWriter.

Member Data Documentation

◆ desc_

BufferString ODGoogle::KMLWriter::desc_
protected

◆ elemnm_

BufferString ODGoogle::KMLWriter::elemnm_
protected

◆ errmsg_

uiString ODGoogle::KMLWriter::errmsg_
protected

◆ survnm_

BufferString ODGoogle::KMLWriter::survnm_
protected

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