|
Isis Developer Reference
|
Go to the documentation of this file.
97 void Load(std::istream &stream,
const QString &terminator =
"END");
QString ReadToParen(std::istream &stream)
Definition: PvlTokenizer.cpp:353
QString ReadToSingleQuote(std::istream &stream)
Definition: PvlTokenizer.cpp:315
void Load(std::istream &stream, const QString &terminator="END")
Loads the Token list from a stream.
Definition: PvlTokenizer.cpp:48
QString KeywordValueBad(const QString &key)
This error should be used when a supplied keyword does not appear in the list (e.g....
Definition: KeywordValueBad.cpp:11
void ValidateCharacter(int c)
Make sure a character is valid printable (non-control) character.
Definition: PvlTokenizer.cpp:496
void Clear()
Empties the token list.
Definition: PvlTokenizer.cpp:32
bool SkipWhiteSpace(std::istream &stream)
Skips over whitespace so long as it is not inside quotes.
Definition: PvlTokenizer.cpp:257
QString key() const
Returns the token keyword.
Definition: PvlToken.cpp:49
Container for Keyword-value pair.
Definition: PvlToken.h:38
~PvlTokenizer()
Destroys the Tokenizer object and token list.
Definition: PvlTokenizer.cpp:27
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
std::vector< Isis::PvlToken > tokens
The array of Tokens parse out of the stream.
Definition: PvlTokenizer.h:79
Construct Token list from a stream.
Definition: PvlTokenizer.h:76
std::vector< Isis::PvlToken > & GetTokenList()
Definition: PvlTokenizer.cpp:487
Isis exception class.
Definition: IException.h:91
Namespace for the standard library.
QString ReadToDoubleQuote(std::istream &stream)
Definition: PvlTokenizer.cpp:277
QString MissingDelimiter(const char delimiter)
This error should be used when a delimiter is missing.
Definition: MissingDelimiter.cpp:15
void ParseCommaList(Isis::PvlToken &t, const QString &cl)
This routine parses a QString containing a comma separated list.
Definition: PvlTokenizer.cpp:449
void addValue(const QString &v)
Adds a value to the value-vector.
Definition: PvlToken.cpp:82
PvlTokenizer()
Constructs a Tokenizer with an empty token list.
Definition: PvlTokenizer.cpp:22
QString ReadToBrace(std::istream &stream)
Definition: PvlTokenizer.cpp:397
QString ReadComment(std::istream &stream)
Reads and returns a comment from the stream.
Definition: PvlTokenizer.cpp:205
QString ReadToken(std::istream &stream)
Reads and returns a token from the stream.
Definition: PvlTokenizer.cpp:233
QString keyUpper() const
Returns the token keyword in all uppercase characters.
Definition: PvlToken.cpp:58
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16