Classes | |
class | Composite |
class | Composite::iterator |
struct | Exc |
A base class for all exceptions libsofu will throw. More... | |
struct | Exc_ReadError |
This is thrown when the stream the library reads from becomes unusable because of an error. More... | |
struct | Exc_UnassignedIterator |
struct | Exc_UnexpectedEndOfFile |
This is thrown when the end of file is reached unexpectedly while parsing. More... | |
struct | Exc_UnsuccessfulRead |
This is thrown when a syntax error occurs while parsing. More... | |
struct | Exc_WrongListElemType |
struct | Exc_WrongPropertyType |
Thrown when trying to access a property with the wrong converter function - value(), list() or composite(). More... | |
class | List |
class | List::iterator |
class | Object |
Abstract base class for nodes of the Sofu parse tree. More... | |
class | Value |
Represents the type "Value" of the Sofu file format. More... | |
Functions | |
void | writeFile (Object *object, const string &filename) |
Writes the parse tree to a file. | |
void | writeStream (Object *object, ostream &file) |
Writes the parse tree to an std::ostream. | |
void | writeString (Object *object, string &str) |
Writes the parse tree to an std::string. | |
Composite * | parseFile (const string &filename) |
Parses a file, creating a parse tree. | |
Composite * | parseStream (istream &file) |
Parses an std::istream, creating a parse tree. |
|
Parses a file, creating a parse tree.
|
|
Parses an std::istream, creating a parse tree.
|
|
Writes the parse tree to a file.
|
|
Writes the parse tree to an std::ostream.
|
|
Writes the parse tree to an std::string.
|