LibreOffice Module l10ntools (master) 1
Public Member Functions | Private Attributes | Friends | List of all members
PoHeader Class Reference

Interface to work with header of po/pot files. More...

#include <po.hxx>

Public Member Functions

 PoHeader (std::string_view rExtSrc)
 Template Constructor. More...
 
 PoHeader (std::string_view rExtSrc, const OString &rPoHeaderMsgStr)
 
 ~PoHeader ()
 
 PoHeader (const PoHeader &)=delete
 
PoHeaderoperator= (const PoHeader &)=delete
 

Private Attributes

std::unique_ptr< GenPoEntrym_pGenPo
 
bool m_bIsInitialized
 

Friends

class PoOfstream
 
class PoIfstream
 

Detailed Description

Interface to work with header of po/pot files.

This class stores information which is in header of a po file. It's main function to generate header to template po files(pot).

Definition at line 80 of file po.hxx.

Constructor & Destructor Documentation

◆ PoHeader() [1/3]

PoHeader::PoHeader ( std::string_view  rExtSrc)

Template Constructor.

Definition at line 454 of file po.cxx.

References m_bIsInitialized, and m_pGenPo.

◆ PoHeader() [2/3]

PoHeader::PoHeader ( std::string_view  rExtSrc,
const OString &  rPoHeaderMsgStr 
)

Definition at line 445 of file po.cxx.

References m_bIsInitialized, and m_pGenPo.

◆ ~PoHeader()

PoHeader::~PoHeader ( )

Definition at line 475 of file po.cxx.

◆ PoHeader() [3/3]

PoHeader::PoHeader ( const PoHeader )
delete

Member Function Documentation

◆ operator=()

PoHeader & PoHeader::operator= ( const PoHeader )
delete

Friends And Related Function Documentation

◆ PoIfstream

friend class PoIfstream
friend

Definition at line 90 of file po.hxx.

◆ PoOfstream

friend class PoOfstream
friend

Definition at line 89 of file po.hxx.

Member Data Documentation

◆ m_bIsInitialized

bool PoHeader::m_bIsInitialized
private

Definition at line 85 of file po.hxx.

Referenced by PoHeader(), and PoOfstream::writeHeader().

◆ m_pGenPo

std::unique_ptr<GenPoEntry> PoHeader::m_pGenPo
private

Definition at line 84 of file po.hxx.

Referenced by PoHeader(), and PoOfstream::writeHeader().


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