FEDEM Solver  R8.0
Source code of the dynamics solver
Namespaces | Functions
FFaParse.H File Reference

Utilities for input file parsing. More...

#include <sstream>
#include <string>
#include <vector>
Include dependency graph for FFaParse.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 FaParse
 Utilities for input file parsing.
 

Functions

bool FaParse::parseFMFASCII (char *keyWord, std::istream &s, std::stringstream &statement, const char start, const char stop)
 Reads a model file record from an input stream. More...
 
int FaParse::findIndex (const char **vocabulary, const char *s)
 Searches for the string s in the list of strings vocabulary. More...
 
std::string FaParse::extractDescription (std::istream &is, const char startChar='"', const char stopChar = '"')
 Extracts a text string between the given start and stop characters. More...
 
bool FaParse::skipToWordOrNum (std::istream &s, const char commentChar)
 Skips until next word or number. More...
 
bool FaParse::skipToWord (std::istream &s, const char commentChar)
 Skips until next word (no number). More...
 
void FaParse::nextLine (std::istream &s, const char commentChar)
 Skips the rest of current line. More...
 
bool FaParse::skipWhiteSpaceAndComments (std::istream &s, bool acceptString=false)
 Skips whitespaces and comments. More...
 
bool FaParse::getKeyword (std::istream &s, std::string &keyWord)
 Skips whitespaces and returns the next (non-numerical) keyword. More...
 

Detailed Description

Utilities for input file parsing.