11 #ifndef DBUSCXX_PATH_H
12 #define DBUSCXX_PATH_H
21 class Path:
public std::string {
25 Path(
const std::string& s, size_type pos = 0, size_type n =
npos );
29 Path(
const char* s, size_type n );
31 Path( size_type n,
char c );
33 template<
class InputIterator>
34 Path( InputIterator first, InputIterator last ): std::string( first, last ) { }
38 operator bool()
const;
Represents a DBus Path.
Definition: path.h:21
std::vector< std::string > decomposed() const
Decomposes the string into its component elements.
Definition: path.cpp:56
~Path()
Definition: path.cpp:33
bool is_valid() const
Definition: path.cpp:40
Path()
Definition: path.cpp:14
bool append_element(const std::string &element)
Adds the element string to the path ensuring delimeters are properly taken care of.
Definition: path.cpp:87
Path(InputIterator first, InputIterator last)
Definition: path.h:34
Global DBus namespace, where everything happens.
Definition: callmessage.cpp:18
const Signature::size_type npos
Definition: signature.cpp:18