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