sprint 1-alpha
Classes | Namespaces | Typedefs | Functions
sprint/archive/simple.h File Reference

implement a simple and lightweight archive file format More...

#include <sprint/sysdef.h>
#include <string>
#include <string.h>
#include <sprint/container/unordered_map.h>
#include <sprint/smart_cast.h>

Go to the source code of this file.

Classes

class  sprint::SimpleTextArchiveOut
 Sequential Archive file output. More...
class  sprint::SimpleTextArchiveIn
 Storage reader. More...

Namespaces

namespace  sprint
 

Sprint is a lightweight c++ library to handle different task with crossplatform attention (trying to compile both on MSVC and Mingw on WIn32 and GCC on Linux.


Typedefs

typedef sprint::unordered_map
< std::string, std::string > 
sprint::SimpleTextArchive
 una semplice coppia chiave valore non ordinata

Functions

bool sprint::LoadSimpleTextArchive (std::vector< std::pair< std::string, std::string > > &s, const char *fileName)
 read a file in format <key>:and put in the vector
bool sprint::SaveSimpleTextArchive (const std::vector< std::pair< std::string, std::string > > &s, const char *fileName)
 save the vector in the file

Detailed Description

implement a simple and lightweight archive file format

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines