PPL Assignment
IRM2015006
boy.cpp File Reference
#include "boy.h"
Include dependency graph for boy.cpp:

Go to the source code of this file.

Functions

bool compareOnIntelligence (Boy *b1, Boy *b2)
 
bool compareOnAttractiveness (Boy *b1, Boy *b2)
 
bool compareOnRichness (Boy *b1, Boy *b2)
 

Function Documentation

bool compareOnAttractiveness ( Boy b1,
Boy b2 
)

Comparator for sorting on the basis of attractiveness
For sorting in descending order

Definition at line 8 of file boy.cpp.

Here is the caller graph for this function:

bool compareOnIntelligence ( Boy b1,
Boy b2 
)

Comparator for sorting on the basis of intelligence
For sorting in descending order

Definition at line 3 of file boy.cpp.

Here is the caller graph for this function:

bool compareOnRichness ( Boy b1,
Boy b2 
)

Comparator for sorting on the basis of richness
For sorting in descending order

Definition at line 13 of file boy.cpp.

Here is the caller graph for this function: