ArnLib
4.0.x
Active Registry Network
|
Handle for an Arn Data Object. More...
#include <ArnItem.hpp>
Public Slots | |
void | setValue (int value) |
Assign an integer to an Arn Data Object More... | |
void | setValue (double value) |
Assign an ARNREAL to an Arn Data Object More... | |
void | setValue (bool value) |
Assign a bool to an Arn Data Object More... | |
void | setValue (const QString &value) |
Assign a QString to an Arn Data Object More... | |
void | setValue (const QByteArray &value) |
Assign a QByteArray to an Arn Data Object More... | |
void | setValue (const QVariant &value) |
Assign a QVariant to an Arn Data Object More... | |
void | setValue (const char *value) |
Assign a char* to an Arn Data Object More... | |
void | toggleBool () |
Toggle the bool at the Arn Data Object More... | |
Signals | |
void | changed () |
Signals emitted when data in Arn Data Object is changed. More... | |
void | changed (int value) |
void | changed (double value) |
void | changed (bool value) |
void | changed (const QString &value) |
void | changed (const QByteArray &value) |
void | changed (const QVariant &value) |
void | modeChanged (Arn::ObjectMode mode) |
Signal emitted when mode in Arn Data Object is changed. More... | |
void | arnItemCreated (const QString &path) |
Signal emitted when an Arn Data Object is created in the tree below. More... | |
void | arnModeChanged (const QString &path, uint linkId, Arn::ObjectMode mode) |
Signal emitted when an Arn Data Object in the tree below has a general mode change. More... | |
![]() | |
void | arnLinkDestroyed () |
Signal emitted when the Arn Data Object is destroyed. More... | |
Public Member Functions | |
ArnItem (QObject *parent=arnNullptr) | |
Standard constructor of a closed handle. More... | |
ArnItem (const QString &path, QObject *parent=arnNullptr) | |
Construction of a handle to a path. More... | |
ArnItem (const ArnItem &itemTemplate, const QString &path, QObject *parent=arnNullptr) | |
Construction of a handle to a path with a template for modes More... | |
virtual | ~ArnItem () |
bool | openUuid (const QString &path) |
Open a handle to an Arn Object with a unique uuid name. More... | |
bool | openUuidPipe (const QString &path) |
Open a handle to an Arn Pipe Object with a unique uuid name. More... | |
bool | openFolder (const QString &path) |
Open a handle to an Arn folder. More... | |
bool | isFolder () const |
bool | isProvider () const |
Arn::DataType | type () const |
The type stored in the Arn Data Object More... | |
void | setIgnoreSameValue (bool isIgnore=true) |
Set skipping assignment of equal value. More... | |
bool | isIgnoreSameValue () |
void | addMode (Arn::ObjectMode mode) |
Add general mode settings for this Arn Data Object More... | |
Arn::ObjectMode | getMode () const |
Arn::ObjectSyncMode | syncMode () const |
ArnItem & | setTemplate (bool isTemplate=true) |
Mark this ArnItem as a template. More... | |
bool | isTemplate () const |
ArnItem & | setBiDirMode () |
Set general mode as Bidirectional for this Arn Data Object More... | |
bool | isBiDirMode () const |
ArnItem & | setPipeMode () |
Set general mode as Pipe for this Arn Data Object More... | |
bool | isPipeMode () const |
ArnItem & | setSaveMode () |
Set general mode as Save for this Arn Data Object More... | |
bool | isSaveMode () const |
ArnItem & | setMaster () |
Set client session sync mode as Master for this ArnItem. More... | |
bool | isMaster () const |
ArnItem & | setAutoDestroy () |
Set client session sync mode as AutoDestroy for this ArnItem. More... | |
bool | isAutoDestroy () const |
void | setUncrossed (bool isUncrossed=true) |
Set a Bidirectional item as Uncrossed. More... | |
bool | isUncrossed () const |
Get the Uncrossed state of an object. More... | |
void | setBlockEcho (bool blockEcho=true) |
Control echo cancellation for this item. More... | |
void | setDelay (int delay) |
Set delay of data changed signal. More... | |
int | delay () const |
Get delay of data changed signal. More... | |
bool | isDelayPending () const |
void | bypassDelayPending () |
void | arnImport (const QByteArray &data, int ignoreSame=Arn::SameValue::DefaultAction) |
Import data to an Arn Data Object More... | |
QByteArray | arnExport () const |
int | toInt (bool *isOk=arnNullptr) const |
double | toDouble (bool *isOk=arnNullptr) const |
ARNREAL | toReal (bool *isOk=arnNullptr) const |
bool | toBool (bool *isOk=arnNullptr) const |
QString | toString (bool *isOk=arnNullptr) const |
QByteArray | toByteArray (bool *isOk=arnNullptr) const |
QVariant | toVariant (bool *isOk=arnNullptr) const |
uint | toUInt (bool *isOk=arnNullptr) const |
qint64 | toInt64 (bool *isOk=arnNullptr) const |
quint64 | toUInt64 (bool *isOk=arnNullptr) const |
ArnItem & | operator= (const ArnItem &other) |
ArnItem & | operator= (int val) |
ArnItem & | operator= (ARNREAL other) |
ArnItem & | operator= (const QString &val) |
ArnItem & | operator= (const QByteArray &val) |
ArnItem & | operator= (const QVariant &val) |
ArnItem & | operator= (const char *val) |
ArnItem & | operator= (uint val) |
ArnItem & | operator= (qint64 val) |
ArnItem & | operator= (quint64 val) |
ArnItem & | operator+= (int val) |
ArnItem & | operator+= (ARNREAL val) |
void | setValue (const ArnItem &other, int ignoreSame=Arn::SameValue::DefaultAction) |
Assign the value of an other ArnItem to an Arn Data Object More... | |
void | setValue (uint value, int ignoreSame=Arn::SameValue::DefaultAction) |
Assign an unsigned int to an Arn Data Object More... | |
void | setValue (qint64 value, int ignoreSame=Arn::SameValue::DefaultAction) |
Assign an int 64 bit to an Arn Data Object More... | |
void | setValue (quint64 value, int ignoreSame=Arn::SameValue::DefaultAction) |
Assign an unsigned int 64 bit to an Arn Data Object More... | |
void | setValue (int value, int ignoreSame) |
Assign an integer to an Arn Data Object More... | |
void | setValue (double value, int ignoreSame) |
Assign an ARNREAL to an Arn Data Object More... | |
void | setValue (bool value, int ignoreSame) |
Assign a bool to an Arn Data Object More... | |
void | setValue (const QString &value, int ignoreSame) |
Assign a QString to an Arn Data Object More... | |
void | setValue (const QByteArray &value, int ignoreSame) |
Assign a QByteArray to an Arn Data Object More... | |
void | setValue (const QVariant &value, int ignoreSame) |
Assign a QVariant to an Arn Data Object More... | |
void | setValue (const char *value, int ignoreSame) |
Assign a char* to an Arn Data Object More... | |
void | setBits (int mask, int value, int ignoreSame=Arn::SameValue::DefaultAction) |
AtomicOp assign an integer to specified bits in an Arn Data Object More... | |
void | addValue (int value) |
AtomicOp adds an integer to an Arn Data Object More... | |
void | addValue (ARNREAL value) |
AtomicOp adds an ARNREAL to an Arn Data Object More... | |
![]() | |
ArnItemB (QObject *parent=arnNullptr) | |
Standard constructor of a closed handle. More... | |
virtual | ~ArnItemB () |
bool | open (const QString &path) |
Open a handle to an Arn Data Object More... | |
![]() | |
ArnBasicItem () | |
Standard constructor of a closed handle. More... | |
virtual | ~ArnBasicItem () |
bool | open (const QString &path) |
Open a handle to an Arn Data Object More... | |
void | close () |
Close the handle. More... | |
void | destroyLink (bool isGlobal=true) |
Destroy the Arn Data Object More... | |
void | destroyLinkLocal () |
Destroy the local Arn Data Object More... | |
bool | isOpen () const |
State of the handle. More... | |
QString | path (Arn::NameF nameF=Arn::NameF::EmptyOk) const |
Path of the Arn Data Object More... | |
QString | name (Arn::NameF nameF) const |
Name of the Arn Data Object More... | |
void | setReference (void *reference) |
Set an associated external reference. More... | |
void * | reference () const |
Get the stored external reference. More... | |
uint | itemId () const |
Get the id for this ArnItem. More... | |
uint | linkId () const |
Get the id for this Arn Data Object More... | |
int | refCount () const |
Get the number of refs to this Arn Data Object More... | |
bool | isFolder () const |
bool | isProvider () const |
Arn::DataType | type () const |
The type stored in the Arn Data Object More... | |
void | setIgnoreSameValue (bool isIgnore=true) |
Set skipping of equal value. More... | |
bool | isIgnoreSameValue () const |
void | addMode (Arn::ObjectMode mode) |
Add general mode settings for this Arn Data Object More... | |
Arn::ObjectMode | getMode () const |
Use with care, link must be "referenced" before use, otherwise it might have been deleted. More... | |
Arn::ObjectSyncMode | syncMode () const |
ArnBasicItem & | setBiDirMode () |
Set general mode as Bidirectional for this Arn Data Object More... | |
bool | isBiDirMode () const |
ArnBasicItem & | setPipeMode () |
Set general mode as Pipe for this Arn Data Object More... | |
bool | isPipeMode () const |
ArnBasicItem & | setSaveMode () |
Set general mode as Save for this Arn Data Object More... | |
bool | isSaveMode () const |
void | setAtomicOpProvider () |
Set this Arn Data Object as Atomic Operator Provider More... | |
bool | isAtomicOpProvider () const |
ArnBasicItem & | setMaster () |
Set client session sync mode as Master for this ArnItem. More... | |
bool | isMaster () const |
ArnBasicItem & | setAutoDestroy () |
Set client session sync mode as AutoDestroy for this ArnItem. More... | |
bool | isAutoDestroy () const |
void | arnImport (const QByteArray &data, int ignoreSame=Arn::SameValue::DefaultAction) |
Import data to an Arn Data Object More... | |
QByteArray | arnExport () const |
int | toInt (bool *isOk=arnNullptr) const |
double | toDouble (bool *isOk=arnNullptr) const |
ARNREAL | toReal (bool *isOk=arnNullptr) const |
QString | toString (bool *isOk=arnNullptr) const |
QByteArray | toByteArray (bool *isOk=arnNullptr) const |
QVariant | toVariant (bool *isOk=arnNullptr) const |
bool | toBool (bool *isOk=arnNullptr) const |
uint | toUInt (bool *isOk=arnNullptr) const |
qint64 | toInt64 (bool *isOk=arnNullptr) const |
quint64 | toUInt64 (bool *isOk=arnNullptr) const |
ArnBasicItem & | operator= (const ArnBasicItem &other) |
ArnBasicItem & | operator= (int val) |
ArnBasicItem & | operator= (ARNREAL val) |
ArnBasicItem & | operator= (const QString &val) |
ArnBasicItem & | operator= (const QByteArray &val) |
ArnBasicItem & | operator= (const QVariant &val) |
ArnBasicItem & | operator= (const char *val) |
ArnBasicItem & | operator= (uint val) |
ArnBasicItem & | operator= (qint64 val) |
ArnBasicItem & | operator= (quint64 val) |
ArnBasicItem & | operator+= (int val) |
ArnBasicItem & | operator+= (ARNREAL val) |
void | setValue (const ArnBasicItem &other, int ignoreSame=Arn::SameValue::DefaultAction) |
void | setValue (int value, int ignoreSame=Arn::SameValue::DefaultAction) |
Assign an integer to an Arn Data Object More... | |
void | setValue (ARNREAL value, int ignoreSame=Arn::SameValue::DefaultAction) |
Assign an ARNREAL to an Arn Data Object More... | |
void | setValue (bool value, int ignoreSame=Arn::SameValue::DefaultAction) |
Assign a bool to an Arn Data Object More... | |
void | setValue (const QString &value, int ignoreSame=Arn::SameValue::DefaultAction) |
Assign a QString to an Arn Data Object More... | |
void | setValue (const QByteArray &value, int ignoreSame=Arn::SameValue::DefaultAction) |
Assign a QByteArray to an Arn Data Object More... | |
void | setValue (const QVariant &value, int ignoreSame=Arn::SameValue::DefaultAction) |
Assign a QVariant to an Arn Data Object More... | |
void | setValue (const char *value, int ignoreSame=Arn::SameValue::DefaultAction) |
Assign a char* to an Arn Data Object More... | |
void | setValue (uint value, int ignoreSame=Arn::SameValue::DefaultAction) |
Assign an unsigned int to an Arn Data Object More... | |
void | setValue (qint64 value, int ignoreSame=Arn::SameValue::DefaultAction) |
Assign an int 64 bit to an Arn Data Object More... | |
void | setValue (quint64 value, int ignoreSame=Arn::SameValue::DefaultAction) |
Assign an unsigned int 64 bit to an Arn Data Object More... | |
void | setBits (int mask, int value, int ignoreSame=Arn::SameValue::DefaultAction) |
AtomicOp assign an integer to specified bits in an Arn Data Object More... | |
void | addValue (int value) |
AtomicOp adds an integer to an Arn Data Object More... | |
void | addValue (ARNREAL value) |
AtomicOp adds an ARNREAL to an Arn Data Object More... | |
QThread * | thread () const |
Get the thread affinity of this ArnBasicItem. More... | |
void | setEventHandler (QObject *eventHandler) |
Set event handler for this ArnBasicItem. More... | |
QObject * | eventHandler () const |
Get the event handler of this ArnBasicItem. More... | |
void | setUncrossed (bool isUncrossed=true) |
Set a Bidirectional item as Uncrossed. More... | |
bool | isUncrossed () const |
Get the Uncrossed state of an object. More... | |
bool | isAssigning () const |
Tells if this ArnItem is assigned right now. More... | |
![]() | |
ArnCoreItem () | |
Standard constructor of a closed handle. More... | |
virtual | ~ArnCoreItem () |
QThread * | thread () const |
Get the thread affinity of this ArnCoreItem. More... | |
Handle for an Arn Data Object.
See ArnBasicItem.
When opening an ArnItem to an Arn Data object, the ArnItem act as a handle (pointer) to the object. There can be any amount of ArnItem:s opened (pointing) to the same Arn Data object. Deleting the ArnItem won't effect the Arn Data object.
This class is not thread-safe, but the Arn Data object is, so each thread should have it's own handles i.e ArnItem instances.
Example usage
Definition at line 72 of file ArnItem.hpp.
ArnItem::ArnItem | ( | QObject * | parent = arnNullptr | ) |
Standard constructor of a closed handle.
[in] | parent |
Definition at line 109 of file ArnItem.cpp.
ArnItem::ArnItem | ( | const QString & | path, |
QObject * | parent = arnNullptr |
||
) |
Construction of a handle to a path.
[in] | path | The Arn Data Object path e.g. "//Measure/Water/Level/value" |
[in] | parent |
Definition at line 116 of file ArnItem.cpp.
ArnItem::ArnItem | ( | const ArnItem & | itemTemplate, |
const QString & | path, | ||
QObject * | parent = arnNullptr |
||
) |
Construction of a handle to a path with a template for modes
[in] | itemTemplate | The template for setting modes |
[in] | path | The Arn Data Object path e.g. "//Measure/Water/Level/value" |
[in] | parent |
Definition at line 124 of file ArnItem.cpp.
|
virtual |
Definition at line 545 of file ArnItem.cpp.
|
inline |
Add general mode settings for this Arn Data Object
If this ArnItem is in closed state, the added modes will be stored and the real mode change is done when this ArnItem is opened to an Arn Data Object. This implies that ArnItems can benefit from setting modes before opening.
[in] | mode | The modes to be added. |
Definition at line 159 of file ArnItem.hpp.
|
inline |
AtomicOp adds an integer to an Arn Data Object
Operation is done atomicly. If bidir, it can also be done remotely by an AtomicOpProvider
[in] | value | to be added to this Arn Data Object |
Definition at line 548 of file ArnItem.hpp.
|
inline |
AtomicOp adds an ARNREAL to an Arn Data Object
Operation is done atomicly. If bidir, it can also be done remotely by an AtomicOpProvider
[in] | value | to be added to this Arn Data Object |
Definition at line 557 of file ArnItem.hpp.
|
inline |
Definition at line 345 of file ArnItem.hpp.
|
inline |
Import data to an Arn Data Object
Data blob from a previos arnExport()
can be imported. This is essentially assigning the Arn Data Object with same as exported.
[in] | data | is the data blob |
[in] | ignoreSame | can override default ignoreSameValue setting. |
Definition at line 339 of file ArnItem.hpp.
|
signal |
Signal emitted when an Arn Data Object is created in the tree below.
The ArnItem is a folder. Created objects in this folder or its children will give this signal. Only created non folder objects will give this signal.
[in] | path | to the created Arn Data Object |
|
signal |
Signal emitted when an Arn Data Object in the tree below has a general mode change.
The ArnItem is a folder. Objects changing general mode in this folder or its children will give this signal.
[in] | path | to the general mode changing Arn Data Object |
[in] | linkId | for the general mode changing Arn Data Object |
[in] | mode | is the new general mode |
void ArnItem::bypassDelayPending | ( | ) |
For delay pending, immediately signal changed If the changed signal is pending in a delay, the changed signal is immediately emitted and the delay is canceled. Otherwise nothing is done.
Definition at line 228 of file ArnItem.cpp.
|
signal |
Signals emitted when data in Arn Data Object is changed.
Only the connected (used) signals are emitted for efficiency. When using pipes with queued connection to a slot, it's strongly advised to use the signal that carries the updated data. Otherwise some stream data can be lost and other will be doubled, because reading is done late in the slot.
changed(...) is using connectNotify & disconnectNotify. Must be updated if new types are added
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
int ArnItem::delay | ( | ) | const |
Get delay of data changed signal.
Read current value of the delay.
Definition at line 210 of file ArnItem.cpp.
|
inline |
Definition at line 166 of file ArnItem.hpp.
|
inline |
true | if AutoDestroy mode |
Definition at line 264 of file ArnItem.hpp.
|
inline |
true | if Bidirectional |
Definition at line 203 of file ArnItem.hpp.
bool ArnItem::isDelayPending | ( | ) | const |
Delay pending status
true | if the Arn Data Object is changed, but the changed signal is pending in a delay. |
Definition at line 220 of file ArnItem.cpp.
|
inline |
true | if this ArnItem is a folder |
Definition at line 122 of file ArnItem.hpp.
|
inline |
true | if skipping equal values |
Definition at line 147 of file ArnItem.hpp.
|
inline |
true | if Master mode |
Definition at line 251 of file ArnItem.hpp.
|
inline |
true | if Pipe mode |
Definition at line 219 of file ArnItem.hpp.
|
inline |
true | if this ArnItem is a provider |
Definition at line 129 of file ArnItem.hpp.
|
inline |
true | if Save mode |
Definition at line 236 of file ArnItem.hpp.
bool ArnItem::isTemplate | ( | ) | const |
true | if this is a template |
Definition at line 191 of file ArnItem.cpp.
|
inline |
Get the Uncrossed state of an object.
true | if Uncrossed is set or Arn Data Object is not in Bidirectional mode. |
Definition at line 285 of file ArnItem.hpp.
|
signal |
|
inline |
Open a handle to an Arn folder.
[in] | path | The Arn folder path e.g. "//Measure/Water" (the / is appended) |
false | if error |
Definition at line 117 of file ArnItem.hpp.
|
inline |
Open a handle to an Arn Object with a unique uuid name.
[in] | path | The prefix for Arn uuid path e.g. "//Names/name" |
false | if error |
Definition at line 103 of file ArnItem.hpp.
|
inline |
Open a handle to an Arn Pipe Object with a unique uuid name.
[in] | path | The prefix for Arn uuid pipe path e.g. "//Pipes/pipe" |
false | if error |
Definition at line 110 of file ArnItem.hpp.
ArnItem & ArnItem::operator+= | ( | int | val | ) |
Definition at line 306 of file ArnItem.cpp.
Definition at line 313 of file ArnItem.cpp.
Definition at line 236 of file ArnItem.cpp.
ArnItem & ArnItem::operator= | ( | int | val | ) |
Definition at line 243 of file ArnItem.cpp.
Definition at line 250 of file ArnItem.cpp.
ArnItem & ArnItem::operator= | ( | const QString & | val | ) |
Definition at line 257 of file ArnItem.cpp.
ArnItem & ArnItem::operator= | ( | const QByteArray & | val | ) |
Definition at line 264 of file ArnItem.cpp.
ArnItem & ArnItem::operator= | ( | const QVariant & | val | ) |
Definition at line 299 of file ArnItem.cpp.
ArnItem & ArnItem::operator= | ( | const char * | val | ) |
Definition at line 271 of file ArnItem.cpp.
ArnItem & ArnItem::operator= | ( | uint | val | ) |
Definition at line 278 of file ArnItem.cpp.
ArnItem & ArnItem::operator= | ( | qint64 | val | ) |
Definition at line 285 of file ArnItem.cpp.
ArnItem & ArnItem::operator= | ( | quint64 | val | ) |
Definition at line 292 of file ArnItem.cpp.
|
inline |
Set client session sync mode as AutoDestroy for this ArnItem.
This ArnItem at client side is setup for auto destruction.
Definition at line 258 of file ArnItem.hpp.
|
inline |
Set general mode as Bidirectional for this Arn Data Object
A two way object, typically for validation or pipe
Definition at line 195 of file ArnItem.hpp.
|
inline |
AtomicOp assign an integer to specified bits in an Arn Data Object
Operation is done atomicly. If bidir, it can also be done remotely by an AtomicOpProvider
[in] | mask | to specify bits that is affected |
[in] | value | to be assigned to affected bits |
[in] | ignoreSame | can override default ignoreSameValue setting. |
Definition at line 539 of file ArnItem.hpp.
|
inline |
Control echo cancellation for this item.
When an ArnObject is changed via this item, the changed() signal on this item can be blocked.
[in] | blockEcho | if true echo is blocked. |
Definition at line 293 of file ArnItem.hpp.
void ArnItem::setDelay | ( | int | delay | ) |
Set delay of data changed signal.
Normally any change of the Arn Data Object is immediately signalled. By setting this delay, intensive updates gives predictive and fewer signals. Signalling will not be faster than delay as period time. The latency from a change to a signal will not be more than delay.
[in] | delay | in ms. |
Definition at line 199 of file ArnItem.cpp.
|
inline |
Set skipping assignment of equal value.
[in] | isIgnore | If true, assignment of equal value don't give a changed signal. |
Definition at line 141 of file ArnItem.hpp.
|
inline |
|
inline |
Set general mode as Pipe for this Arn Data Object
Implies Bidir.
Definition at line 211 of file ArnItem.hpp.
|
inline |
Set general mode as Save for this Arn Data Object
Data is persistent and will be saved
Definition at line 228 of file ArnItem.hpp.
ArnItem & ArnItem::setTemplate | ( | bool | isTemplate = true | ) |
Mark this ArnItem as a template.
When marked as a template it can be setup with a combination of modes which are used for other ArnItems using this template. The effected modes can be both general modes and sync modes.
[in] | isTemplate | True for template mode. |
Definition at line 182 of file ArnItem.cpp.
|
inline |
Set a Bidirectional item as Uncrossed.
The two way object is not twisted at writes, i.e. exactly the same object is read and written. This has no effect on an Arn Data Object that not is in Bidirectional mode.
Definition at line 275 of file ArnItem.hpp.
|
inline |
Assign the value of an other ArnItem to an Arn Data Object
[in] | other | is the ArnItem containing the value to assign |
[in] | ignoreSame | can override default ignoreSameValue setting. |
Definition at line 440 of file ArnItem.hpp.
|
inline |
Assign an unsigned int to an Arn Data Object
[in] | value | to be assigned |
[in] | ignoreSame | can override default ignoreSameValue setting. |
Definition at line 449 of file ArnItem.hpp.
|
inline |
Assign an int 64 bit to an Arn Data Object
[in] | value | to be assigned |
[in] | ignoreSame | can override default ignoreSameValue setting. |
Definition at line 458 of file ArnItem.hpp.
|
inline |
Assign an unsigned int 64 bit to an Arn Data Object
[in] | value | to be assigned |
[in] | ignoreSame | can override default ignoreSameValue setting. |
Definition at line 467 of file ArnItem.hpp.
|
inline |
Assign an integer to an Arn Data Object
[in] | value | to be assigned |
[in] | ignoreSame | can override default ignoreSameValue setting. |
Definition at line 475 of file ArnItem.hpp.
|
inline |
Assign an ARNREAL to an Arn Data Object
[in] | value | to be assigned |
[in] | ignoreSame | can override default ignoreSameValue setting. |
Definition at line 486 of file ArnItem.hpp.
|
inline |
Assign a bool to an Arn Data Object
[in] | value | to be assigned |
[in] | ignoreSame | can override default ignoreSameValue setting. |
Definition at line 495 of file ArnItem.hpp.
|
inline |
Assign a QString to an Arn Data Object
[in] | value | to be assigned |
[in] | ignoreSame | can override default ignoreSameValue setting. |
Definition at line 503 of file ArnItem.hpp.
|
inline |
Assign a QByteArray to an Arn Data Object
[in] | value | to be assigned |
[in] | ignoreSame | can override default ignoreSameValue setting. |
Definition at line 511 of file ArnItem.hpp.
|
inline |
Assign a QVariant to an Arn Data Object
[in] | value | to be assigned |
[in] | ignoreSame | can override default ignoreSameValue setting. |
Definition at line 519 of file ArnItem.hpp.
|
inline |
Assign a char* to an Arn Data Object
[in] | value | to be assigned |
[in] | ignoreSame | can override default ignoreSameValue setting. |
Definition at line 527 of file ArnItem.hpp.
|
inlineslot |
Assign an integer to an Arn Data Object
[in] | value | to be assigned |
Definition at line 565 of file ArnItem.hpp.
|
inlineslot |
Assign an ARNREAL to an Arn Data Object
[in] | value | to be assigned |
Definition at line 575 of file ArnItem.hpp.
|
inlineslot |
Assign a bool to an Arn Data Object
[in] | value | to be assigned |
Definition at line 583 of file ArnItem.hpp.
|
inlineslot |
Assign a QString to an Arn Data Object
[in] | value | to be assigned |
Definition at line 590 of file ArnItem.hpp.
|
inlineslot |
Assign a QByteArray to an Arn Data Object
[in] | value | to be assigned |
Definition at line 597 of file ArnItem.hpp.
|
inlineslot |
Assign a QVariant to an Arn Data Object
[in] | value | to be assigned |
Definition at line 604 of file ArnItem.hpp.
|
inlineslot |
Assign a char* to an Arn Data Object
[in] | value | to be assigned |
Definition at line 611 of file ArnItem.hpp.
|
inline |
Definition at line 172 of file ArnItem.hpp.
|
inline |
[out] | isOk | If not 0 when a conversion error occurs, *isOk is set to false, otherwise *isOk is set to true. |
Definition at line 373 of file ArnItem.hpp.
|
inline |
[out] | isOk | If not 0 when a conversion error occurs, *isOk is set to false, otherwise *isOk is set to true. |
Definition at line 387 of file ArnItem.hpp.
|
inline |
[out] | isOk | If not 0 when a conversion error occurs, *isOk is set to false, otherwise *isOk is set to true. |
Definition at line 359 of file ArnItem.hpp.
|
slot |
Toggle the bool at the Arn Data Object
The Arn Data Object is first converted to a bool, then the toggled value is assigned back to the Arn Data Object.
Definition at line 320 of file ArnItem.cpp.
|
inline |
[out] | isOk | If not 0 when a conversion error occurs, *isOk is set to false, otherwise *isOk is set to true. |
Definition at line 352 of file ArnItem.hpp.
|
inline |
[out] | isOk | If not 0 when a conversion error occurs, *isOk is set to false, otherwise *isOk is set to true. |
Definition at line 410 of file ArnItem.hpp.
|
inline |
[out] | isOk | If not 0 when a conversion error occurs, *isOk is set to false, otherwise *isOk is set to true. |
Definition at line 366 of file ArnItem.hpp.
|
inline |
[out] | isOk | If not 0 when a conversion error occurs, *isOk is set to false, otherwise *isOk is set to true. |
Definition at line 380 of file ArnItem.hpp.
|
inline |
[out] | isOk | If not 0 when a conversion error occurs, *isOk is set to false, otherwise *isOk is set to true. |
Definition at line 402 of file ArnItem.hpp.
|
inline |
[out] | isOk | If not 0 when a conversion error occurs, *isOk is set to false, otherwise *isOk is set to true. |
Definition at line 418 of file ArnItem.hpp.
|
inline |
[out] | isOk | If not 0 when a conversion error occurs, *isOk is set to false, otherwise *isOk is set to true. |
Definition at line 394 of file ArnItem.hpp.
|
inline |
The type stored in the Arn Data Object
Definition at line 135 of file ArnItem.hpp.