Public member functions documentation
- void fromString(std::string str)
- Constructs the field from the string.
- Parameters
- str
- The string to assign from.
- virtual int length() const =0
- Gets the string length.
- Returns
- The string length in bytes for non-national, char for national.
- NzaeStringField(std::string str)
- Constructs a string field with value str.
- Parameters
- str
- The value.
- NzaeStringField(NzaeStringField &field)
- Constructs a string field with value field.
- Parameters
- NzaeStringField field
- The field name.
- The field argument may be a different type.
- NzaeStringField()
- Constructs a NULL string field.
- operator std::string &()
- Returns the string value.
- Returns
- The string value.
- NzaeStringField& operator=(NzaeField &field)
- Assigns the value of the argument to the field object.
- Parameters
- NzaeField field
- The field to assign.
- Returns
- NzaeStringField field
- The field argument may be a different type.
- NzaeStringField& operator=(NzaeStringField &field)
- Assigns the value of the argument to the field object.
- Parameters
- NzaeField field
- The field to assign.
- Returns
- NzaeStringField field
- The field argument may be a different type.
- NzaeStringField& operator=(std::string str)
- Assigns the value of the argument to the field object.
- Parameters
- str
- The value to assign.
- Returns
- NzaeStringField
- std::string toString() const
- Returns the string representation of field.
- Returns
- The string representation
- virtual NzaeDataTypes::Types type() const =0
- Returns the type of the field.
- Returns
- Types
- The field type.