Class returning a throwable depending on the parameters passed to a method. More...
Public Member Functions | |
ResponseThrowableVector1 (const String &aName, VerifiableList *parent) | |
Construct a new empty vector. | |
virtual | ~ResponseThrowableVector1 () |
Destroys the vector. | |
void | add (Throwable *throwable, const P1 &p1, unsigned count) |
Adds a throwable. | |
void | add (Throwable *throwable, const ConstraintHolder< P1 > &p1, unsigned count) |
Adds a throwable. | |
void | reset () |
Removes all the objects from the list. | |
bool | find (Throwable *&throwable, const P1 &p1) |
Finds a throwable for a set of parameters. | |
Protected Attributes | |
std::vector< Constraint< P1 > * > | t1vec |
shared internal member |
Class returning a throwable depending on the parameters passed to a method.
Definition at line 46 of file ResponseVector1.h.
mockpp::ResponseThrowableVector1< P1 >::ResponseThrowableVector1 | ( | 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 ResponseVector1.h.
void mockpp::ResponseThrowableVector1< P1 >::add | ( | Throwable * | throwable, | |
const ConstraintHolder< P1 > & | p1, | |||
unsigned | count | |||
) | [inline] |
Adds a throwable.
throwable | the throwable | |
p1 | the parameter 1 upon which to return | |
count | the number of times the object may be used |
Reimplemented in mockpp::ResponseVector1< R, P1 >.
Definition at line 82 of file ResponseVector1.h.
void mockpp::ResponseThrowableVector1< P1 >::add | ( | Throwable * | throwable, | |
const P1 & | p1, | |||
unsigned | count | |||
) | [inline] |
Adds a throwable.
t | the throwable | |
p1 | the parameter 1 upon which to return | |
count | the number of times the object may be used |
Reimplemented in mockpp::ResponseVector1< R, P1 >.
Definition at line 71 of file ResponseVector1.h.
bool mockpp::ResponseThrowableVector1< P1 >::find | ( | Throwable *& | throwable, | |
const P1 & | p1 | |||
) | [inline] |
Finds a throwable for a set of parameters.
t | the throwable | |
p1 | the parameter 1 upon which to return |
Reimplemented in mockpp::ResponseVector1< R, P1 >.
Definition at line 109 of file ResponseVector1.h.