MVE - Multi-View Environment mve-devel
|
Parser, tokenizer, timer, smart pointer, threads, etc. More...
Namespaces | |
namespace | fs |
Cross-platform file system functions. | |
namespace | string |
String conversions and helper functions. | |
namespace | system |
Cross-platform operating system related functions. | |
Classes | |
struct | AlignedAllocator |
Implements the STL allocator interface for aligned memory allocation. More... | |
struct | ArgOption |
A single argument option. More... | |
struct | ArgResult |
An argument which can either be an option or a non-option. More... | |
class | Arguments |
Argument class that provides a parser and convenient access for command line arguments as used by GNU utils. More... | |
class | ClockTimer |
Simple timer class to take execution times. More... | |
class | Exception |
Universal, simple exception class. More... | |
class | FileException |
Exception class for file exceptions with additional filename. More... | |
class | FrameTimer |
A timer class for frame-based applications. More... | |
class | Logging |
class | Tokenizer |
Simple tokenizer. More... | |
class | WallTimer |
Cross-platform high-resolution real-time timer. More... | |
Typedefs | |
template<typename T , size_t ALIGNMENT = 16> | |
using | AlignedMemory = std::vector< T, AlignedAllocator< T, ALIGNMENT > > |
Functions | |
void | parse_ini (std::istream &stream, std::map< std::string, std::string > *map) |
Parses a file in INI format and places key/value pairs in the map. | |
void | write_ini (std::map< std::string, std::string > const &map, std::ostream &stream) |
Writes an INI file for the key/value pairs in the map. | |
Parser, tokenizer, timer, smart pointer, threads, etc.
using util::AlignedMemory = typedef std::vector<T, AlignedAllocator<T, ALIGNMENT> > |
Definition at line 22 of file aligned_memory.h.
void util::parse_ini | ( | std::istream & | stream, |
std::map< std::string, std::string > * | map | ||
) |
Parses a file in INI format and places key/value pairs in the map.
Definition at line 30 of file ini_parser.cc.
void util::write_ini | ( | std::map< std::string, std::string > const & | map, |
std::ostream & | stream | ||
) |
Writes an INI file for the key/value pairs in the map.
Section names are part of the key, separated with a dot from the key.
Definition at line 83 of file ini_parser.cc.