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

MRAmspec Class Reference

#include <MRAmspec.h>

Collaboration diagram for MRAmspec:

Collaboration graph
[legend]

Public Member Functions

MRAmspeccopy (const MRAmspec &)
int dim ()
bool is_equal (const MRAmspec &)
 MRAmspec (const MRAmrange &mthis, const MRAmrange &mexist, const MRAmrange &mtheory)
 MRAmspec (int dim=0)
 MRAmspec (const MRAmspec &)
bool operator!= (const MRAmspec &rhs)
MRAmspecoperator() (const MRAmrange &mthis, const MRAmrange &mexist, const MRAmrange &mtheory)
MRAmspecoperator() (int dim=0)
MRAmspecoperator() (const MRAmspec &)
MRAmspecoperator<< (BufferBase &)
MRAmspecoperator= (const MRAmspec &)
bool operator== (const MRAmspec &rhs)
MRAmspecoperator>> (BufferBase &)
void read (ostream &)
void read (BufferBase &)
void report (ostream &os=cout)
void set_dim (int)
int sizeb ()
void write (istream &)
void write (BufferBase &)

Data Fields

MRAmrange mexist
MRAmrange mtheory
MRAmrange mthis

Protected Attributes

int _dim

Friends

ostream & operator<< (ostream &, MRAmspec &)
BufferBaseoperator<< (BufferBase &, MRAmspec &)
istream & operator>> (istream &, MRAmspec &)
BufferBaseoperator>> (BufferBase &, MRAmspec &)

Constructor & Destructor Documentation

MRAmspec::MRAmspec const MRAmspec  ) 
 

Definition at line 76 of file MRAmspec.h.

00077   : mthis(mspec.mthis), mexist(mspec.mexist), mtheory(mspec.mtheory),
00078     _dim(mspec._dim)
00079 {}

MRAmspec::MRAmspec int  dim = 0  ) 
 

Definition at line 82 of file MRAmspec.h.

00083   : mthis(dim), mexist(dim), mtheory(dim), 
00084     _dim(dim)
00085 {}

MRAmspec::MRAmspec const MRAmrange mthis,
const MRAmrange mexist,
const MRAmrange mtheory
 

Definition at line 88 of file MRAmspec.h.

References MRAmrange.dim(), and mthis.

00090   : mthis(mthis0), mexist(mexist0), mtheory(mtheory0)
00091 {
00092    _dim = mthis.dim();
00093 }


Member Function Documentation

MRAmspec & MRAmspec::copy const MRAmspec  ) 
 

Definition at line 96 of file MRAmspec.h.

References _dim, mexist, mtheory, and mthis.

Referenced by operator=().

00097 {
00098    mthis = mspec.mthis;
00099    mexist = mspec.mexist;
00100    mtheory = mspec.mtheory;
00101    _dim = mspec._dim;
00102    return *this;
00103 }

int MRAmspec::dim  ) 
 

Definition at line 166 of file MRAmspec.h.

00166 { return _dim; }

bool MRAmspec::is_equal const MRAmspec  ) 
 

Definition at line 141 of file MRAmspec.h.

References _dim, mexist, mtheory, and mthis.

Referenced by operator!=(), and operator==().

00142 {
00143    if ( mthis != mspec.mthis ) return false;
00144    if ( mexist != mspec.mexist ) return false;
00145    if ( mtheory != mspec.mtheory ) return false;
00146    if ( _dim != mspec._dim ) return false;
00147    return true;
00148 }

bool MRAmspec::operator!= const MRAmspec rhs  ) 
 

Definition at line 154 of file MRAmspec.h.

References is_equal().

00154 { return !is_equal(rhs); }

MRAmspec & MRAmspec::operator() const MRAmrange mthis,
const MRAmrange mexist,
const MRAmrange mtheory
 

Definition at line 129 of file MRAmspec.h.

References MRAmrange.dim(), mexist, mtheory, and mthis.

00132 { 
00133    mthis = mthis0;
00134    mexist = mexist0;
00135    mtheory = mtheory0;
00136    _dim = mthis.dim();
00137    return *this;
00138 }

MRAmspec & MRAmspec::operator() int  dim = 0  ) 
 

Definition at line 119 of file MRAmspec.h.

References mexist, mtheory, and mthis.

00120 { 
00121    mthis(dim); 
00122    mexist(dim); 
00123    mtheory(dim); 
00124    _dim = dim;
00125    return *this; 
00126 }

MRAmspec & MRAmspec::operator() const MRAmspec  ) 
 

Definition at line 109 of file MRAmspec.h.

References _dim, mexist, mtheory, and mthis.

00110 { 
00111    mthis = mspec.mthis; 
00112    mexist = mspec.mexist; 
00113    mtheory = mspec.mtheory; 
00114    _dim = mspec._dim;
00115    return *this;
00116 }

MRAmspec & MRAmspec::operator<< BufferBase  ) 
 

Definition at line 193 of file MRAmspec.h.

References write().

00194 {
00195    write(buffer);
00196    return *this;
00197 }

MRAmspec & MRAmspec::operator= const MRAmspec  ) 
 

Definition at line 106 of file MRAmspec.h.

References copy().

00106 { return copy(rhs); }

bool MRAmspec::operator== const MRAmspec rhs  ) 
 

Definition at line 151 of file MRAmspec.h.

References is_equal().

00151 { return is_equal(rhs); }

MRAmspec & MRAmspec::operator>> BufferBase  ) 
 

Definition at line 208 of file MRAmspec.h.

References read().

00209 {
00210    read(buffer);
00211    return *this;
00212 }

void MRAmspec::read ostream &   ) 
 

Definition at line 223 of file MRAmspec.h.

References mexist, mtheory, and mthis.

00224 {
00225    os << mthis;
00226    os << mexist;
00227    os << mtheory;
00228 }

void MRAmspec::read BufferBase  ) 
 

Definition at line 200 of file MRAmspec.h.

References mexist, mtheory, and mthis.

Referenced by operator<<(), and operator>>().

00201 {
00202    buffer << mthis;
00203    buffer << mexist;
00204    buffer << mtheory;
00205 }

void MRAmspec::report ostream &  os = cout  ) 
 

Definition at line 172 of file MRAmspec.h.

References mexist, mtheory, mthis, and MRAmrange.report().

Referenced by MCFTPrequest.report(), and MCFTPquote.report().

00172                                    {
00173    os << "MRAmspec::report(){\n";
00174    os << "mthis =\n";
00175    mthis.report();
00176    os << "mexist =\n";
00177    mexist.report();
00178    os << "mtheory =\n";
00179    mtheory.report();
00180    os << "dim = " << _dim << endl;
00181    os << "}\n";
00182 }

void MRAmspec::set_dim int   ) 
 

Definition at line 157 of file MRAmspec.h.

References mexist, mtheory, and mthis.

00158 { 
00159    mthis(dim);
00160    mexist(dim);
00161    mtheory(dim);
00162    _dim = dim;
00163 }

int MRAmspec::sizeb  ) 
 

Definition at line 169 of file MRAmspec.h.

References mexist, mtheory, mthis, and MRAmrange.sizeb().

Referenced by MRAsbBase.hdrsizeb(), MCFTPrequest.sizeb(), and MCFTPquote.sizeb().

00169 { return mthis.sizeb() +mexist.sizeb() +mtheory.sizeb();}

void MRAmspec::write istream &   ) 
 

Definition at line 215 of file MRAmspec.h.

References mexist, mtheory, and mthis.

00216 {
00217    is >> mthis;
00218    is >> mexist;
00219    is >> mtheory;
00220 }

void MRAmspec::write BufferBase  ) 
 

Definition at line 185 of file MRAmspec.h.

References mexist, mtheory, and mthis.

Referenced by operator<<(), and operator>>().

00186 {
00187    buffer >> mthis;
00188    buffer >> mexist;
00189    buffer >> mtheory;
00190 }


Friends And Related Function Documentation

ostream& operator<< ostream &  os,
MRAmspec mspec
[friend]
 

Definition at line 255 of file MRAmspec.h.

00256 {
00257    mspec.read(os);
00258    return os;
00259 }

BufferBase& operator<< BufferBase buffer,
MRAmspec mspec
[friend]
 

Definition at line 241 of file MRAmspec.h.

00242 {
00243    mspec.read(buffer);
00244    return buffer;
00245 }

istream& operator>> istream &  is,
MRAmspec mspec
[friend]
 

Definition at line 248 of file MRAmspec.h.

00249 {
00250    mspec.write(is);
00251    return is;
00252 }

BufferBase& operator>> BufferBase buffer,
MRAmspec mspec
[friend]
 

Definition at line 234 of file MRAmspec.h.

00235 {
00236    mspec.write(buffer);
00237    return buffer;
00238 }


Field Documentation

int MRAmspec._dim [protected]
 

Definition at line 66 of file MRAmspec.h.

Referenced by copy(), is_equal(), and operator()().

MRAmrange MRAmspec.mexist
 

Definition at line 25 of file MRAmspec.h.

Referenced by copy(), is_equal(), MRAsbObject.MRAsbObject(), MRAsbObject.operator()(), operator()(), read(), report(), set_dim(), MRAsbBase.set_mspec(), MCFTPrequest.set_mspec(), MCFTPquote.set_mspec(), sizeb(), MRAsbObject.synchronize(), and write().

MRAmrange MRAmspec.mtheory
 

Definition at line 25 of file MRAmspec.h.

Referenced by copy(), is_equal(), MRAsbObject.MRAsbObject(), MRAsbObject.operator()(), operator()(), read(), report(), set_dim(), MRAsbBase.set_mspec(), MCFTPrequest.set_mspec(), MCFTPquote.set_mspec(), sizeb(), MRAsbObject.synchronize(), and write().

MRAmrange MRAmspec.mthis
 

Definition at line 25 of file MRAmspec.h.

Referenced by MRAsbObject.append(), MRAsbBase.append(), MRAsbBase.copy(), copy(), MRAsbObject.create_clone(), is_equal(), MRAmspec(), MRAsbObject.MRAsbObject(), MRAsbObject.operator()(), operator()(), MCFTPrequest.operator+(), MCFTPquote.operator+(), MCFTPrequest.operator+=(), MCFTPquote.operator+=(), MCFTPrequest.operator-(), MCFTPquote.operator-(), MCFTPrequest.operator-=(), MCFTPquote.operator-=(), read(), report(), set_dim(), MRAsbObject.set_empty(), MRAsbObject.set_mpart(), MRAsbBase.set_mspec(), MCFTPrequest.set_mspec(), MCFTPquote.set_mspec(), sizeb(), MRAsbObject.store(), and write().


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