CRBufExample Class Reference

List of all members.

Public Member Functions

 ~CRBufExample ()
void CreateRBufL ()
void CreateRBufFromExistingDesL ()
void CreateRBufFromHBufCL ()
void CreateRBufFromAllocatedMemoryL ()
void CreateRBufFromAnotherRBufL ()
void CreateRBufUsingRReadStreamL ()
void SwapTwoRBufsL ()
void CopyDataUsingAssignmentOperatorL ()
void ReallocateAndFreeTheMemoryBufferL ()
void ReplaceAndModifyTheDataL ()
void CleanUpRulesL ()

Static Public Member Functions

static CRBufExampleNewL ()

Detailed Description

This class demonstrates:

Definition at line 49 of file rbufexample.h.


Constructor & Destructor Documentation

CRBufExample::~CRBufExample (  ) 

Destructor

Definition at line 71 of file rbufexample.cpp.


Member Function Documentation

CRBufExample * CRBufExample::NewL (  )  [static]

Allocates and constructs a CRBufExample object.

Returns:
A CRBufExample object.

Definition at line 80 of file rbufexample.cpp.

void CRBufExample::CreateRBufL (  ) 

Creates an empty resizable buffer descriptor using Create() and CreateMax().

Definition at line 92 of file rbufexample.cpp.

void CRBufExample::CreateRBufFromExistingDesL (  ) 

Creates a resizable buffer descriptor with data copied from another descriptor.

Definition at line 158 of file rbufexample.cpp.

void CRBufExample::CreateRBufFromHBufCL (  ) 

Creates a resizable buffer descriptor by assigning data from an HBufC.

Definition at line 175 of file rbufexample.cpp.

void CRBufExample::CreateRBufFromAllocatedMemoryL (  ) 

Creates a resizable buffer descriptor RBuf from some previously allocated memory.

Definition at line 280 of file rbufexample.cpp.

void CRBufExample::CreateRBufFromAnotherRBufL (  ) 

Creates a resizable buffer descriptor from another RBuf.

Definition at line 199 of file rbufexample.cpp.

void CRBufExample::CreateRBufUsingRReadStreamL (  ) 

Creates a resizable buffer descriptor by reading data from an RReadStream.

Definition at line 224 of file rbufexample.cpp.

void CRBufExample::SwapTwoRBufsL (  ) 

Swaps the contents of two resizable buffer descriptors.

Definition at line 304 of file rbufexample.cpp.

void CRBufExample::CopyDataUsingAssignmentOperatorL (  ) 

Copies data using the assignment operator from one descriptor to another

Definition at line 355 of file rbufexample.cpp.

void CRBufExample::ReallocateAndFreeTheMemoryBufferL (  ) 

Reallocates and frees the resizable buffer descriptor.

Definition at line 394 of file rbufexample.cpp.

void CRBufExample::ReplaceAndModifyTheDataL (  ) 

Replaces and modifies a portion of the data present in an RBuf.

Definition at line 452 of file rbufexample.cpp.

void CRBufExample::CleanUpRulesL (  ) 

Demonstrates cleanup for resizable buffer descriptors.

Definition at line 503 of file rbufexample.cpp.


Generated by  doxygen 1.6.2