[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 158 of file klfpobj.h.

Constructor & Destructor Documentation

◆ KLFEnumType() [1/2]

KLFEnumType::KLFEnumType ( int  initvalue = 0)
inline

Definition at line 163 of file klfpobj.h.

◆ KLFEnumType() [2/2]

KLFEnumType::KLFEnumType ( const KLFEnumType copy)
inline

Definition at line 166 of file klfpobj.h.

◆ ~KLFEnumType()

virtual KLFEnumType::~KLFEnumType ( )
inlinevirtual

Definition at line 169 of file klfpobj.h.

Member Function Documentation

◆ enumValue()

QString KLFEnumType::enumValue ( ) const
inline

Definition at line 180 of file klfpobj.h.

References klfWarning, and QList::size().

◆ enumValues()

QStringList KLFEnumType::enumValues ( ) const
inline

Definition at line 190 of file klfpobj.h.

◆ setEnumValues()

void KLFEnumType::setEnumValues ( const QStringList list)
inline

Definition at line 194 of file klfpobj.h.

◆ setSpecification()

bool KLFEnumType::setSpecification ( const QByteArray data)
inlinevirtual

Implements KLFSpecifyableType.

Definition at line 204 of file klfpobj.h.

References QString::fromUtf8().

◆ setValue()

void KLFEnumType::setValue ( int  v)
inline

Definition at line 175 of file klfpobj.h.

◆ specification()

QByteArray KLFEnumType::specification ( ) const
inlinevirtual

Implements KLFSpecifyableType.

Definition at line 199 of file klfpobj.h.

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

Referenced by operator<<().

◆ value()

int KLFEnumType::value ( ) const
inline

Definition at line 171 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.16