Internal: a field of a MDWParser. More...
Public Member Functions | |
Field (MWAWField::Type type=MWAWField::None) | |
constructor | |
bool | ok () const |
return true is the field is defined | |
MWAWField | getField () const |
Public Attributes | |
MWAWField::Type | m_type |
the field type | |
Vec2i | m_pos |
the field position: x position in point, y position in line (-1: means no field ) | |
std::string | m_extra |
extra data | |
Friends | |
std::ostream & | operator<< (std::ostream &o, Field const &field) |
operator<< |
Internal: a field of a MDWParser.
MDWParserInternal::Field::Field | ( | MWAWField::Type | type = MWAWField::None | ) | [inline] |
constructor
MWAWField MDWParserInternal::Field::getField | ( | ) | const [inline] |
bool MDWParserInternal::Field::ok | ( | ) | const [inline] |
return true is the field is defined
std::ostream& operator<< | ( | std::ostream & | o, |
Field const & | field | ||
) | [friend] |
operator<<
std::string MDWParserInternal::Field::m_extra |
extra data
Referenced by MDWParser::readHeadingFields().
the field position: x position in point, y position in line (-1: means no field )
Referenced by ok(), and MDWParser::readHeadingFields().
the field type
Referenced by getField(), and ok().