ChainMock Class Reference

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

List of all members.

Public Member Functions

 ChainMock ()
 MOCKPP_VOID_CHAINABLE_EXT1 (ChainMock, open, const MOCKPP_STL::string &, ext, MOCKPP_STL::string)
 MOCKPP_CHAINABLE0 (ChainMock, MOCKPP_STL::string, read)
 MOCKPP_VOID_CHAINABLE_EXT1 (ChainMock, write, const MOCKPP_STL::string &, ext, MOCKPP_STL::string)
 MOCKPP_CHAINABLE_EXT1 (ChainMock, unsigned, calculate, unsigned, unsigned, ext, unsigned)
 MOCKPP_VOID_CHAINABLE0 (ChainMock, close)
 ChainMock ()
void open (const MOCKPP_STL::string &filename)
MOCKPP_STL::string read ()
void write (const MOCKPP_STL::string &data)
unsigned calculate (unsigned input)
void close ()

Public Attributes

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

Detailed Description

Definition at line 37 of file chainmock.cpp.


Constructor & Destructor Documentation

ChainMock::ChainMock (  )  [inline]
ChainMock::ChainMock (  )  [inline]

Definition at line 33 of file chainmock2.cpp.

References MOCKPP_NS, and MOCKPP_PCHAR.


Member Function Documentation

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

Implements Interface.

Definition at line 57 of file chainmock2.cpp.

References calculate_mocker.

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

Implements Interface.

Definition at line 62 of file chainmock2.cpp.

References close_mocker.

ChainMock::MOCKPP_CHAINABLE0 ( ChainMock  ,
MOCKPP_STL::string  ,
read   
)
ChainMock::MOCKPP_CHAINABLE_EXT1 ( ChainMock  ,
unsigned  ,
calculate  ,
unsigned  ,
unsigned  ,
ext  ,
unsigned   
)
ChainMock::MOCKPP_VOID_CHAINABLE0 ( ChainMock  ,
close   
)
ChainMock::MOCKPP_VOID_CHAINABLE_EXT1 ( ChainMock  ,
write  ,
const MOCKPP_STL::string &  ,
ext  ,
MOCKPP_STL::string   
)
ChainMock::MOCKPP_VOID_CHAINABLE_EXT1 ( ChainMock  ,
open  ,
const MOCKPP_STL::string &  ,
ext  ,
MOCKPP_STL::string   
)
void ChainMock::open ( const MOCKPP_STL::string &  filename  )  [inline, virtual]

Implements Interface.

Definition at line 42 of file chainmock2.cpp.

References open_mocker.

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

Implements Interface.

Definition at line 47 of file chainmock2.cpp.

References read_mocker.

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

Implements Interface.

Definition at line 52 of file chainmock2.cpp.

References write_mocker.


Member Data Documentation

MOCKPP_NS::ChainableMockMethod<unsigned, unsigned> ChainMock::calculate_mocker

Definition at line 71 of file chainmock2.cpp.

Referenced by calculate(), and main().

MOCKPP_NS::ChainableMockMethod<void> ChainMock::close_mocker

Definition at line 70 of file chainmock2.cpp.

Referenced by close(), and main().

MOCKPP_NS::ChainableMockMethod<void, MOCKPP_STL::string> ChainMock::open_mocker

Definition at line 67 of file chainmock2.cpp.

Referenced by main(), and open().

MOCKPP_NS::ChainableMockMethod<MOCKPP_STL::string> ChainMock::read_mocker

Definition at line 68 of file chainmock2.cpp.

Referenced by main(), and read().

MOCKPP_NS::ChainableMockMethod<void, MOCKPP_STL::string> ChainMock::write_mocker

Definition at line 69 of file chainmock2.cpp.

Referenced by main(), and 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