29 #ifndef __casadbus_ptr_h__
30 #define __casadbus_ptr_h__
37 template <
class T>
class cptr {
55 return std::string(buf);
73 bool isNull( )
const {
return val == 0 ?
true :
false; }
75 bool eq( T *x )
const {
return val == x; }
98 using memory::operator==;
const T * operator->() const
friend bool operator==(const cptr< X > &, X *)
kernel(const kernel &other)
std::string state() const
void operator=(const kernel &other)
bool operator==(const cptr< T > &l, T *r)
unsigned int count() const
const cptr< T > & operator=(T *&optr)
const cptr< T > & operator=(const cptr< T > &other)
const T & operator*() const