dxd - dynax driver framework  2675
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dx::cf::string< type_t, exception_t > Class Template Reference

RAII CFString class. More...

#include <dx_mach.h>

+ Inheritance diagram for dx::cf::string< type_t, exception_t >:
+ Collaboration diagram for dx::cf::string< type_t, exception_t >:

Public Types

typedef type_t cftype
 

Public Member Functions

 operator const char * () const noexcept
 
 operator std::string () const noexcept
 
 operator type_t () const noexcept
 
 operator type_t * () noexcept
 
::CFMutableStringRef operator+ (const char *value) const noexcept
 
 operator::CFDataRef () const noexcept
 
 operator::CFStringRef () const noexcept
 
bool operator< (const char *value) throw (exception_t)
 
stringoperator= (const char *value) throw (exception_t)
 
stringoperator= (const std::string &value) throw (exception_t)
 
bool operator== (const char *value) throw (exception_t)
 
bool operator> (const char *value) throw (exception_t)
 
 string (const char *value) throw (exception_t)
 
 string (const std::string &value) throw (exception_t)
 

Protected Attributes

type_t cf_type
 

Detailed Description

template<typename type_t, typename exception_t>
class dx::cf::string< type_t, exception_t >

RAII CFString class.

externally created CFStrings are retained at construction/assignment during object life time and released on destruction/new assignment.

Member Typedef Documentation

typedef type_t dx::cf::reference< type_t >::cftype
inherited

Constructor & Destructor Documentation

template<typename type_t, typename exception_t>
dx::cf::string< type_t, exception_t >::string ( const char *  value)
throw (exception_t
)
inline
template<typename type_t, typename exception_t>
dx::cf::string< type_t, exception_t >::string ( const std::string< type_t, exception_t > &  value)
throw (exception_t
)
inline

Member Function Documentation

template<typename type_t, typename exception_t>
dx::cf::string< type_t, exception_t >::operator const char * ( ) const
inlinenoexcept
template<typename type_t, typename exception_t>
dx::cf::string< type_t, exception_t >::operator std::string ( ) const
inlinenoexcept
dx::cf::reference< type_t >::operator type_t ( ) const
inlinenoexceptinherited
dx::cf::reference< type_t >::operator type_t * ( )
inlinenoexceptinherited
template<typename type_t, typename exception_t>
::CFMutableStringRef dx::cf::string< type_t, exception_t >::operator+ ( const char *  value) const
inlinenoexcept
template<typename type_t, typename exception_t>
dx::cf::string< type_t, exception_t >::operator::CFDataRef ( ) const
inlinenoexcept
template<typename type_t, typename exception_t>
dx::cf::string< type_t, exception_t >::operator::CFStringRef ( ) const
inlinenoexcept
template<typename type_t, typename exception_t>
bool dx::cf::string< type_t, exception_t >::operator< ( const char *  value)
throw (exception_t
)
inline
template<typename type_t, typename exception_t>
string& dx::cf::string< type_t, exception_t >::operator= ( const char *  value)
throw (exception_t
)
inline
template<typename type_t, typename exception_t>
string& dx::cf::string< type_t, exception_t >::operator= ( const std::string< type_t, exception_t > &  value)
throw (exception_t
)
inline
template<typename type_t, typename exception_t>
bool dx::cf::string< type_t, exception_t >::operator== ( const char *  value)
throw (exception_t
)
inline
template<typename type_t, typename exception_t>
bool dx::cf::string< type_t, exception_t >::operator> ( const char *  value)
throw (exception_t
)
inline

Member Data Documentation

type_t dx::cf::reference< type_t >::cf_type
protectedinherited

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

(c) copyright 2009 dynamic acoustics e.U. generated on Tue Dec 4 2018

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.