Public member functions documentation

void fromString(std::string str)
Constructs the field from the string.
Parameters
str
The string to assign from.
NzaeInt16Field()
Constructs a NULL int16 field.
NzaeInt16Field(NzaeInt16Field &field)
Constructs an int16 field with value field.
Parameters
NzaeInt16Field field
The NzaeInt16Field value.
NzaeInt16Field(int16_t val)
Constructs an int16 field with value val.
Parameters
val
The int16 value.
operator int16_t()
Returns an int16 field value.
Returns
int16 The value.
NzaeInt16Field& operator=(NzaeInt16Field &field)
Assigns the value of the argument to the field object.
Parameters
NzaeInt16Field field
The field to assign.
Returns
NzaeInt16Field
NzaeInt16Field& operator=(NzaeField &field)
Assigns the value of the argument to the field object.
Parameters
NzaeField field
The field to assign.
Returns
NzaeInt16Field
The field argument may be a different type, as long as it is compatible.
NzaeInt16Field& operator=(int16_t val)
Assigns the value of the argument to the field object.
Parameters
val
The value to assign.
Returns
NzaeInt16Field
std::string toString() const
Returns the string representation of the field.
Returns
The string representation.
virtual NzaeDataTypes::Types type() const
Returns the type of the field.
Returns
Types
The field type.