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 |
Definition at line 27 of file visitmock.cpp.
VisitMock::VisitMock | ( | ) | [inline] |
Definition at line 32 of file visitmock.cpp.
References MOCKPP_CONSTRUCT_MEMBERS_FOR_VISITABLE0, MOCKPP_CONSTRUCT_MEMBERS_FOR_VISITABLE_EXT1, MOCKPP_CONSTRUCT_MEMBERS_FOR_VOID_VISITABLE0, MOCKPP_CONSTRUCT_MEMBERS_FOR_VOID_VISITABLE_EXT1, MOCKPP_NS, and MOCKPP_PCHAR.
VisitMock::VisitMock | ( | ) | [inline] |
Definition at line 33 of file visitmock2.cpp.
References MOCKPP_NS, and MOCKPP_PCHAR.
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().
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.
MOCKPP_NS::VisitableMockMethod<void, MOCKPP_STL::string> VisitMock::write_mocker |
Definition at line 79 of file visitmock2.cpp.
Referenced by write().