Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals

MRAmp Class Reference

#include <MRAmp.h>

Inheritance diagram for MRAmp:

Inheritance graph
[legend]
Collaboration diagram for MRAmp:

Collaboration graph
[legend]

Public Member Functions

MRAmpcopy (const MRAmp &)
 MRAmp (const MRAmpEncode &mpenc)
 MRAmp (const MRAmp &)
 MRAmp ()
MRAmpoperator= (const MRAmp &)
 ~MRAmp ()

Constructor & Destructor Documentation

MRAmp::MRAmp  ) 
 

Definition at line 36 of file MRAmp.h.

00036 : MRAmpBase( new Buffer ) {}

MRAmp::MRAmp const MRAmp  ) 
 

Definition at line 39 of file MRAmp.h.

00040   : MRAmpBase( mp , new Buffer( *dynamic_cast<Buffer*>(mp._ptbuffer) ) )
00041 {}

MRAmp::MRAmp const MRAmpEncode mpenc  ) 
 

Definition at line 44 of file MRAmp.h.

00044 : MRAmpBase( mpenc, new Buffer ) {}

MRAmp::~MRAmp  ) 
 

Definition at line 47 of file MRAmp.h.

00048 {
00049 //   if ( _ptbuffer != 0 ) { delete _ptbuffer; _ptbuffer = 0; }
00050 }


Member Function Documentation

MRAmp & MRAmp::copy const MRAmp  ) 
 

Definition at line 53 of file MRAmp.h.

References MRAmpBase._ptbuffer, and MRAmpBase.copy().

Referenced by operator=().

00054 {
00055 //   dynamic_cast<MRAmpBase&>(this) 
00056 //     = dynamic_cast<MRAmpBase&>(mp);
00057 
00058 //   MRAmpBase::copy(mp);
00059    if ( _ptbuffer != 0 ) { delete _ptbuffer; _ptbuffer = 0; }
00060    _ptbuffer = new Buffer( *dynamic_cast<Buffer*>(mp._ptbuffer) );
00061    MRAmpBase::copy(mp);
00062 
00063    return *this;
00064 }

MRAmp & MRAmp::operator= const MRAmp  ) 
 

Definition at line 67 of file MRAmp.h.

References copy().

00067 { return copy(rhs); }


The documentation for this class was generated from the following file:
Generated on Mon May 31 21:41:25 2004 for SR2k4 Assembler by doxygen 1.3.6