smartmontools SVN Rev 5618
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 134 of file utility.h.

Constructor & Destructor Documentation

◆ raw_buffer() [1/2]

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

Definition at line 137 of file utility.h.

◆ ~raw_buffer()

raw_buffer::~raw_buffer ( )
inline

Definition at line 142 of file utility.h.

◆ raw_buffer() [2/2]

raw_buffer::raw_buffer ( const raw_buffer )
private

Member Function Documentation

◆ data() [1/2]

unsigned char * raw_buffer::data ( )
inline

Definition at line 148 of file utility.h.

◆ data() [2/2]

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

Definition at line 150 of file utility.h.

◆ operator=()

void raw_buffer::operator= ( const raw_buffer )
private

◆ size()

unsigned raw_buffer::size ( ) const
inline

Definition at line 145 of file utility.h.

Member Data Documentation

◆ m_data

unsigned char* raw_buffer::m_data
private

Definition at line 154 of file utility.h.

◆ m_size

unsigned raw_buffer::m_size
private

Definition at line 155 of file utility.h.


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