syncstream
. More...syncstream
. More...std
:: one, but also provides on-the-fly decompression of bzip2
or gzip
compressed files. More...std::setw
and std::setprecision
manipulator. More...os
. More...os
if set. More...os
. More...os
if set. More...os
. More...os
if set. More...os
. More...os
if set. More...std::list
or a std::vector
). More...std::set
). More...std::map
). More...Formatted streaming with extended IO manipulators and some basic markup support. Binary streaming (two-way syncronization beween memory and disk). Access to the file system, pipes and sockets.
|
|
|
The content of a configuration file is here represented as a tree of strings with a special interpretation. A configuration file usually consists of a sequence of (key, value) assignments. Some configuration files also have sections and subsections. The respresentation is as follows. A branch which has sub-branches is a section named by the node value. If the branch has no sub-branches, it is an assignment. The node value of the branch is the key and the leaves are its values. The tree root is an anonymous section (its node value is an empty string). Empty sections, other than the root, invalidates the tree, and must be removed by the parser or filled with a dummy assignment like '' = ''. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Typesetting languages for output streams.
|
|
|
|
Add a history item to the readline history. If readline was not detected by configure, this function does nothing. |
|
Begin subscript mode if possible.
|
|
Begin superscript mode if possible.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Clear bold face style on
|
|
Clear italic style on
|
|
Clear standout style on
|
|
Clear underline style on
|
|
Copy node srcpath to dstpath. Directories will only be created without copying contents. |
|
Copy node srcpath to dstpath, recursively copying directory contents.
|
|
Create a directory. Returns true iff successful. |
|
Create a directory after first creating all nonexisting parents directories. Returns true iff successful. |
|
Attemts to create a directory with a name starting with name. If it succeeds, returns true and there will be a newly created directory with permissions 0700 (Unix). Otherwise returns false. The directory and its contents will be removed at exit. |
|
|
|
|
|
End subscript mode.
|
|
End superscript mode.
|
|
|
|
|
|
|
|
|
|
|
|
Returns true iff the file at path contains str. This version searches line by line, so str should not contain any newlines. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
True iff the t configuration subtree is an assignment (branch with only leaves).
|
|
True iff the t configuration subtree is a section.
|
|
True iff the t configuration subtree is a value (leaf).
|
|
|
|
|
|
|
|
True if t is a valid configuration tree. Config file parsers should return valid configuration trees, so this is mostly useful for debugging parsers. |
|
Allocates a driver for input from the file with named name, or stdin if name=0.
|
|
|
|
Allocates a driver for output to file named name.
|
|
|
|
Return readline driver for a buffer. A sep is inserted in front of each line, including the first. Reading over these characters causes a prompt. sep is typically a newline, and serve as dummy lookahead character(s) which allows the prompt to be delayed until the program skips over white-spaces for the purpose of reading something. The driver will be free by the buffer. |
|
Return a readline driver for a buffer.
This is the same as the other overload with |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Read config file in key-equal-value-newline format. The top-level branches are appended to t_out. |
|
Read config file in key-space-value-newline format. The top-level branches are appended to t_out. |
|
Prompt the user for input.
Readline is used if it was detected by configure, otherwise the |
|
|
|
Remove a file or a directory. Returns true iff successful. |
|
Calls remove(path) at exit.
|
|
Remove all files in a directory and the directory itself, USE WITH CARE! Returns true iff successful.
|
|
Calls remove_recursive(path) at exit, USE WITH CARE!
|
|
Rename a file or a directory. Returns true iff successful. |
|
|
|
Attempts to reserve a unique file name starting with name. If it succeeds, an empty file with permissions 0600 (Unix) will be created, name is modified to the name of this file and true is returned. Otherwise false is returned. The file will be removed at exit if remove_p=true. If remove_p == true, do not remove the file yourself, as some other application may then reuse the file name and loose its file the file when your program exits! |
|
|
|
If possible set bold face style on
|
|
If possible set italic style on
|
|
If possible set standout style on
|
|
|
|
If possible set underline style on
|
|
|
|
Sync an associative container (like a
|
|
Sync a pair-associative container (like a
|
|
Sync an length iterator range of known length.
|
|
Sync a sequence (like a
|
|
Skip i items of type T.
|
|
|
|
|