Class axlInteger defines an integer. More...
#include <axlInteger.h>
Public Slots | |
| void | setValue (int newValue) |
| Assigns a new value to the axlInteger. More... | |
Public Slots inherited from axlAbstractData | |
| void | touchGeometry (void) |
| void | touchProperty (void) |
| void | touchStructure (void) |
| virtual void | touchField (void) |
| void | setColor (const QColor &color) |
| void | setOpacity (const double &opacity) |
| void | setSize (const double &size) |
| void | setShader (const QString &shader) |
| void | setEditable (bool edit) |
Public Member Functions | |
| axlInteger (QObject *parent=0) | |
| axlInteger (int value, QObject *parent=0) | |
| axlInteger (const axlInteger &other) | |
| Constructs a copy of other with same value. More... | |
| ~axlInteger (void) | |
| Destroys the axel integer. More... | |
| virtual QString | description (void) const |
| virtual QString | identifier (void) const |
| int | value (void) const |
| Return the value of the axlInteger. More... | |
| QVariantList | convertDataToQVariant (void) const |
| int | convertQVariantToData (const QVariantList &data) |
| axlInteger & | operator= (const axlInteger &other) |
| Assigns other to this integer and returns a reference to this integer. More... | |
Public Member Functions inherited from axlAbstractData | |
| axlAbstractData (axlAbstractData *parent=NULL) | |
| axlAbstractData (const axlAbstractData &data) | |
| virtual | ~axlAbstractData (void) |
| const QColor & | color (void) const |
| const double & | opacity (void) const |
| const double & | size (void) const |
| const QString & | shader (void) const |
| const bool & | editable (void) |
| const bool & | updateView (void) |
| void | setColor (double r, double g, double b) |
| void | addField (axlAbstractField *field) |
| Add a field to the field list of the object. More... | |
| bool | updateFieldList (QString nameField) |
| Check if a field with the same name is already applied on the object. More... | |
| QString | changeFieldName (QString fieldName) |
| axlMesh * | mesh (void) |
| Return the mesh of that object is computed. More... | |
| void | setMesh (axlMesh *mesh) |
| Set a corresponding mesh for that object. More... | |
| void | setUpdateView (bool updateView) |
| QList< axlAbstractField * > | fields (void) |
Friends | |
| QDebug | operator<< (QDebug dbg, axlInteger line) |
| QDebug | operator<< (QDebug dbg, axlInteger &line) |
| QDebug | operator<< (QDebug dbg, axlInteger *line) |
Additional Inherited Members | |
Signals inherited from axlAbstractData | |
| void | modifiedGeometry (void) |
| void | modifiedStructure (void) |
| void | modifiedField (void) |
| void | modifiedProperty (void) |
Properties inherited from axlAbstractData | |
| QColor | color |
| double | opacity |
| double | size |
| QString | shader |
Class axlInteger defines an integer.
This class enables to represent and manipulate integer number.
Example:
Definition at line 28 of file axlInteger.h.
| axlInteger::axlInteger | ( | QObject * | parent = 0 | ) |
Definition at line 35 of file axlInteger.cpp.
| axlInteger::axlInteger | ( | int | value, |
| QObject * | parent = 0 |
||
| ) |
Definition at line 41 of file axlInteger.cpp.
| axlInteger::axlInteger | ( | const axlInteger & | other | ) |
Constructs a copy of other with same value.
Definition at line 52 of file axlInteger.cpp.
| axlInteger::~axlInteger | ( | void | ) |
Destroys the axel integer.
Definition at line 62 of file axlInteger.cpp.
|
virtual |
Convert an axlInteger into a QVariantList. Useful for RPC protocol.
Reimplemented from axlAbstractData.
Definition at line 134 of file axlInteger.cpp.
|
virtual |
Convert a QVariantList into an axlInteger. Useful for RPC protocol.
Reimplemented from axlAbstractData.
Definition at line 144 of file axlInteger.cpp.
|
virtual |
Definition at line 122 of file axlInteger.cpp.
|
virtual |
Definition at line 129 of file axlInteger.cpp.
| axlInteger & axlInteger::operator= | ( | const axlInteger & | other | ) |
Assigns other to this integer and returns a reference to this integer.
Definition at line 72 of file axlInteger.cpp.
|
slot |
Assigns a new value to the axlInteger.
Definition at line 90 of file axlInteger.cpp.
| int axlInteger::value | ( | void | ) | const |
Return the value of the axlInteger.
Definition at line 82 of file axlInteger.cpp.
|
friend |
Definition at line 101 of file axlInteger.cpp.
|
friend |
Definition at line 108 of file axlInteger.cpp.
|
friend |
Definition at line 115 of file axlInteger.cpp.