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

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
 
PoIfstreamoperator= (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
 

Detailed Description

Interface to read po entry from files as input streams.

Definition at line 125 of file po.hxx.

Constructor & Destructor Documentation

◆ PoIfstream() [1/3]

PoIfstream::PoIfstream ( )

Definition at line 550 of file po.cxx.

◆ PoIfstream() [2/3]

PoIfstream::PoIfstream ( const OString &  rFileName)

Definition at line 555 of file po.cxx.

References open().

◆ ~PoIfstream()

PoIfstream::~PoIfstream ( )

Definition at line 561 of file po.cxx.

References close(), and isOpen().

◆ PoIfstream() [3/3]

PoIfstream::PoIfstream ( const PoIfstream )
delete

Member Function Documentation

◆ close()

void PoIfstream::close ( )

◆ eof()

bool PoIfstream::eof ( ) const
inline

◆ isOpen()

bool PoIfstream::isOpen ( ) const
inline

◆ open() [1/2]

void PoIfstream::open ( const OString &  rFileName)

◆ open() [2/2]

void PoIfstream::open ( const OString &  rFileName,
OString &  sPoHeader 
)

Definition at line 569 of file po.cxx.

References isOpen(), m_aInPut, and m_bEof.

◆ operator=()

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

◆ readEntry()

void PoIfstream::readEntry ( PoEntry rPo)

Member Data Documentation

◆ m_aInPut

std::ifstream PoIfstream::m_aInPut
private

Definition at line 129 of file po.hxx.

Referenced by close(), isOpen(), open(), and readEntry().

◆ m_bEof

bool PoIfstream::m_bEof
private

Definition at line 130 of file po.hxx.

Referenced by eof(), open(), and readEntry().


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