///
bool getBool() const;
///
- float getFloat() const;
+ double getFloat() const;
///
std::string const getString() const;
///
bool eatLine();
- ///
- int findToken(char const * str[]);
/// Pushes a token list on a stack and replaces it with a new one.
void pushTable(keyword_item *, int);
/// extract string
LyXLex & operator>>(std::string &);
- /// extract float
- LyXLex & operator>>(float &);
/// extract double
LyXLex & operator>>(double &);
/// extract integer
LyXLex & operator>>(bool &);
private:
- struct Pimpl;
+ class Pimpl;
///
Pimpl * pimpl_;
};
exceptions.
@author Lgb
*/
-struct pushpophelper {
+class pushpophelper {
+public:
///
pushpophelper(LyXLex & lexrc, keyword_item * i, int s) : lex(lexrc) {
lex.pushTable(i, s);