LibreOffice Module l10ntools (master) 1
|
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 |
Container of po entry.
Provide all file operations related to LibreOffice specific po entry and store it's attributes.
GenPoEntry::GenPoEntry | ( | ) |
Definition at line 120 of file po.cxx.
Referenced by readFromFile().
|
inline |
Definition at line 49 of file po.cxx.
References m_sMsgCtxt.
|
inline |
|
inline |
|
inline |
Definition at line 48 of file po.cxx.
References m_sReferences.
|
inline |
|
inline |
void GenPoEntry::readFromFile | ( | std::ifstream & | rIFStream | ) |
Definition at line 159 of file po.cxx.
References GenPoEntry(), m_bCFormat, m_bFuzzy, m_bNull, m_sExtractCom, m_sMsgCtxt, m_sMsgId, m_sMsgIdPlural, m_sMsgStr, m_sMsgStrPlural, and m_sReferences.
Referenced by PoIfstream::readEntry().
|
inline |
Definition at line 55 of file po.cxx.
References m_sExtractCom.
|
inline |
Definition at line 63 of file po.cxx.
References m_sMsgCtxt.
|
inline |
|
inline |
|
inline |
Definition at line 59 of file po.cxx.
References m_sReferences.
void GenPoEntry::writeToFile | ( | std::ofstream & | rOFStream | ) | const |
Definition at line 127 of file po.cxx.
References line, m_bCFormat, m_bFuzzy, m_sExtractCom, m_sMsgCtxt, m_sMsgId, m_sMsgIdPlural, m_sMsgStr, m_sMsgStrPlural, and m_sReferences.
|
private |
Definition at line 42 of file po.cxx.
Referenced by readFromFile(), and writeToFile().
|
private |
Definition at line 41 of file po.cxx.
Referenced by isFuzzy(), readFromFile(), and writeToFile().
|
private |
Definition at line 43 of file po.cxx.
Referenced by isNull(), and readFromFile().
|
private |
Definition at line 34 of file po.cxx.
Referenced by readFromFile(), setExtractCom(), and writeToFile().
|
private |
Definition at line 36 of file po.cxx.
Referenced by getMsgCtxt(), readFromFile(), setMsgCtxt(), and writeToFile().
|
private |
Definition at line 37 of file po.cxx.
Referenced by getMsgId(), readFromFile(), setMsgId(), and writeToFile().
|
private |
Definition at line 38 of file po.cxx.
Referenced by readFromFile(), and writeToFile().
|
private |
Definition at line 39 of file po.cxx.
Referenced by getMsgStr(), readFromFile(), setMsgStr(), and writeToFile().
|
private |
Definition at line 40 of file po.cxx.
Referenced by readFromFile(), and writeToFile().
|
private |
Definition at line 35 of file po.cxx.
Referenced by getReference(), readFromFile(), setReference(), and writeToFile().