MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
Namespaces | Classes | Typedefs | Functions
util Namespace Reference

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.
 

Detailed Description

Parser, tokenizer, timer, smart pointer, threads, etc.

Typedef Documentation

◆ AlignedMemory

template<typename T , size_t ALIGNMENT = 16>
using util::AlignedMemory = typedef std::vector<T, AlignedAllocator<T, ALIGNMENT> >

Definition at line 22 of file aligned_memory.h.

Function Documentation

◆ parse_ini()

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.

◆ write_ini()

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.