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