dxd - dynax driver framework 3.0.1d223
cross platform open source driver development framework
Loading...
Searching...
No Matches
cf::data Class Reference

a byte blob: made from a string, a buffer or a file, compared and copied back out - what a certificate's DER, a descriptor or a property's raw bytes travel in More...

#include <cf_data.h>

Inheritance diagram for cf::data:
Collaboration diagram for cf::data:

Classes

class  iterator

Public Types

typedef std::vector< uint8_t > container

Public Member Functions

iterator begin () const
template<typename data_t>
bool contains (const data_t &data) const
template<typename data_t>
bool contains (data_t *const data, size_t size) const
::CFIndex count () const noexcept
 data (const char *string)
 data (const uint8_t *data, size_t size)
 data (std::ifstream ifstream)
iterator end () const
template<typename data_t>
data & get (data_t &data) const
data & get (uint8_t *data, ::CFIndex size) const
data & get (uint8_t *data, ::CFRange range) const
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
reference & initialize (::CFDataRef cf_object, bool retain=true)
virtual operator bool () const
 operator const uint8_t * () const noexcept
 operator container () const
 operator type<> () const noexcept
bool operator!= (::CFDataRef cf_object) const noexcept
 operator::CFDataRef () const noexcept
 operator::CFTypeID () const noexcept
 operator::CFTypeRef () const noexcept
data & operator<< (std::ifstream &ifstream)
template<typename data_t>
bool operator== (const data_t &data) const
bool operator== (::CFDataRef cf_object) const noexcept
const data & operator>> (std::ostream &ostream) const
reference & release () noexcept
const reference & retain () const noexcept
size_t size () const

Protected Attributes

::CFDataRef cf_object

Detailed Description

a byte blob: made from a string, a buffer or a file, compared and copied back out - what a certificate's DER, a descriptor or a property's raw bytes travel in

Member Typedef Documentation

◆ container

typedef std::vector<uint8_t> cf::data::container

Constructor & Destructor Documentation

◆ data() [1/3]

cf::data::data ( const char * string)
inline

◆ data() [2/3]

cf::data::data ( const uint8_t * data,
size_t size )
inline
Here is the call graph for this function:

◆ data() [3/3]

cf::data::data ( std::ifstream ifstream)
inline

Member Function Documentation

◆ begin()

iterator cf::data::begin ( ) const
inline

◆ contains() [1/2]

template<typename data_t>
bool cf::data::contains ( const data_t & data) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ contains() [2/2]

template<typename data_t>
bool cf::data::contains ( data_t *const data,
size_t size ) const
inline
Here is the call graph for this function:

◆ count()

::CFIndex cf::reference< ::CFDataRef >::count ( ) const
inlinenoexceptinherited

◆ end()

iterator cf::data::end ( ) const
inline

◆ get() [1/3]

template<typename data_t>
data & cf::data::get ( data_t & data) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get() [2/3]

data & cf::data::get ( uint8_t * data,
::CFIndex size ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get() [3/3]

data & cf::data::get ( uint8_t * data,
::CFRange range ) const
inline

◆ id() [1/23]

CFTypeID cf::reference<::CFMutableArrayRef >::id ( )
inlinenoexceptinherited

◆ id() [2/23]

CFTypeID cf::reference<::CFArrayRef >::id ( )
inlinenoexceptinherited

◆ id() [3/23]

CFTypeID cf::reference<::CFBundleRef >::id ( )
inlinenoexceptinherited

◆ id() [4/23]

CFTypeID cf::reference<::CFDataRef >::id ( )
inlinenoexceptinherited

◆ id() [5/23]

CFTypeID cf::reference<::CFMutableDictionaryRef >::id ( )
inlinenoexceptinherited

◆ id() [6/23]

CFTypeID cf::reference<::CFDictionaryRef >::id ( )
inlinenoexceptinherited

◆ id() [7/23]

CFTypeID cf::reference<::CFErrorRef >::id ( )
inlinenoexceptinherited

◆ id() [8/23]

CFTypeID cf::reference<::CFBooleanRef >::id ( )
inlinenoexceptinherited

◆ id() [9/23]

CFTypeID cf::reference<::CFNumberRef >::id ( )
inlinenoexceptinherited

◆ id() [10/23]

CFTypeID cf::reference<::CFRunLoopObserverRef >::id ( )
inlinenoexceptinherited

◆ id() [11/23]

CFTypeID cf::reference<::CFRunLoopSourceRef >::id ( )
inlinenoexceptinherited

◆ id() [12/23]

CFTypeID cf::reference<::CFRunLoopRef >::id ( )
inlinenoexceptinherited

◆ id() [13/23]

CFTypeID cf::reference<::CFReadStreamRef >::id ( )
inlinenoexceptinherited

◆ id() [14/23]

CFTypeID cf::reference<::CFMutableStringRef >::id ( )
inlinenoexceptinherited

◆ id() [15/23]

CFTypeID cf::reference<::CFStringRef >::id ( )
inlinenoexceptinherited

◆ id() [16/23]

CFTypeID cf::reference<::CFURLRef >::id ( )
inlinenoexceptinherited

◆ id() [17/23]

CFTypeID cf::reference<::CFUUIDRef >::id ( )
inlinenoexceptinherited

◆ id() [18/23]

CFTypeID cf::reference<::SCPreferencesRef >::id ( )
inlinenoexceptinherited

◆ id() [19/23]

CFTypeID cf::reference<::SecTrustRef >::id ( )
inlinenoexceptinherited

◆ id() [20/23]

CFTypeID cf::reference<::SecCertificateRef >::id ( )
inlinenoexceptinherited

◆ id() [21/23]

CFTypeID cf::reference<::SecStaticCodeRef >::id ( )
inlinenoexceptinherited

◆ id() [22/23]

CFTypeID cf::reference<::SecCodeRef >::id ( )
inlinenoexceptinherited

◆ id() [23/23]

CFTypeID cf::reference<::SecRequirementRef >::id ( )
inlinenoexceptinherited

◆ initialize()

reference & cf::reference< ::CFDataRef >::initialize ( ::CFDataRef cf_object,
bool retain = true )
inlineinherited

◆ operator bool()

virtual cf::reference< ::CFDataRef >::operator bool ( ) const
inlinevirtualinherited

◆ operator const uint8_t *()

cf::data::operator const uint8_t * ( ) const
inlinenoexcept

◆ operator container()

cf::data::operator container ( ) const
inline
Here is the call graph for this function:

◆ operator type<>()

cf::reference< ::CFDataRef >::operator type<> ( ) const
noexceptinherited

◆ operator!=()

bool cf::reference< ::CFDataRef >::operator!= ( ::CFDataRef cf_object) const
inlinenoexceptinherited

◆ operator::CFDataRef()

cf::reference< ::CFDataRef >::operator ::CFDataRef ( ) const
inlinenoexceptinherited

◆ operator::CFTypeID()

cf::reference< ::CFDataRef >::operator::CFTypeID ( ) const
inlineexplicitnoexceptinherited

◆ operator::CFTypeRef()

cf::reference< ::CFDataRef >::operator::CFTypeRef ( ) const
inlinenoexceptinherited

◆ operator<<()

data & cf::data::operator<< ( std::ifstream & ifstream)
inline
Here is the call graph for this function:

◆ operator==() [1/2]

template<typename data_t>
bool cf::data::operator== ( const data_t & data) const
inline

◆ operator==() [2/2]

bool cf::reference< ::CFDataRef >::operator== ( ::CFDataRef cf_object) const
inlinenoexceptinherited

◆ operator>>()

const data & cf::data::operator>> ( std::ostream & ostream) const
inline

◆ release()

reference & cf::reference< ::CFDataRef >::release ( )
inlinenoexceptinherited
Here is the caller graph for this function:

◆ retain()

const reference & cf::reference< ::CFDataRef >::retain ( ) const
inlinenoexceptinherited

◆ size()

size_t cf::data::size ( ) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ cf_object

::CFDataRef cf::reference< ::CFDataRef >::cf_object
protectedinherited

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

(c) copyright 2009 dynamic acoustics e.U. generated on

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.