title: How can one get/print details of a node from its value using yaml-cpp
body: <p>How can I read this YAML file with yaml-cpp:</p>
  <pre><code>sensors:
    - id: 5
      hardwareId: 28-000005a32133
      type: 1
    - id: 6
      hardwareId: 28-000005a32132
      type: 4
  </code></pre>
  <p>How can one get/print details of id = 5 (i.e. type and hardwareID) in a long list of such items efficiently?</p>