PPL Assignment
IRM2015006
boy.h File Reference
#include "boy_type.h"
#include "../girls/girl.h"
#include "../gifts/gift.h"
#include <iostream>
#include <vector>
Include dependency graph for boy.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Boy
 

Functions

bool compareOnAttractiveness (Boy *b1, Boy *b2)
 
bool compareOnIntelligence (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: