PersonRecord Class Reference

#include <PersonRecord.h>

Inherits Record.

Collaboration diagram for PersonRecord:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 PersonRecord (const string &_oStrPersonName, unsigned int _ui32Age)
 PersonRecord (const PersonRecord &_oPersonRecord)
 ~PersonRecord ()
RecordClone () const
void Print () const

Private Attributes

string m_oStrPersonName
unsigned int m_ui32Age


Detailed Description

PersonRecord is the Concrete Prototype

Definition at line 4 of file PersonRecord.h.


Constructor & Destructor Documentation

PersonRecord::PersonRecord ( const string &  _oStrPersonName,
unsigned int  _ui32Age 
) [inline]

Definition at line 12 of file PersonRecord.h.

Referenced by Clone().

Here is the caller graph for this function:

PersonRecord::PersonRecord ( const PersonRecord _oPersonRecord  )  [inline]

Definition at line 18 of file PersonRecord.h.

References m_oStrPersonName, and m_ui32Age.

PersonRecord::~PersonRecord (  )  [inline]

Definition at line 25 of file PersonRecord.h.


Member Function Documentation

Record* PersonRecord::Clone (  )  const [inline, virtual]

Implements Record.

Definition at line 27 of file PersonRecord.h.

References PersonRecord().

Here is the call graph for this function:

void PersonRecord::Print (  )  const [inline, virtual]

Implements Record.

Definition at line 32 of file PersonRecord.h.

References m_oStrPersonName, and m_ui32Age.


Member Data Documentation

Definition at line 7 of file PersonRecord.h.

Referenced by PersonRecord(), and Print().

unsigned int PersonRecord::m_ui32Age [private]

Definition at line 9 of file PersonRecord.h.

Referenced by PersonRecord(), and Print().


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

Generated on Fri Mar 20 12:37:11 2009 for Prototype Design Pattern by  doxygen 1.5.8