PCIDSK::PCIDSK_TEX Class Reference

Interface to PCIDSK text segment. More...

#include <pcidsk_tex.h>

List of all members.

Public Member Functions

virtual std::string ReadText ()=0
 Read a text segment (SEG_TEX).
virtual void WriteText (const std::string &text)=0
 Write a text segment.


Detailed Description

Interface to PCIDSK text segment.


Member Function Documentation

virtual std::string PCIDSK::PCIDSK_TEX::ReadText (  )  [pure virtual]

Read a text segment (SEG_TEX).

All carriage returns in the file are converted to newlines during reading. No other processing is done.

Returns:
a string containing the entire contents of the text segment.

virtual void PCIDSK::PCIDSK_TEX::WriteText ( const std::string &  text  )  [pure virtual]

Write a text segment.

Writes the text to the text segment. All newlines will be converted to carriage controls for storage in the text segment per the normal text segment conventions, and if missing a carriage return will be added to the end of the file.

Parameters:
text the text to write to the segment. May contain newlines, and other special characters but no embedded characters.


The documentation for this class was generated from the following file:
Generated on Fri Jul 16 16:01:31 2010 for libpcidsk by  doxygen 1.5.1