|
Developer Documentation
|
#include "TypesInternal.hh"#include <OpenFlipper/common/GlobalOptions.hh>#include <OpenFlipper/BasePlugin/LoggingInterface.hh>#include <QCoreApplication>Go to the source code of this file.
Functions | |
| std::ostream & | operator<< (std::ostream &stream, DataType type) |
| void | initializeTypes () |
| DataType | addDataType (QString _name, QString _readableName) |
| Adds a datatype and returns the id for the new type. More... | |
| DataType | typeId (QString _name) |
| Get the id of a type with given name. More... | |
| QString | typeName (DataType _id) |
| Get the name of a type with given id. More... | |
| bool | typeExists (QString _name) |
| Check if a type with the given name exists. More... | |
| size_t | typeCount () |
| Return the number of registered types. More... | |
| std::vector< TypeInfo >::const_iterator | typesBegin () |
| Get iterator pointing to the first element in the tyoes list. More... | |
| std::vector< TypeInfo >::const_iterator | typesEnd () |
| Get iterator pointing to the last element in the tyoes list. More... | |
| QString | typeIconName (QString _name) |
| Get the icon of a given dataType. More... | |
| QString | typeIconName (DataType _id) |
| get the icon of a given dataType More... | |
| QIcon & | typeIcon (DataType _id) |
| get the icon of a given dataType More... | |
| void | setTypeIcon (DataType _id, QString _icon) |
| Set the icon for a given dataType. More... | |
| void | setTypeIcon (QString _name, QString _icon) |
| Set the icon for a given dataType. More... | |
| QString | dataTypeName (DataType _id) |
| Get DataType Human readable name ( this name might change. Use the typeName insted! ) More... | |
| QString | dataTypeName (QString _typeName) |
| Get DataType Human readable name ( this name might change. Use the typeName insted! ) More... | |
| void | setDataTypeName (DataType _id, QString _name) |
| Set the icon for a given dataType. More... | |
| void | setDataTypeName (QString _typeName, QString _name) |
| Set the icon for a given dataType. More... | |
| void | registerTypes () |
This File contains the basic functions to handle datatypes
Definition in file Types.cc.
| DataType addDataType | ( | QString | _name, |
| QString | _readableName | ||
| ) |
| QString dataTypeName | ( | DataType | _id | ) |
| QString dataTypeName | ( | QString | _typeName | ) |
| void registerTypes | ( | ) |
| void setDataTypeName | ( | DataType | _id, |
| QString | _name | ||
| ) |
| void setDataTypeName | ( | QString | _typeName, |
| QString | _name | ||
| ) |
| void setTypeIcon | ( | DataType | _id, |
| QString | _icon | ||
| ) |
| void setTypeIcon | ( | QString | _name, |
| QString | _icon | ||
| ) |
| size_t typeCount | ( | ) |
| bool typeExists | ( | QString | _name | ) |
| QIcon& typeIcon | ( | DataType | _id | ) |
| QString typeIconName | ( | QString | _name | ) |
| QString typeIconName | ( | DataType | _id | ) |
| DataType typeId | ( | QString | _name | ) |
| QString typeName | ( | DataType | _id | ) |
| std::vector< TypeInfo >::const_iterator typesBegin | ( | ) |