smartmontools SVN Rev 3317
Utility to control and monitor storage systems with "S.M.A.R.T."
Public Member Functions | Private Member Functions | Private Attributes
raw_buffer Class Reference

#include <utility.h>

Collaboration diagram for raw_buffer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 raw_buffer (unsigned sz, unsigned char val=0)
 ~raw_buffer ()
unsigned size () const
unsigned char * data ()
const unsigned char * data () const

Private Member Functions

 raw_buffer (const raw_buffer &)
void operator= (const raw_buffer &)

Private Attributes

unsigned char * m_data
unsigned m_size

Detailed Description

Definition at line 192 of file utility.h.


Constructor & Destructor Documentation

raw_buffer::raw_buffer ( unsigned  sz,
unsigned char  val = 0 
) [inline, explicit]

Definition at line 195 of file utility.h.

raw_buffer::~raw_buffer ( ) [inline]

Definition at line 200 of file utility.h.

raw_buffer::raw_buffer ( const raw_buffer ) [private]

Member Function Documentation

unsigned char* raw_buffer::data ( ) [inline]

Definition at line 206 of file utility.h.

const unsigned char* raw_buffer::data ( ) const [inline]

Definition at line 208 of file utility.h.

void raw_buffer::operator= ( const raw_buffer ) [private]
unsigned raw_buffer::size ( ) const [inline]

Definition at line 203 of file utility.h.


Member Data Documentation

unsigned char* raw_buffer::m_data [private]

Definition at line 212 of file utility.h.

unsigned raw_buffer::m_size [private]

Definition at line 213 of file utility.h.


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