Migrating from C style to C++ style of coding in nest plugin 69/19169/2
authorvijendrx <vijendrax.kumar@intel.com>
Wed, 1 Mar 2017 10:42:36 +0000 (16:12 +0530)
committerTodd Malsbary <todd.malsbary@intel.com>
Thu, 27 Apr 2017 16:55:54 +0000 (16:55 +0000)
commitfb29d739f896aa3ed73b940756f0e34354949c7f
tree5509abf97215bfeb3238cb56b384530e867e994a
parent79886a07ef95f0e2f528caa0f53af4369f3a26dc
Migrating from C style to C++ style of coding in nest plugin

Replacing fgets/fputs with fstream equivalents and using std::string
in nest_plugin, wherever applicable.

Change-Id: I5c54556876cc09d1816672a1c30d641856b1c1c7
Signed-off-by: vijendrx <vijendrax.kumar@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17579
Reviewed-by: Joseph Morrow <joseph.l.morrow@intel.com>
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Todd Malsbary <todd.malsbary@intel.com>
(cherry picked from commit f3016c9416863700ab1c161b104ac46005d07296)
Reviewed-on: https://gerrit.iotivity.org/gerrit/19169
Reviewed-by: Uze Choi <uzchoi@samsung.com>
bridging/plugins/nest_plugin/SConscript
bridging/plugins/nest_plugin/nestResource.cpp [moved from bridging/plugins/nest_plugin/nest_resource.cpp with 92% similarity]
bridging/plugins/nest_plugin/nest_objects/nest.cpp
bridging/plugins/nest_plugin/nest_objects/nest.h
bridging/plugins/nest_plugin/nest_objects/nestDefs.h [moved from bridging/plugins/nest_plugin/nest_objects/nest_defs.h with 100% similarity]
bridging/plugins/nest_plugin/nest_objects/nestThermostat.cpp [moved from bridging/plugins/nest_plugin/nest_objects/nest_thermostat.cpp with 98% similarity]
bridging/plugins/nest_plugin/nest_objects/nestThermostat.h [moved from bridging/plugins/nest_plugin/nest_objects/nest_thermostat.h with 98% similarity]