void InsufficientDimensionsEx::__print_args(std::ostream &os) const
 {
     os << "minWidth: " << getExpWidth() << ", minHeight: " << getExpHeight()
     << "\nWidth: " << getWidth() << ", Height: " << getHeight() << std::endl;
 }
 void OutOfBoundsEx::__print_args(std::ostream &os) const
 {
     os << "maxWidth: " << getExpWidth() << ", maxHeight: " << getExpHeight()
     << "\nWidth: " << getWidth() << ", Height: " << getHeight() << std::endl;
 }
Esempio n. 3
0
	//Out of Bounds Exception Class print arguments
	void OutOfBoundsEx::__print_args(std::ostream &os) const
	{
		os << OutOfBoundsEx::getName() << "(maxWidth=" << getExpWidth() << ", maxHeight=" << getExpHeight()
		<< ", width=" << getWidth() << ", height=" << getHeight() << ")";
	}
Esempio n. 4
0
	//Insufficient Dimensions Exception Class print arguments
	void InsufficientDimensionsEx::__print_args(std::ostream &os) const
	{
		os << InsufficientDimensionsEx::getName() << "(minWidth=" << getExpWidth() << ", minHeight=" << getExpHeight()
		<< ", width=" << getWidth() << ", height=" << getHeight() << ")";
	}
Esempio n. 5
0
 void OutOfBoundsEx::__print_args(std::ostream &os) const {
     os << getName() << ": " << getHeight() << " > " << getExpHeight() << "and/or" << getWidth() << " > " << getExpWidth();
 }
Esempio n. 6
0
 void InsufficientDimensionsEx::__print_args(std::ostream &os) const {
     os << getName() << ": " << getHeight() << " < " << getExpHeight() << "and/or" << getWidth() << " < " << getExpWidth();
 }
Esempio n. 7
0
 void OutOfBoundsEx::__print_args(std::ostream &os) const {
     os << getWidth() << ' ' << getHeight() << " is out of bounds of " << getExpWidth() <<  ' '  << getExpHeight();
 }