LibreOffice Module l10ntools (master) 1
|
Interface to read po entry from files as input streams. More...
#include <po.hxx>
Classes | |
class | Exception |
Public Member Functions | |
PoIfstream () | |
PoIfstream (const OString &rFileName) | |
~PoIfstream () | |
PoIfstream (const PoIfstream &)=delete | |
PoIfstream & | operator= (const PoIfstream &)=delete |
bool | isOpen () const |
bool | eof () const |
void | open (const OString &rFileName) |
void | open (const OString &rFileName, OString &sPoHeader) |
void | close () |
void | readEntry (PoEntry &rPo) |
Private Attributes | |
std::ifstream | m_aInPut |
bool | m_bEof |
PoIfstream::PoIfstream | ( | const OString & | rFileName | ) |
PoIfstream::~PoIfstream | ( | ) |
|
delete |
void PoIfstream::close | ( | ) |
Definition at line 606 of file po.cxx.
References isOpen(), and m_aInPut.
Referenced by checkFunctionNames(), checkMathSymbolNames(), checkStyleNames(), checkVerticalBar(), MergeDataFile::MergeDataFile(), and ~PoIfstream().
|
inline |
Definition at line 142 of file po.hxx.
References m_bEof.
Referenced by checkFunctionNames(), checkMathSymbolNames(), checkStyleNames(), checkVerticalBar(), MergeDataFile::MergeDataFile(), and readEntry().
|
inline |
Definition at line 141 of file po.hxx.
References m_aInPut.
Referenced by checkFunctionNames(), checkMathSymbolNames(), checkStyleNames(), checkVerticalBar(), close(), MergeDataFile::MergeDataFile(), open(), readEntry(), and ~PoIfstream().
void PoIfstream::open | ( | const OString & | rFileName | ) |
Definition at line 591 of file po.cxx.
References isOpen(), m_aInPut, and m_bEof.
Referenced by checkFunctionNames(), checkMathSymbolNames(), checkStyleNames(), checkVerticalBar(), MergeDataFile::MergeDataFile(), and PoIfstream().
void PoIfstream::open | ( | const OString & | rFileName, |
OString & | sPoHeader | ||
) |
|
delete |
void PoIfstream::readEntry | ( | PoEntry & | rPo | ) |
Definition at line 612 of file po.cxx.
References eof(), GenPoEntry::getMsgStr(), GenPoEntry::isNull(), isOpen(), m_aInPut, m_bEof, PoEntry::m_bIsInitialized, PoEntry::m_pGenPo, GenPoEntry::readFromFile(), and SAL_WARN.
Referenced by checkFunctionNames(), checkMathSymbolNames(), checkStyleNames(), and checkVerticalBar().
|
private |
|
private |
Definition at line 130 of file po.hxx.
Referenced by eof(), open(), and readEntry().