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

Container of po entry. More...

Public Member Functions

 GenPoEntry ()
 
const std::vector< OString > & getReference () const
 
const OString & getMsgCtxt () const
 
const OString & getMsgId () const
 
const OString & getMsgStr () const
 
bool isFuzzy () const
 
bool isNull () const
 
void setExtractCom (std::string_view rExtractCom)
 
void setReference (const OString &rReference)
 
void setMsgCtxt (const OString &rMsgCtxt)
 
void setMsgId (const OString &rMsgId)
 
void setMsgStr (const OString &rMsgStr)
 
void writeToFile (std::ofstream &rOFStream) const
 
void readFromFile (std::ifstream &rIFStream)
 

Private Attributes

OStringBuffer m_sExtractCom
 
std::vector< OString > m_sReferences
 
OString m_sMsgCtxt
 
OString m_sMsgId
 
OString m_sMsgIdPlural
 
OString m_sMsgStr
 
std::vector< OString > m_sMsgStrPlural
 
bool m_bFuzzy
 
bool m_bCFormat
 
bool m_bNull
 

Detailed Description

Container of po entry.

Provide all file operations related to LibreOffice specific po entry and store it's attributes.

Definition at line 31 of file po.cxx.

Constructor & Destructor Documentation

◆ GenPoEntry()

GenPoEntry::GenPoEntry ( )

Definition at line 120 of file po.cxx.

Referenced by readFromFile().

Member Function Documentation

◆ getMsgCtxt()

const OString & GenPoEntry::getMsgCtxt ( ) const
inline

Definition at line 49 of file po.cxx.

References m_sMsgCtxt.

◆ getMsgId()

const OString & GenPoEntry::getMsgId ( ) const
inline

Definition at line 50 of file po.cxx.

References m_sMsgId.

◆ getMsgStr()

const OString & GenPoEntry::getMsgStr ( ) const
inline

Definition at line 51 of file po.cxx.

References m_sMsgStr.

Referenced by PoIfstream::readEntry().

◆ getReference()

const std::vector< OString > & GenPoEntry::getReference ( ) const
inline

Definition at line 48 of file po.cxx.

References m_sReferences.

◆ isFuzzy()

bool GenPoEntry::isFuzzy ( ) const
inline

Definition at line 52 of file po.cxx.

References m_bFuzzy.

◆ isNull()

bool GenPoEntry::isNull ( ) const
inline

Definition at line 53 of file po.cxx.

References m_bNull.

Referenced by PoIfstream::readEntry().

◆ readFromFile()

void GenPoEntry::readFromFile ( std::ifstream &  rIFStream)

◆ setExtractCom()

void GenPoEntry::setExtractCom ( std::string_view  rExtractCom)
inline

Definition at line 55 of file po.cxx.

References m_sExtractCom.

◆ setMsgCtxt()

void GenPoEntry::setMsgCtxt ( const OString &  rMsgCtxt)
inline

Definition at line 63 of file po.cxx.

References m_sMsgCtxt.

◆ setMsgId()

void GenPoEntry::setMsgId ( const OString &  rMsgId)
inline

Definition at line 67 of file po.cxx.

References m_sMsgId.

◆ setMsgStr()

void GenPoEntry::setMsgStr ( const OString &  rMsgStr)
inline

Definition at line 71 of file po.cxx.

References m_sMsgStr.

◆ setReference()

void GenPoEntry::setReference ( const OString &  rReference)
inline

Definition at line 59 of file po.cxx.

References m_sReferences.

◆ writeToFile()

void GenPoEntry::writeToFile ( std::ofstream &  rOFStream) const

Member Data Documentation

◆ m_bCFormat

bool GenPoEntry::m_bCFormat
private

Definition at line 42 of file po.cxx.

Referenced by readFromFile(), and writeToFile().

◆ m_bFuzzy

bool GenPoEntry::m_bFuzzy
private

Definition at line 41 of file po.cxx.

Referenced by isFuzzy(), readFromFile(), and writeToFile().

◆ m_bNull

bool GenPoEntry::m_bNull
private

Definition at line 43 of file po.cxx.

Referenced by isNull(), and readFromFile().

◆ m_sExtractCom

OStringBuffer GenPoEntry::m_sExtractCom
private

Definition at line 34 of file po.cxx.

Referenced by readFromFile(), setExtractCom(), and writeToFile().

◆ m_sMsgCtxt

OString GenPoEntry::m_sMsgCtxt
private

Definition at line 36 of file po.cxx.

Referenced by getMsgCtxt(), readFromFile(), setMsgCtxt(), and writeToFile().

◆ m_sMsgId

OString GenPoEntry::m_sMsgId
private

Definition at line 37 of file po.cxx.

Referenced by getMsgId(), readFromFile(), setMsgId(), and writeToFile().

◆ m_sMsgIdPlural

OString GenPoEntry::m_sMsgIdPlural
private

Definition at line 38 of file po.cxx.

Referenced by readFromFile(), and writeToFile().

◆ m_sMsgStr

OString GenPoEntry::m_sMsgStr
private

Definition at line 39 of file po.cxx.

Referenced by getMsgStr(), readFromFile(), setMsgStr(), and writeToFile().

◆ m_sMsgStrPlural

std::vector<OString> GenPoEntry::m_sMsgStrPlural
private

Definition at line 40 of file po.cxx.

Referenced by readFromFile(), and writeToFile().

◆ m_sReferences

std::vector<OString> GenPoEntry::m_sReferences
private

Definition at line 35 of file po.cxx.

Referenced by getReference(), readFromFile(), setReference(), and writeToFile().


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