Class returning a throwable depending on the parameters passed to a method. More...
Public Member Functions | |
ResponseThrowableVector6 (const String &aName, VerifiableList *parent) | |
Construct a new empty vector. | |
virtual | ~ResponseThrowableVector6 () |
Destroys the 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 | 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. | |
Protected Attributes | |
std::vector< Constraint< P1 > * > | t1vec |
shared internal member | |
std::vector< Constraint< P2 > * > | t2vec |
shared internal member | |
std::vector< Constraint< P3 > * > | t3vec |
shared internal member | |
std::vector< Constraint< P4 > * > | t4vec |
shared internal member | |
std::vector< Constraint< P5 > * > | t5vec |
shared internal member | |
std::vector< Constraint< P6 > * > | t6vec |
shared internal member |
Class returning a throwable depending on the parameters passed to a method.
Definition at line 46 of file ResponseVector6.h.
mockpp::ResponseThrowableVector6< P1, P2, P3, P4, P5, P6 >::ResponseThrowableVector6 | ( | const String & | aName, | |
VerifiableList * | parent | |||
) | [inline] |
Construct a new empty vector.
aName | Label used to identify vector | |
parent | parent verifiable |
Definition at line 55 of file ResponseVector6.h.
void mockpp::ResponseThrowableVector6< 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.
throwable | 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 in mockpp::ResponseVector6< R, P1, P2, P3, P4, P5, P6 >.
Definition at line 97 of file ResponseVector6.h.
void mockpp::ResponseThrowableVector6< 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.
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 in mockpp::ResponseVector6< R, P1, P2, P3, P4, P5, P6 >.
Definition at line 76 of file ResponseVector6.h.
bool mockpp::ResponseThrowableVector6< 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.
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 |
Reimplemented in mockpp::ResponseVector6< R, P1, P2, P3, P4, P5, P6 >.
Definition at line 164 of file ResponseVector6.h.