Version: 9.15.0
LightApp_Msg::LightApp_Msg_handling Class Reference

#include <LightApp_Msg.h>

Public Member Functions

 LightApp_Msg_handling (std::unique_ptr< QList< Context >> Context_list)
 
void read (QIODevice *device)
 
QString write ()
 
ContextGetContextbyName (const QString &name)
 
bool HaveContext (const QString &name)
 

Private Member Functions

void readContext ()
 
void readMessage ()
 
void readSrc (Message &msg)
 
void readTranslation (Message &msg)
 

Private Attributes

QXmlStreamReader xmlReader
 
std::unique_ptr< QList< Context > > Context_list
 
QString header
 

Constructor & Destructor Documentation

◆ LightApp_Msg_handling()

LightApp_Msg::LightApp_Msg_handling::LightApp_Msg_handling ( std::unique_ptr< QList< Context >>  Context_list)
inline

Member Function Documentation

◆ GetContextbyName()

Context * LightApp_Msg_handling::GetContextbyName ( const QString &  name)

References Context_list.

◆ HaveContext()

bool LightApp_Msg_handling::HaveContext ( const QString &  name)

References Context_list.

◆ read()

void LightApp_Msg_handling::read ( QIODevice *  device)

References header, readContext(), and xmlReader.

◆ readContext()

void LightApp_Msg_handling::readContext ( )
private

◆ readMessage()

void LightApp_Msg_handling::readMessage ( )
private

◆ readSrc()

void LightApp_Msg_handling::readSrc ( Message msg)
private

◆ readTranslation()

void LightApp_Msg_handling::readTranslation ( Message msg)
private

◆ write()

QString LightApp_Msg_handling::write ( )

References Context_list, and header.

Member Data Documentation

◆ Context_list

std::unique_ptr<QList<Context> > LightApp_Msg::LightApp_Msg_handling::Context_list
private

◆ header

QString LightApp_Msg::LightApp_Msg_handling::header
private

◆ xmlReader

QXmlStreamReader LightApp_Msg::LightApp_Msg_handling::xmlReader
private

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