Search for usage in LXR

KItinerary::Uic9183Block Class Reference

#include <uic9183block.h>


QString contentText

Public Member Functions

 Uic9183Block (const QByteArray &data, int offset)
 Uic9183Block (const Uic9183Block &)
 Uic9183Block (Uic9183Block &&)
const char * content () const
int contentSize () const
bool isA (const char recordId[6]) const
template<typename T >
bool isA () const
bool isNull () const
const char * name () const
Uic9183Block nextBlock () const
Uic9183Blockoperator= (const Uic9183Block &)
Uic9183Blockoperator= (Uic9183Block &&)
int size () const
int version () const

Detailed Description

A data block from a UIC 918.3 ticket.

Definition at line 18 of file uic9183block.h.

Property Documentation

QString Uic9183Block::contentText

Content as string, for use in JS.

Definition at line 22 of file uic9183block.h.

Member Function Documentation

const char * Uic9183Block::content ( ) const

Returns the payload data (not including the block header).

Definition at line 62 of file uic9183block.cpp.

int Uic9183Block::contentSize ( ) const

Returns the size of the content data.

Definition at line 75 of file uic9183block.cpp.

bool Uic9183Block::isA ( const char  recordId[6]) const

Checks if this block has the given record id.

Definition at line 57 of file uic9183block.cpp.

template<typename T >
bool KItinerary::Uic9183Block::isA ( ) const

Checks if a block is of type.

Template Parameters

Definition at line 39 of file uic9183block.h.

bool Uic9183Block::isNull ( ) const

Checks if the block is valid or empty/default constructed.

Definition at line 85 of file uic9183block.cpp.

const char * Uic9183Block::name ( ) const

Returns the block name (6 characters).

The name is either "U_" + 4 letter standard type or a 4 digit vendor id + 2 char vendor type

Definition at line 49 of file uic9183block.cpp.

Uic9183Block Uic9183Block::nextBlock ( ) const

Returns the next block in the ticket.

If there is no more block, a null block is returned.

Definition at line 90 of file uic9183block.cpp.

int Uic9183Block::size ( ) const

Returns the size of the entire block data.

Definition at line 70 of file uic9183block.cpp.

int Uic9183Block::version ( ) const

Returns the version number of this block.

Definition at line 80 of file uic9183block.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Nov 30 2021 23:06:14 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.