WeBlob Class Reference

BLOB manipulations. More...

#include <weBlob.h>

Inherits std::vector< unsigned char >.

List of all members.

Public Member Functions

 WeBlob ()
 ~WeBlob ()
 WeBlob (unsigned int cb)
 WeBlob (unsigned char *p, unsigned int cb)
 WeBlob (const WeBlob &b)
 WeBlob (char *s)
void zero ()
void assign (unsigned char *p, unsigned int cb)
void assign (const WeBlob &b)
void assign (char *s)
bool read (istream &file)
bool write (ostream &file)
WeInStreamstream ()
template<class Archive >
void serialize (Archive &ar, const unsigned int version)


Detailed Description

BLOB manipulations.

Specialization of the std::vector to store unstructured data.

Author:
A. Abramov
Date:
27.05.2009
Examples:

tagscanner.cpp.

Definition at line 36 of file weBlob.h.


Constructor & Destructor Documentation

WeBlob::WeBlob (  )  [inline]

Definition at line 39 of file weBlob.h.

WeBlob::~WeBlob (  )  [inline]

Definition at line 40 of file weBlob.h.

WeBlob::WeBlob ( unsigned int  cb  )  [inline]

Definition at line 42 of file weBlob.h.

WeBlob::WeBlob ( unsigned char *  p,
unsigned int  cb 
) [inline]

Definition at line 43 of file weBlob.h.

WeBlob::WeBlob ( const WeBlob b  )  [inline]

Definition at line 45 of file weBlob.h.

WeBlob::WeBlob ( char *  s  )  [inline]

Definition at line 46 of file weBlob.h.


Member Function Documentation

void WeBlob::assign ( char *  s  )  [inline]

Definition at line 52 of file weBlob.h.

void WeBlob::assign ( const WeBlob b  )  [inline]

Definition at line 51 of file weBlob.h.

void WeBlob::assign ( unsigned char *  p,
unsigned int  cb 
) [inline]

Definition at line 49 of file weBlob.h.

bool WeBlob::read ( istream &  file  ) 

Examples:
tagscanner.cpp.

Definition at line 24 of file weBlob.cpp.

template<class Archive >
void WeBlob::serialize ( Archive &  ar,
const unsigned int  version 
) [inline]

Definition at line 56 of file weBlob.cpp.

WeInStream * WeBlob::stream (  ) 

Examples:
tagscanner.cpp.

Definition at line 61 of file weBlob.cpp.

bool WeBlob::write ( ostream &  file  ) 

Definition at line 43 of file weBlob.cpp.

void WeBlob::zero (  )  [inline]

Definition at line 48 of file weBlob.h.


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


 
©2009 Positive Technologies
 
Generated on Tue Jul 14 18:27:31 2009 for WebEngine by 
 
 
1.5.7
 
Get wpcObj at SourceForge.net. Fast, secure and Free Open Source software downloads