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

#include <utility.h>

Collaboration diagram for raw_buffer:
Collaboration graph
[legend]

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 152 of file utility.h.

Constructor & Destructor Documentation

raw_buffer::raw_buffer ( unsigned  sz,
unsigned char  val = 0 
)
inlineexplicit

Definition at line 155 of file utility.h.

raw_buffer::~raw_buffer ( )
inline

Definition at line 160 of file utility.h.

raw_buffer::raw_buffer ( const raw_buffer )
private

Member Function Documentation

unsigned char* raw_buffer::data ( )
inline

Definition at line 166 of file utility.h.

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

Definition at line 168 of file utility.h.

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

Definition at line 163 of file utility.h.

Member Data Documentation

unsigned char* raw_buffer::m_data
private

Definition at line 172 of file utility.h.

unsigned raw_buffer::m_size
private

Definition at line 173 of file utility.h.


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