dbus-cxx logo
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
DBus::Signature Class Reference

#include <signature.h>

Public Types

typedef SignatureIterator iterator
typedef const SignatureIterator const_iterator
typedef std::string::size_type size_type

Public Member Functions

 Signature ()
 Signature (const std::string &s, size_type pos=0, size_type n=npos)
 Signature (const char *)
 Signature (const char *s, size_type n)
 Signature (size_type n, char c)
template<class InputIterator >
 Signature (InputIterator first, InputIterator last)
 ~Signature ()
 operator const std::string & () const
const std::string & str () const
Signatureoperator= (const std::string &s)
Signatureoperator= (const char *s)
bool operator== (const std::string &s) const
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
bool is_valid () const
 True if the signature is a valid DBus signature.
bool is_singleton () const
 True if the signature is a valid DBus signature and contains exactly one complete type.

Static Public Attributes

static const size_type npos = std::string::npos

Protected Attributes

std::string m_signature

Detailed Description

Rick L Vinyard Jr rviny.nosp@m.ard@.nosp@m.cs.nm.nosp@m.su.e.nosp@m.du

Member Typedef Documentation

typedef std::string::size_type DBus::Signature::size_type

Constructor & Destructor Documentation

DBus::Signature::Signature ( )
DBus::Signature::Signature ( const std::string &  s,
size_type  pos = 0,
size_type  n = npos 
DBus::Signature::Signature ( const char *  s)
DBus::Signature::Signature ( const char *  s,
size_type  n 
DBus::Signature::Signature ( size_type  n,
char  c 
template<class InputIterator >
DBus::Signature::Signature ( InputIterator  first,
InputIterator  last 
DBus::Signature::~Signature ( )

Member Function Documentation

Signature::iterator DBus::Signature::begin ( )

References m_signature.

Signature::const_iterator DBus::Signature::begin ( ) const

References m_signature.

Signature::iterator DBus::Signature::end ( )
Signature::const_iterator DBus::Signature::end ( ) const
bool DBus::Signature::is_singleton ( ) const

True if the signature is a valid DBus signature and contains exactly one complete type.

References m_signature.

bool DBus::Signature::is_valid ( ) const

True if the signature is a valid DBus signature.

References m_signature.

DBus::Signature::operator const std::string & ( ) const
Signature & DBus::Signature::operator= ( const std::string &  s)

References m_signature.

Signature & DBus::Signature::operator= ( const char *  s)

References m_signature.

bool DBus::Signature::operator== ( const std::string &  s) const

References m_signature.

const std::string & DBus::Signature::str ( ) const

References m_signature.

Referenced by operator<<().

Member Data Documentation

std::string DBus::Signature::m_signature
const size_type DBus::Signature::npos = std::string::npos

The documentation for this class was generated from the following files:

Generated on Sat Sep 21 2013 17:22:40 for dbus-cxx by doxygen