StateFS
 All Classes Files Functions Variables Typedefs Enumerations Groups Pages
Functions | Variables
common_util.cpp File Reference

Miscellaneous Statefs utilities for c++ apps. More...

#include <statefs/util.hpp>
#include <algorithm>
#include <string>
#include <array>
Include dependency graph for common_util.cpp:

Functions

template<class OutputIterator >
void statefs::split (std::string const &src, std::string const &symbols, OutputIterator dst)
 
template<class InIter >
std::string statefs::join (InIter begin, InIter end, std::string const &sep)
 
template<class ContainerT >
std::string statefs::join (ContainerT const &src, std::string const &sep)
 
std::list< std::string > statefs::property_name_parts (std::string const &name)
 
static bool statefs::is_property_path_valid (std::list< std::string > const &parts)
 
std::string statefs::property_path_default (std::string const &)
 
std::string statefs::property_path_in_default (std::string const &)
 

Variables

static const std::string statefs::in_prop_prefix = "@"
 

Detailed Description

Miscellaneous Statefs utilities for c++ apps.

Author
(C) 2013 Jolla Ltd. Denis Zalevskiy denis.nosp@m..zal.nosp@m.evski.nosp@m.y@jo.nosp@m.llamo.nosp@m.bile.nosp@m..com