VisitMock Class Reference

Inheritance diagram for VisitMock:
Inheritance graph
[legend]
Collaboration diagram for VisitMock:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 VisitMock ()
 MOCKPP_VOID_VISITABLE_EXT1 (VisitMock, open, const MOCKPP_STL::string &, ext, MOCKPP_STL::string)
 MOCKPP_VISITABLE0 (VisitMock, MOCKPP_STL::string, read)
 MOCKPP_VOID_VISITABLE_EXT1 (VisitMock, write, const MOCKPP_STL::string &, ext, MOCKPP_STL::string)
 MOCKPP_VISITABLE_EXT1 (VisitMock, unsigned, calculate, unsigned, unsigned, ext, unsigned)
 MOCKPP_VOID_VISITABLE0 (VisitMock, close)
 VisitMock ()
void open (const MOCKPP_STL::string &filename)
MOCKPP_STL::string read ()
void write (const MOCKPP_STL::string &data)
unsigned calculate (unsigned input)
void write (const MOCKPP_NS::ConstraintHolder< MOCKPP_STL::string > &ch)
void calculate (const MOCKPP_NS::ConstraintHolder< unsigned > &ch)
void close ()

Public Attributes

MOCKPP_NS::VisitableMockMethod
< void, MOCKPP_STL::string > 
open_mocker
MOCKPP_NS::VisitableMockMethod
< MOCKPP_STL::string > 
read_mocker
MOCKPP_NS::VisitableMockMethod
< void, MOCKPP_STL::string > 
write_mocker
MOCKPP_NS::VisitableMockMethod
< void > 
close_mocker
MOCKPP_NS::VisitableMockMethod
< unsigned, unsigned > 
calculate_mocker

Detailed Description

Definition at line 27 of file visitmock.cpp.


Constructor & Destructor Documentation

VisitMock::VisitMock (  )  [inline]
VisitMock::VisitMock (  )  [inline]

Definition at line 33 of file visitmock2.cpp.

References MOCKPP_NS, and MOCKPP_PCHAR.


Member Function Documentation

void VisitMock::calculate ( const MOCKPP_NS::ConstraintHolder< unsigned > &  ch  )  [inline]

Definition at line 67 of file visitmock2.cpp.

References calculate_mocker.

unsigned VisitMock::calculate ( unsigned  input  )  [inline, virtual]

Implements Interface.

Definition at line 57 of file visitmock2.cpp.

References calculate_mocker.

Referenced by main().

void VisitMock::close (  )  [inline, virtual]

Implements Interface.

Definition at line 72 of file visitmock2.cpp.

References close_mocker.

Referenced by main().

VisitMock::MOCKPP_VISITABLE0 ( VisitMock  ,
MOCKPP_STL::string  ,
read   
)
VisitMock::MOCKPP_VISITABLE_EXT1 ( VisitMock  ,
unsigned  ,
calculate  ,
unsigned  ,
unsigned  ,
ext  ,
unsigned   
)
VisitMock::MOCKPP_VOID_VISITABLE0 ( VisitMock  ,
close   
)
VisitMock::MOCKPP_VOID_VISITABLE_EXT1 ( VisitMock  ,
write  ,
const MOCKPP_STL::string &  ,
ext  ,
MOCKPP_STL::string   
)
VisitMock::MOCKPP_VOID_VISITABLE_EXT1 ( VisitMock  ,
open  ,
const MOCKPP_STL::string &  ,
ext  ,
MOCKPP_STL::string   
)
void VisitMock::open ( const MOCKPP_STL::string &  filename  )  [inline, virtual]

Implements Interface.

Definition at line 42 of file visitmock2.cpp.

References open_mocker.

Referenced by main().

MOCKPP_STL::string VisitMock::read (  )  [inline, virtual]

Implements Interface.

Definition at line 47 of file visitmock2.cpp.

References read_mocker.

Referenced by main().

void VisitMock::write ( const MOCKPP_NS::ConstraintHolder< MOCKPP_STL::string > &  ch  )  [inline]

Definition at line 62 of file visitmock2.cpp.

References write_mocker.

void VisitMock::write ( const MOCKPP_STL::string &  data  )  [inline, virtual]

Implements Interface.

Definition at line 52 of file visitmock2.cpp.

References write_mocker.

Referenced by main().


Member Data Documentation

MOCKPP_NS::VisitableMockMethod<unsigned, unsigned> VisitMock::calculate_mocker

Definition at line 81 of file visitmock2.cpp.

Referenced by calculate(), and main().

MOCKPP_NS::VisitableMockMethod<void> VisitMock::close_mocker

Definition at line 80 of file visitmock2.cpp.

Referenced by close().

MOCKPP_NS::VisitableMockMethod<void, MOCKPP_STL::string> VisitMock::open_mocker

Definition at line 77 of file visitmock2.cpp.

Referenced by open().

MOCKPP_NS::VisitableMockMethod<MOCKPP_STL::string> VisitMock::read_mocker

Definition at line 78 of file visitmock2.cpp.

Referenced by main(), and read().

MOCKPP_NS::VisitableMockMethod<void, MOCKPP_STL::string> VisitMock::write_mocker

Definition at line 79 of file visitmock2.cpp.

Referenced by write().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines

Generated on Tue Jan 5 18:03:33 2010 for mockpp-tutorial by  doxygen 1.6.1