mockpp::ResponseVector6< R, P1, P2, P3, P4, P5, P6 > Class Template Reference

Class returning a throwable depending on the parameters passed to a method. More...

Inheritance diagram for mockpp::ResponseVector6< R, P1, P2, P3, P4, P5, P6 >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ResponseVector6 (const String &aName, VerifiableList *parent)
 Construct a new empty vector.
void add (Throwable *throwable, const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5, const P6 &p6, unsigned count)
 Adds a throwable.
void add (Throwable *throwable, const ConstraintHolder< P1 > &p1, const ConstraintHolder< P2 > &p2, const ConstraintHolder< P3 > &p3, const ConstraintHolder< P4 > &p4, const ConstraintHolder< P5 > &p5, const ConstraintHolder< P6 > &p6, unsigned count)
 Adds a throwable.
void add (const R &r, const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5, const P6 &p6, unsigned count)
 Adds a return value.
void add (const R &r, const ConstraintHolder< P1 > &p1, const ConstraintHolder< P2 > &p2, const ConstraintHolder< P3 > &p3, const ConstraintHolder< P4 > &p4, const ConstraintHolder< P5 > &p5, const ConstraintHolder< P6 > &p6, unsigned count)
 Adds a return value.
void reset ()
 Removes all the objects from the list.
bool find (Throwable *&throwable, const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5, const P6 &p6)
 Finds a throwable for a set of parameters.
bool find (R &r, const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5, const P6 &p6)
 Finds a return value for a set of parameters.

Detailed Description

template<typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6>
class mockpp::ResponseVector6< R, P1, P2, P3, P4, P5, P6 >

Class returning a throwable depending on the parameters passed to a method.

Definition at line 203 of file ResponseVector6.h.


Constructor & Destructor Documentation

template<typename R , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 >
mockpp::ResponseVector6< R, P1, P2, P3, P4, P5, P6 >::ResponseVector6 ( const String aName,
VerifiableList parent 
) [inline]

Construct a new empty vector.

Parameters:
aName Label used to identify vector
parent parent verifiable

Definition at line 211 of file ResponseVector6.h.


Member Function Documentation

template<typename R , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 >
void mockpp::ResponseVector6< R, P1, P2, P3, P4, P5, P6 >::add ( const R &  r,
const ConstraintHolder< P1 > &  p1,
const ConstraintHolder< P2 > &  p2,
const ConstraintHolder< P3 > &  p3,
const ConstraintHolder< P4 > &  p4,
const ConstraintHolder< P5 > &  p5,
const ConstraintHolder< P6 > &  p6,
unsigned  count 
) [inline]

Adds a return value.

Parameters:
r the return value
p1 the parameter 1 upon which to return
p2 the parameter 2 upon which to return
p3 the parameter 3 upon which to return
p4 the parameter 4 upon which to return
p5 the parameter 5 upon which to return
p6 the parameter 6 upon which to return
count the number of times the object may be used

Definition at line 284 of file ResponseVector6.h.

template<typename R , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 >
void mockpp::ResponseVector6< R, P1, P2, P3, P4, P5, P6 >::add ( const R &  r,
const P1 &  p1,
const P2 &  p2,
const P3 &  p3,
const P4 &  p4,
const P5 &  p5,
const P6 &  p6,
unsigned  count 
) [inline]

Adds a return value.

Parameters:
r the return value
p1 the parameter 1 upon which to return
p2 the parameter 2 upon which to return
p3 the parameter 3 upon which to return
p4 the parameter 4 upon which to return
p5 the parameter 5 upon which to return
p6 the parameter 6 upon which to return
count the number of times the object may be used

Definition at line 268 of file ResponseVector6.h.

template<typename R , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 >
void mockpp::ResponseVector6< R, P1, P2, P3, P4, P5, P6 >::add ( Throwable throwable,
const ConstraintHolder< P1 > &  p1,
const ConstraintHolder< P2 > &  p2,
const ConstraintHolder< P3 > &  p3,
const ConstraintHolder< P4 > &  p4,
const ConstraintHolder< P5 > &  p5,
const ConstraintHolder< P6 > &  p6,
unsigned  count 
) [inline]

Adds a throwable.

Parameters:
t the throwable
p1 the parameter 1 upon which to return
p2 the parameter 2 upon which to return
p3 the parameter 3 upon which to return
p4 the parameter 4 upon which to return
p5 the parameter 5 upon which to return
p6 the parameter 6 upon which to return
count the number of times the object may be used

Reimplemented from mockpp::ResponseThrowableVector6< P1, P2, P3, P4, P5, P6 >.

Definition at line 243 of file ResponseVector6.h.

template<typename R , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 >
void mockpp::ResponseVector6< R, P1, P2, P3, P4, P5, P6 >::add ( Throwable throwable,
const P1 &  p1,
const P2 &  p2,
const P3 &  p3,
const P4 &  p4,
const P5 &  p5,
const P6 &  p6,
unsigned  count 
) [inline]

Adds a throwable.

Parameters:
t the throwable
p1 the parameter 1 upon which to return
p2 the parameter 2 upon which to return
p3 the parameter 3 upon which to return
p4 the parameter 4 upon which to return
p5 the parameter 5 upon which to return
p6 the parameter 6 upon which to return
count the number of times the object may be used

Reimplemented from mockpp::ResponseThrowableVector6< P1, P2, P3, P4, P5, P6 >.

Definition at line 225 of file ResponseVector6.h.

template<typename R , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 >
bool mockpp::ResponseVector6< R, P1, P2, P3, P4, P5, P6 >::find ( R &  r,
const P1 &  p1,
const P2 &  p2,
const P3 &  p3,
const P4 &  p4,
const P5 &  p5,
const P6 &  p6 
) [inline]

Finds a return value for a set of parameters.

Parameters:
r the value
p1 the parameter 1 upon which to return
p2 the parameter 2 upon which to return
p3 the parameter 3 upon which to return
p4 the parameter 4 upon which to return
p5 the parameter 5 upon which to return
p6 the parameter 6 upon which to return
Returns:
true: return value found for parameters

Definition at line 324 of file ResponseVector6.h.

template<typename R , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 >
bool mockpp::ResponseVector6< R, P1, P2, P3, P4, P5, P6 >::find ( Throwable *&  throwable,
const P1 &  p1,
const P2 &  p2,
const P3 &  p3,
const P4 &  p4,
const P5 &  p5,
const P6 &  p6 
) [inline]

Finds a throwable for a set of parameters.

Parameters:
t the throwable
p1 the parameter 1 upon which to return
p2 the parameter 2 upon which to return
p3 the parameter 3 upon which to return
p4 the parameter 4 upon which to return
p5 the parameter 5 upon which to return
p6 the parameter 6 upon which to return
Returns:
true: throwable found for parameters

Reimplemented from mockpp::ResponseThrowableVector6< P1, P2, P3, P4, P5, P6 >.

Definition at line 306 of file ResponseVector6.h.


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

Generated on Tue Jan 5 09:49:15 2010 for mockpp by  doxygen 1.6.1