RagTimeTextInternal::Token Struct Reference

Internal: a token of a RagTimeText. More...

Public Types

enum  Type {
  List, Page, PageCount, PageAfter,
  Date, Time, Unknown
}
 the token's types More...
 

Public Member Functions

 Token ()
 constructor More...
 
bool getField (MWAWField &field) const
 returns a field corresponding to the token if possible More...
 
bool getIndicesString (std::string &str) const
 returns a string corresponding to the list indices More...
 

Public Attributes

Type m_type
 the token type More...
 
int m_listLevel
 the list level(for a list) More...
 
int m_listIndices [4]
 the four list indices More...
 
std::string m_DTFormat
 the date time format More...
 
std::string m_extra
 extra data More...
 

Friends

std::ostream & operator<< (std::ostream &o, Token const &tkn)
 operator<< More...
 

Detailed Description

Internal: a token of a RagTimeText.

Member Enumeration Documentation

the token's types

Enumerator
List 
Page 
PageCount 
PageAfter 
Date 
Time 
Unknown 

Constructor & Destructor Documentation

RagTimeTextInternal::Token::Token ( )
inline

constructor

Member Function Documentation

bool RagTimeTextInternal::Token::getField ( MWAWField field) const
inline

returns a field corresponding to the token if possible

bool RagTimeTextInternal::Token::getIndicesString ( std::string &  str) const
inline

returns a string corresponding to the list indices

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
Token const &  tkn 
)
friend

operator<<

Member Data Documentation

std::string RagTimeTextInternal::Token::m_DTFormat

the date time format

Referenced by getField(), and RagTimeText::readTokens().

std::string RagTimeTextInternal::Token::m_extra

extra data

Referenced by RagTimeText::readTokens().

int RagTimeTextInternal::Token::m_listIndices[4]

the four list indices

Referenced by getIndicesString(), RagTimeText::readTokens(), and Token().

int RagTimeTextInternal::Token::m_listLevel

the list level(for a list)

Referenced by getIndicesString(), and RagTimeText::readTokens().

Type RagTimeTextInternal::Token::m_type

the token type

Referenced by getField(), getIndicesString(), and RagTimeText::readTokens().


The documentation for this struct was generated from the following file:

Generated on Thu Jul 9 2015 20:26:42 for libmwaw by doxygen 1.8.8