Internal structure: use to store a numbering, a variable or a version. More...
Public Member Functions | |
| Variable (NSStruct::VariableType type=NSStruct::V_None) | |
| Constructor. | |
| bool | isDate () const |
| returns true if this is a date | |
| std::string | getDateFormat () const |
| returns the date format | |
Public Attributes | |
| int | m_type |
| the main type | |
| NSStruct::VariableType | m_containerType |
| the container type | |
| long | m_fieldType |
| the variable type | |
| int | m_refId |
| the reference id | |
| libmwaw::NumberingType | m_numberingType |
| the numbering type | |
| int | m_startNumber |
| the start number | |
| int | m_increment |
| the increment | |
| std::string | m_prefix |
| the prefix | |
| std::string | m_suffix |
| the suffix | |
| int | m_dateFormat |
| the date format | |
| std::string | m_sample |
| a sample used in a dialog ? | |
| std::string | m_extra |
| some extra debuging information | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, Variable const &num) |
| operator<< | |
Internal structure: use to store a numbering, a variable or a version.
| NSParserInternal::Variable::Variable | ( | NSStruct::VariableType | type = NSStruct::V_None | ) | [inline] |
Constructor.
| std::string NSParserInternal::Variable::getDateFormat | ( | ) | const [inline] |
returns the date format
Referenced by NSParser::readVariable().
| bool NSParserInternal::Variable::isDate | ( | ) | const [inline] |
returns true if this is a date
Referenced by getDateFormat().
| std::ostream& operator<< | ( | std::ostream & | o, |
| Variable const & | num | ||
| ) | [friend] |
operator<<
the container type
Referenced by NSParserInternal::operator<<(), and NSParser::readVariable().
the date format
Referenced by getDateFormat(), NSParserInternal::operator<<(), and NSParser::readVariable().
| std::string NSParserInternal::Variable::m_extra |
some extra debuging information
Referenced by NSParserInternal::operator<<().
the variable type
Referenced by isDate(), NSParserInternal::operator<<(), and NSParser::readVariable().
the increment
Referenced by NSParser::getReferenceData(), NSParserInternal::operator<<(), and NSParser::readVariable().
the numbering type
Referenced by NSParserInternal::operator<<(), and NSParser::readVariable().
| std::string NSParserInternal::Variable::m_prefix |
the prefix
Referenced by NSParser::getReferenceData(), NSParserInternal::operator<<(), and NSParser::readVariable().
the reference id
Referenced by NSParser::getReferenceData(), NSParserInternal::operator<<(), and NSParser::readVariable().
| std::string NSParserInternal::Variable::m_sample |
a sample used in a dialog ?
Referenced by NSParserInternal::operator<<(), and NSParser::readVariable().
the start number
Referenced by NSParserInternal::operator<<(), and NSParser::readVariable().
| std::string NSParserInternal::Variable::m_suffix |
the suffix
Referenced by NSParser::getReferenceData(), NSParserInternal::operator<<(), and NSParser::readVariable().
the main type
Referenced by NSParser::getReferenceData(), NSParserInternal::operator<<(), and NSParser::readVariable().