blocxx
Public Member Functions | Private Attributes

BLOCXX_NAMESPACE::String::ByteBuf Class Reference

Inheritance diagram for BLOCXX_NAMESPACE::String::ByteBuf:
BLOCXX_NAMESPACE::COWIntrusiveCountableBase

List of all members.

Public Member Functions

 ByteBuf (const char *s)
 ByteBuf (const ByteBuf &arg)
 ByteBuf (AutoPtrVec< char > &s, size_t len)
 ~ByteBuf ()
ByteBufoperator= (const ByteBuf &arg)
size_t length () const
char * data () const
ByteBufclone () const

Private Attributes

size_t m_len
char * m_buf

Detailed Description

Definition at line 93 of file String.cpp.


Constructor & Destructor Documentation

BLOCXX_NAMESPACE::String::ByteBuf::ByteBuf ( const char *  s) [inline]

Definition at line 96 of file String.cpp.

References m_buf.

Referenced by clone().

BLOCXX_NAMESPACE::String::ByteBuf::ByteBuf ( const ByteBuf arg) [inline]

Definition at line 102 of file String.cpp.

References m_buf.

BLOCXX_NAMESPACE::String::ByteBuf::ByteBuf ( AutoPtrVec< char > &  s,
size_t  len 
) [inline]

Definition at line 110 of file String.cpp.

BLOCXX_NAMESPACE::String::ByteBuf::~ByteBuf ( ) [inline]

Definition at line 115 of file String.cpp.

References m_buf.


Member Function Documentation

ByteBuf* BLOCXX_NAMESPACE::String::ByteBuf::clone ( ) const [inline]

Definition at line 129 of file String.cpp.

References ByteBuf().

char* BLOCXX_NAMESPACE::String::ByteBuf::data ( ) const [inline]

Definition at line 128 of file String.cpp.

References m_buf.

size_t BLOCXX_NAMESPACE::String::ByteBuf::length ( ) const [inline]

Definition at line 127 of file String.cpp.

References m_len.

ByteBuf& BLOCXX_NAMESPACE::String::ByteBuf::operator= ( const ByteBuf arg) [inline]

Definition at line 117 of file String.cpp.

References m_buf, and m_len.


Member Data Documentation

Definition at line 132 of file String.cpp.

Referenced by ByteBuf(), data(), operator=(), and ~ByteBuf().

Definition at line 131 of file String.cpp.

Referenced by length(), and operator=().


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