Skip to content

troian/propertypp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ property library

Simple API that may wrap different key/value starges. Property tree is not supported yet

Implemented backends

  • SQLite3

API Reference

class prop;

Pure abstract class has list of API to be implemented by different backends

How to use small example

#include <propertypp/property.hpp>

#include <iostream>
#include <string>
#include <memory>

static const std::string property_file("property.db");

using namespace property;

int main()
{
	sp_property prop;
	try {
		prop = std::make_shared<sqlite>(property_file);
	} catch (const std::exception &e) {
		std::cerr << e.what() << "\n";
		return 1;
	}

	return 0;
}

Tests

About

C++ property library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published