[KLF Backend][KLF Tools][KLF Home]
KLatexFormula Project
Public Member Functions | List of all members
KLFEnumType Class Reference

#include <klfpobj.h>

Inheritance diagram for KLFEnumType:
Inheritance graph
[legend]
Collaboration diagram for KLFEnumType:
Collaboration graph
[legend]

Public Member Functions

 KLFEnumType (int initvalue=0)
 
 KLFEnumType (const KLFEnumType &copy)
 
virtual ~KLFEnumType ()
 
int value () const
 
void setValue (int v)
 
QString enumValue () const
 
QStringList enumValues () const
 
void setEnumValues (const QStringList &list)
 
QByteArray specification () const
 
bool setSpecification (const QByteArray &data)
 
- Public Member Functions inherited from KLFSpecifyableType
 KLFSpecifyableType ()
 
virtual ~KLFSpecifyableType ()
 

Detailed Description

Definition at line 159 of file klfpobj.h.

Constructor & Destructor Documentation

◆ KLFEnumType() [1/2]

KLFEnumType::KLFEnumType ( int  initvalue = 0)
inline

Definition at line 164 of file klfpobj.h.

◆ KLFEnumType() [2/2]

KLFEnumType::KLFEnumType ( const KLFEnumType copy)
inline

Definition at line 167 of file klfpobj.h.

◆ ~KLFEnumType()

virtual KLFEnumType::~KLFEnumType ( )
inlinevirtual

Definition at line 170 of file klfpobj.h.

Member Function Documentation

◆ enumValue()

QString KLFEnumType::enumValue ( ) const
inline

Definition at line 181 of file klfpobj.h.

References klfWarning, and QList::size().

◆ enumValues()

QStringList KLFEnumType::enumValues ( ) const
inline

Definition at line 191 of file klfpobj.h.

◆ setEnumValues()

void KLFEnumType::setEnumValues ( const QStringList list)
inline

Definition at line 195 of file klfpobj.h.

◆ setSpecification()

bool KLFEnumType::setSpecification ( const QByteArray data)
inlinevirtual

Implements KLFSpecifyableType.

Definition at line 205 of file klfpobj.h.

References QString::fromUtf8(), KLF_EXPORT, operator<<(), operator>>(), and Q_DECLARE_METATYPE().

Referenced by operator>>().

◆ setValue()

void KLFEnumType::setValue ( int  v)
inline

Definition at line 176 of file klfpobj.h.

Referenced by operator>>().

◆ specification()

QByteArray KLFEnumType::specification ( ) const
inlinevirtual

Implements KLFSpecifyableType.

Definition at line 200 of file klfpobj.h.

References QStringList::join(), and QString::toUtf8().

Referenced by operator<<().

◆ value()

int KLFEnumType::value ( ) const
inline

Definition at line 172 of file klfpobj.h.

Referenced by operator<<(), and operator==().


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

Generated by doxygen 1.8.13