akmhoque | 5335346 | 2014-04-22 08:43:45 -0500 | [diff] [blame] | 1 | #include <iostream> |
| 2 | #include "conf-parameter.hpp" |
| 3 | |
| 4 | namespace nlsr { |
| 5 | |
| 6 | using namespace std; |
| 7 | |
| 8 | ostream& |
| 9 | operator<<(ostream& os, ConfParameter& cfp) |
| 10 | { |
| 11 | os << "Router Name: " << cfp.getRouterName() << endl; |
| 12 | os << "Site Name: " << cfp.getSiteName() << endl; |
| 13 | os << "Network: " << cfp.getNetwork() << endl; |
| 14 | os << "Router Prefix: " << cfp.getRouterPrefix() << endl; |
| 15 | os << "ChronoSync sync Prifex: " << cfp.getChronosyncSyncPrefix() << endl; |
| 16 | os << "Interest Retry number: " << cfp.getInterestRetryNumber() << endl; |
| 17 | os << "Interest Resend second: " << cfp.getInterestResendTime() << endl; |
| 18 | os << "Info Interest Interval: " << cfp.getInfoInterestInterval() << endl; |
| 19 | os << "LSA refresh time: " << cfp.getLsaRefreshTime() << endl; |
| 20 | os << "Max Faces Per Prefix: " << cfp.getMaxFacesPerPrefix() << endl; |
| 21 | os << "Log Dir: " << cfp.getLogDir() << endl; |
| 22 | os << "Detalied logging: " << cfp.getDetailedLogging() << endl; |
| 23 | os << "Debugging: " << cfp.getDebugging() << endl; |
| 24 | os << "Hyperbolic ROuting: " << cfp.getIsHyperbolicCalc() << endl; |
| 25 | os << "Hyp R: " << cfp.getCorR() << endl; |
| 26 | os << "Hyp theta: " << cfp.getCorTheta() << endl; |
| 27 | os << "Tunnel Type: " << cfp.getTunnelType() << endl; |
| 28 | return os; |
| 29 | } |
| 30 | |
| 31 | } //namespace nlsr |