Public Member Functions | List of all members
ipe::PdfString Class Reference

#include <ipepdfparser.h>

Inherits ipe::PdfObj.

Public Member Functions

 PdfString (const String &val, bool binary=false)
virtual const PdfStringstring () const noexcept
virtual void write (Stream &stream, const PdfRenumber *renumber, bool inflate) const noexcept
String value () const noexcept
String decode () const noexcept
- Public Member Functions inherited from ipe::PdfObj
virtual ~PdfObj ()=0
virtual const PdfNullnull () const noexcept
virtual const PdfBoolboolean () const noexcept
virtual const PdfNumbernumber () const noexcept
virtual const PdfNamename () const noexcept
virtual const PdfRefref () const noexcept
virtual const PdfArrayarray () const noexcept
virtual const PdfDictdict () const noexcept
String repr () const noexcept

Detailed Description

The PDF string object.

Constructor & Destructor Documentation

◆ PdfString()

ipe::PdfString::PdfString ( const String val,
bool  binary = false 

Member Function Documentation

◆ string()

const PdfString * PdfString::string ( ) const

Return this object as PDF string object.

Reimplemented from ipe::PdfObj.

◆ write()

void PdfString::write ( Stream stream,
const PdfRenumber renumber,
bool  inflate 
) const

Implements ipe::PdfObj.

◆ value()

String ipe::PdfString::value ( ) const

◆ decode()

String PdfString::decode ( ) const

Return value of string after decoding binary strings.

References ipe::String::appendUtf8(), ipe::Lex::eos(), ipe::Lex::getHexByte(), and ipe::String::hasPrefix().

The documentation for this class was generated from the following files: