Public member functions documentation
- void fromString(std::string str)
- Constructs the field from the string.
- Parameters
- str
- The string to assign from.
- void fromStringWithInfo(std::string str, int precision, int scale)
- Constructs the field from the string.
- Parameters
- str
- The string to assign from.
- precision
- The precision to use.
- scale
- The scale to use.
- Uses the specified precision scale, not the scale from the string.
- NzaeNumeric128Field(const NzaeNumericField &field)
- Constructs a numeric128 field with value field.
- Parameters
- NzaeNumericField field
- The field.
- The field argument may be a different type.
- NzaeNumeric128Field(int32_t val)
- Constructs a numeric128 field with value val.
- Parameters
- val
- The int32_t value.
- NzaeNumeric128Field()
- Constructs a NULL numeric128.
- NzaeNumeric128Field(const NzaeNumeric128Field &field)
- Constructs a numeric128 field with value field.
- Parameters
- NzaeNumeric128Field field
- The Numeric128 field.
- NzaeNumeric128Field(const NzudsNumeric128 val)
- Constructs a numeric128 field with value val.
- Parameters
- val
- The Numeric128 value.
- This function reorders the digits. Use only with structures coming from serialization.
- NzaeNumeric128Field(double val)
- Constructs a numeric128 field with value val.
- Parameters
- val
- The double value.
- NzaeNumeric128Field(int64_t val)
- Constructs a numeric128 field with value val.
- Parameters
- val
- The int64_t value.
- operator const NzudsNumeric128() const
- Returns a numeric128 value.
- Returns
- The numeric128 value.
- This function reorders the digits. Use only with structures going to serialization.
- operator double() const
- Returns the value converted to a double.
- Returns
- The converted double value.
- operator NzudsNumeric128()
- Returns a numeric128 value.
- Returns
- The numeric128 value.
- This function reorders the digits. Use only with structures going to serialization.
- NzaeNumeric128Field& operator=(const NzaeNumeric128Field &field)
- Assigns the value of the argument to a field object.
- Parameters
- NzaeNumeric128Field field
- The field to assign.
- Returns
- NzaeNumeric128Field
- NzaeNumeric128Field& operator=(const NzudsNumeric128 val)
- Assigns the value of the argument to a field object.
- Parameters
- val
- The value to assign.
- Returns
- NzaeNumeric128Field
- This function reorders the digits. Use only with structures coming from serialization.
- NzaeNumeric128Field& operator=(int32_t val)
- Assigns the value of the argument to a field object.
- Parameters
- val
- The value to assign.
- Returns
- NzaeNumeric128Field
- NzaeNumeric128Field& operator=(const NzaeNumericField &val)
- Assigns the value of the argument to a field object.
- Parameters
- NzaeNumericField val
- The field to assign.
- Returns
- NzaeNumeric128Field
- The field argument may be a different type, as long as it is compatible.
- NzaeNumeric128Field& operator=(double val)
- Assigns the value of the argument to a field object.
- Parameters
- val
- The value to assign.
- Returns
- NzaeNumeric128Field
- NzaeNumeric128Field& operator=(NzaeField &field)
- Assigns the value of the argument to a field object.
- Parameters
- NzaeField field
- The field to assign.
- Returns
- NzaeNumeric128Field
- The field argument may be a different type, as long as it is compatible.
- NzaeNumeric128Field& operator=(int64_t val)
- Assigns the value of the argument to a field object.
- Parameters
- val
- The value to assign.
- Returns
- NzaeNumeric128Field
- 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.