okteta
#include <enumdefinition.h>
Inherits QSharedData.
Public Types | |
| typedef QSharedDataPointer < EnumDefinition >  | Ptr | 
Public Member Functions | |
| EnumDefinition (const QMap< AllPrimitiveTypes, QString > values, const QString &name, PrimitiveDataType type) | |
| EnumDefinition (const EnumDefinition &e) | |
| const AllPrimitiveTypes | key (QString &value) const | 
| const QString & | name () const | 
| void | setValues (QMap< AllPrimitiveTypes, QString > newValues) | 
| PrimitiveDataType | type () const | 
| const QString | value (AllPrimitiveTypes key) const | 
| const QMap< AllPrimitiveTypes,  QString > &  | values () const | 
Static Public Member Functions | |
| static QPair < AllPrimitiveTypes, QString >  | convertToEnumEntry (const QString &name, const QVariant &value, const LoggerWithContext &logger, PrimitiveDataType type) | 
| static QMap< AllPrimitiveTypes,  QString >  | parseEnumValues (const QScriptValue &val, const LoggerWithContext &logger, PrimitiveDataType type=Type_UInt64) | 
Protected Attributes | |
| const QString | mName | 
| const PrimitiveDataType | mType | 
| QMap< AllPrimitiveTypes, QString > | mValues | 
Detailed Description
Definition at line 37 of file enumdefinition.h.
Member Typedef Documentation
| typedef QSharedDataPointer<EnumDefinition> EnumDefinition::Ptr | 
Definition at line 40 of file enumdefinition.h.
Constructor & Destructor Documentation
      
  | 
  inline | 
Definition at line 41 of file enumdefinition.h.
      
  | 
  inline | 
Definition at line 44 of file enumdefinition.h.
Member Function Documentation
      
  | 
  static | 
- Returns
 - a pair containing the converted value. A default constructed pair means error!
 
Definition at line 59 of file enumdefinition.cpp.
      
  | 
  inline | 
Definition at line 71 of file enumdefinition.h.
      
  | 
  inline | 
Definition at line 86 of file enumdefinition.h.
      
  | 
  static | 
Definition at line 31 of file enumdefinition.cpp.
      
  | 
  inline | 
Definition at line 91 of file enumdefinition.h.
      
  | 
  inline | 
Definition at line 81 of file enumdefinition.h.
      
  | 
  inline | 
Definition at line 76 of file enumdefinition.h.
      
  | 
  inline | 
Definition at line 66 of file enumdefinition.h.
Member Data Documentation
      
  | 
  protected | 
Definition at line 60 of file enumdefinition.h.
      
  | 
  protected | 
Definition at line 62 of file enumdefinition.h.
      
  | 
  protected | 
Definition at line 61 of file enumdefinition.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
    KDE API Reference